Rayrun
← Back to Discord Forum

How to make independent scenarios (playwright TS)?

Hello! i have an issue please! I work with playwright with TS and have a list of features ( 7 scenarios) If one step in a scenario is failed the other scenarios fail! 😫

Capture.PNG

This thread is trying to answer question "How can I make my scenarios independent in Playwright with TypeScript so that if one step fails, the other scenarios do not fail as well?"

1 reply

Hi! Can you provide any additional information? Are your scenarios dependent on each other? Are your tests using test isolation (https://playwright.dev/docs/browser-contexts) or are they sharing browser contexts?

Related Discord Threads

TwitterGitHubLinkedIn
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.