Skip to content

Commit

Permalink
docs: remove redundant explanation for test.fail.only
Browse files Browse the repository at this point in the history
  • Loading branch information
pengooseDev committed Oct 9, 2024
1 parent 9941ef0 commit dbaf553
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/src/test-api/class-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)`
Expand Down

0 comments on commit dbaf553

Please sign in to comment.