docs: remove redundant explanation for test.fail.only

This commit is contained in:
Pengoose 2024-10-09 19:43:00 +09:00 committed by pengoosedev
parent c7735ee6d5
commit 4083d54ce7

View file

@ -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: To declare a "failing" test and run only that test:
* `test.fail.only(title, body)` * `test.fail.only(title, body)`
* `test.fail.only(title, details, body)` * `test.fail.only(title, details, body)`