Authentication

Your task

👨‍💼 In this exercise, your task is to set up authentication for tests. To achieve that, you will be using a library called Playwright Persona. Please take a moment to read about it before continuing.
🐨 Start by installing playwright-persona as a dependency in your project:
npm i playwright-persona -D
🐨 Next, head to and follow the instructions to define user personas.
🐨 Once you've defined the user persona and created the authenticate() fixture, continue to the test suite and finish the test case here.
Verify your solution by running the tests (npm test). The tests must pass!

Please set the playground first

Loading "Authentication"
Loading "Authentication"