Playwright · Junior · Question 42 of 75

What does test.skip() do?

Show the answer

Correct answer: Skips the test, so it doesn't run

Explanation

test.skip can be unconditional or conditional, e.g. test.skip(browserName === 'webkit', 'not supported').

Further reading

Problem with a question

Playwright · Junior · question 42

Test yourself

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

Take this quiz