Hi,
A test suite I am working on is set at the config level to be fully parallel. But I have a requirement to have tests in one file run in order. I do not want to mark this file to run in serial mode because a failure in the first test would cause the 2nd test to skip.
Is there a way to run fully parallel but exclude a spec file from doing that?
This thread is trying to answer question "Is there a way to run a test suite fully in parallel but exclude a spec file from doing that without causing subsequent tests to fail if one test fails?"
yeah... add serial() to the describe, which should be run in a order - test.describe.seria(...) have a look here -> https://playwright.dev/docs/next/test-retries#serial-mode
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 [email protected].