Playwright · Senior · Question 11 of 77

Why can a saved storageState make tests fail days later?

Show the answer

Correct answer: Sessions or tokens in it expire

Explanation

Generate storage state in a setup project on every run instead of committing it. Then expired sessions don't matter.

Further reading

Problem with a question

Playwright · Senior · question 11

Test yourself

Take the Playwright · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz