Invalid args applied to npx playwright test
Hi there!
First of all, thanks for making this adapter! I've got the installation and config down, and I can now correctly see my tests in the test summary. However, when I actually run the tests, I can see the following in the test output:
npx playwright test --no-coverage --testLocationInResults --verbose --json --outputFile=/var/folders/5t/wrvwpv150cq3b9c_2gpn 04 page$' --forceExit /<path-to-my-test-file.spec.ts>
This causes playwright to throw an error: error: unknown option '--no-coverage'. I get the same error if I copy and paste this command myself. In testing, actually none of the args are valid args.
I checked the Playwright command line docs, and couldn't find those args either.
Perhaps you can help enlighten me as to what is happening? I have l a very simple setup, and didn't set up any of those args in the config of neotest/this adapter myself.
Hi!
It seems these flags are from neotest-jest.
But it's difficult to say exactly how they ended up being passed to playwright, or more importantly, how to fix it, without knowing more about the config/project structure.