Playwright · Senior · Question 58 of 77

How should a team handle tests that need many minutes, like big imports?

Show the answer

Correct answer: Test the logic lower; keep one E2E with test.slow() or a tag

Explanation

A long E2E test slows every run. Unit and API tests cover the variations; a tagged E2E can run nightly.

Further reading

Problem with a question

Playwright · Senior · question 58

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