← Back to Discord Forum

Playwright test failed when i run npx playwright test but passed in VS code playwright extension

thestructionposted in #help-playwright
Open in Discord

Hello, some of my tests are failing when i run npx playwright test on terminal but all passed VS code playwright extension.


This thread is trying to answer question "Why do some Playwright tests fail due to timeouts when run all at once in the terminal but pass when run individually or with the VS Code Playwright extension?"

3 replies

When i run test file one at a time using npm playwright test on terminal, it will passed, but when i run all the test at once some will fail due to timeout.

all passed when i ran the test file alone


Related Discord Threads

AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

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 luc@ray.run.