Closed aletzal closed 9 hours ago
hi there on your machine, do you have path: '/usr/src/app/.allure'? if not, then you have correct behaviour (and the error message says so: could not parse test plan /usr/src/app/.allure/testplan.json Error: ENOENT: no such file or directory, open '/usr/src/app/.allure/testplan.json').
for local executions you need to do as follows:
export ALLURE_TESTPLAN_PATH=./testplan.json
then execute your command for running the tests.
See here: https://allurereport.org/docs/playwright/#select-tests-via-a-test-plan-file
When running in GL, we recommend using x64 version not 386 as all images and linux VMs are 64 bits not 32 bits
Hi! Thanks for the answer
Found changes, this error has been all time, but it was added console log from v3.0.0-beta.8
So, it's just like permanent warning, we can close this issue, thanks!
Describe the bug
Problem occures on Gitlab CI when using allurectl_linux_386 (2.15.1)
(it can be reproduced locally, just add to env
GITLAB_CI=true
)Typescript + Playwright
To Reproduce Steps to reproduce the behavior:
"allure-playwright": "3.0.5"
allurectl watch -- npx playwright test
Expected behavior NO exceptions related to
testplan.json
in logsActual behavior
Additional context
ALLURE_TESTPLAN_PATH
inSession variables
ALLURE_TESTPLAN_PATH
is not set in environment variablev3.0.5 - ERROR ... v3.0.0-beta.8 - ERROR v3.0.0-beta.7 - OK