[ Playwright ] Special characters in grep on Linux are rejected
Currently if we execute the test with this reference on Linux:
we will get the following result with the following error message:
Running command: git clone -b main https://gitlab.com/henixdevelopment/open-source/opentestfactory/test-samples/playwright/playwright-doc-params-check
Running command: export PW_TEST_HTML_REPORT_OPEN=never
export PLAYWRIGHT_HTML_REPORT=playwright-report
export PLAYWRIGHT_JUNIT_OUTPUT_NAME=playwright-report/pw_junit_report.xml
npx playwright test playwright-doc-params-check/tests/"params-*" --grep='"Check"' --reporter=html,junit $PLAYWRIGHT_EXTRA_OPTIONS
Error: No tests found.
Make sure that arguments are regular expressions matching test files.
You may need to escape symbols like "$" or "*" and quote the arguments.
(On Windows it is working correctly - for comparison the execution command on Windows is npx playwright test playwright-doc-params-check/tests/"params-*" --grep=""Check"" --reporter=html,junit %PLAYWRIGHT_EXTRA_OPTIONS%)
It seems like the error is coming from the single quotes around the grep.