Hello, I have a mono-repo in which I have a package with the configuration and the playwright tests.
packages/ ├── common │ ├── package.json │ ├── src │ ├── tsconfig.json │ └── vitest.config.ts ├── playwright-my-reporter │ ├── package.json │ ├── src │ ├── tsconfig.json │ └── vitest.config.ts └── smoke-test ├── docs ├── package.json ├── playwright.config.ts ├── src └── vitest.config.ts
The vscode plugin doesn't list tests. I think it's looking for the configuration file at the root of the project.
Is my analysis correct? And how can I tell it to work in the
This thread is trying to answer question "Is the VSCode plugin looking for the configuration file at the root of the project and how can it be made to work in the '/packages/smoke-test' path?"
issue opened : https://github.com/microsoft/playwright/issues/23924
Are there any errors in your JS/TS? The vs code plugin is really sensitive if you have any errors in your project. When i write a lot of code without running for a while, easy to get some error somewhere and may take a while to find it, but once the code is good, some times i need to restart the Typescript TS Server as well, then i'll see all my tests.
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email firstname.lastname@example.org.