Stuart Russell
Stuart Russell

Reputation: 1

On the command line, npx playwright test -g "test name" gives "no tests found", but Test Explorer sees it

In VSCode, the Test Explorer can see tests. I can Run Test, Debug Test, and Go To Test. But when I try to run the same test from the command line, it says "no tests found."

% npx playwright test -g "do something neato"
Running 0 tests using 0 workers
=================
 no tests found.
=================

1

Upvotes: 0

Views: 1369

Answers (1)

Doody
Doody

Reputation: 1

Sometimes updating the test list ist necessary when you edited the test Script!

Upvotes: 0

Related Questions