Rayrun
← Back to Discord Forum

test logout all: verify test assert on multiple devices

hi there, I need to run a test case where I:

  • login to multiple devices (different browsers / app) with an account
  • logout the devices via web
  • verify logout on the different devices (different browsers / app)

Is there a way to do this?

This thread is trying to answer question "Is there a way to automate a test case that logs in to an account on multiple devices, logs out from one device, and verifies that all other devices are logged out?"

3 replies

I'm commenting on this so I can follow along and find out as well. But maybe you would open up each browser within one test, and using the context on a single one, log out. Then using the other context(Browsers) navigate to another page and verify the users are logged out?

Or you can log into each device/browser then log out of one browser and verify in the DB that all keys are removed?

well basically we have a one account solution wheres theres a button to logout all devices. Thats what I need to verify

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 [email protected].