You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each playwright.config.ts file has grep: testPlanFilter(), added according to the documentation (https://github.com/allure-framework/allure-js/blob/main/packages/allure-playwright/README.md#selective-test-execution) but every time I try to selectively run tests on either CICD or locally (through the testplan.json file) I'm always getting the error "Error: No tests found". It seems like somehow the parsing of tests selectors does not work as expected. Any help, advice or some information would be really appreciated, thx.
To Reproduce
Steps to reproduce the behavior:
Use playwright framework
Try to organize the test the way described above
Try to run tests locally through the testplan.json
Expected behavior
Tests are running as expected
Additional context
pw version: "@playwright/test": "^1.41.0",
The content of "testplan.json" is the following: {"version":"1.0","tests":[{"id":123,"selector":"tests/tests.spec.ts#smth from describe GIVEN smth WHEN smth THEN smth"}]}
The text was updated successfully, but these errors were encountered:
I managed to reproduce the issue on a dummy project that I attached.
This project contains two folders "project1" and "project2". Each "project" folder has its own "tests" folder and playwright.config.ts respectively.
Also I pasted testplan.json file in both root and "project1" directories. Attempt to run test using testplan.json from both root and "project1" repository had no luck. test_project.zip
Describe the bug
In my project repository tests are organized the following way:
Each playwright.config.ts file has
grep: testPlanFilter(),
added according to the documentation (https://github.com/allure-framework/allure-js/blob/main/packages/allure-playwright/README.md#selective-test-execution) but every time I try to selectively run tests on either CICD or locally (through the testplan.json file) I'm always getting the error "Error: No tests found". It seems like somehow the parsing of tests selectors does not work as expected. Any help, advice or some information would be really appreciated, thx.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Tests are running as expected
Additional context
pw version: "@playwright/test": "^1.41.0",
The content of "testplan.json" is the following:
{"version":"1.0","tests":[{"id":123,"selector":"tests/tests.spec.ts#smth from describe GIVEN smth WHEN smth THEN smth"}]}
The text was updated successfully, but these errors were encountered: