Rayrun
← Back to Discord Forum

Mount component on new context?

I would like to create a spec file with 2 different contexts so I can run tests as 2 different users that are interacting with each other. How can I mount a component on each context and easily switch between the contexts?

This thread is trying to answer question "How can I mount a component on each context and easily switch between the contexts in a spec file?"

1 reply

Don't think you'll be able to do the "interacting with each other"... https://playwright.dev/docs/writing-tests#test-isolation

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.