So I just created a new project using Playwright version 1.17.132
and I am having the following issue:
I just added a new spec file exercise1.spec.ts
; for some reason, it is not appearing in UI Mode and is also not running when I use npx playwright test
. I also noticed that if I added new code to the example.spec.ts
file, which is the default file, that file disappears from UI mode, but when the default code is added back, the spec appears again. My path is correctly set up in the configuration file: testDir: './tests',
. I am not sure what else to look at. Can someone tell me what could be occurring or what else I should look at?