This thread is trying to answer question "Is it possible to authenticate once for multiple tests in multiple test files?"
I have a globalSetup file that is run before my tests. https://playwright.dev/docs/test-global-setup-teardown
I wrote a Medium artcle about it. https://medium.com/@dadamschi/preserve-authenticated-aws-cognito-state-in-playwright-822d01817989
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].