← Back to Discord Forum

Playwright testing with electron serial

I have three test files: test1.spec.ts test2.spec.ts test3.spec.ts I want to run these three tests in serial and by opening the electron app only once. Is there a way of doing this? I read about test list in the documentation but it closes and opens the app after every test.describe

This thread is trying to answer question "How can I run multiple Playwright test files in serial while opening the Electron app only once?"

1 reply

Include the three test in describe block and add serial ie. test.describe.serial("Description")

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.