vim-test / vim-test

Run your tests at the speed of thought

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running `TestNearest` for playwright tests does not run any tests.

IzumiSy opened this issue · comments

Results that running a TestNearest test cases expect for playwright does not actually run any tests at all.

Example

https://github.com/vim-test/vim-test/blob/master/spec/playwright_spec.vim#L22

$ npx playwright test -g '^Math' __tests__/normal-test.js

Running 0 test using 0 worker


=================
no tests found.
=================

https://github.com/vim-test/vim-test/blob/master/spec/playwright_spec.vim#L27

$ npx playwright test -g '^Math Addition' __tests__/normal-test.js

Running 0 test using 0 worker


=================
no tests found.
=================

https://github.com/vim-test/vim-test/blob/master/spec/playwright_spec.vim#L32

$ npx playwright test -g '^Math Addition adds two numbers$' __tests__/normal-test.js

Running 0 test using 0 worker


=================
 no tests found.
=================

Because of this, TestNearest does not work for playwright runner.