From 4083d54ce7301ea5cb34f326c40870a12698a23a Mon Sep 17 00:00:00 2001 From: Pengoose Date: Wed, 9 Oct 2024 19:43:00 +0900 Subject: [PATCH] docs: remove redundant explanation for test.fail.only --- docs/src/test-api/class-test.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/src/test-api/class-test.md b/docs/src/test-api/class-test.md index c0c3644091..83d307c485 100644 --- a/docs/src/test-api/class-test.md +++ b/docs/src/test-api/class-test.md @@ -1096,8 +1096,6 @@ test('less readable', async ({ page }) => { }); ``` -You can use `test.fail.only` to focus on a specific test that is expected to fail. This is particularly useful when debugging a failing test or working on a specific issue. - To declare a "failing" test and run only that test: * `test.fail.only(title, body)` * `test.fail.only(title, details, body)`