Skip to content

Commit

Permalink
Merge pull request #81 from ideadapt/patch-1
Browse files Browse the repository at this point in the history
fix typos in writing-steps.md
  • Loading branch information
vitalets authored Jan 7, 2024
2 parents a386521 + 91b4059 commit 74b4d2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/writing-steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ See [full example of Playwright-style](https://github.com/vitalets/playwright-bd
### Accessing `test` and `testInfo`
You can access [`test`](https://playwright.dev/docs/api/class-test) and [`testInfo`](https://playwright.dev/docs/api/class-testinfo) in step body using special fixtures `$test` and `$testInfo` respectively. It allows to:

* increate test timeout
* increase test timeout
* conditionally skip tests
* attach screenshots
* ...etc
Expand Down Expand Up @@ -118,7 +118,7 @@ Given('I do something', async ({ $tags }) => {

> Special tags `@only`, `@skip` and `@fixme` are excluded from `$tags` to avoid impact on test during debug

The most powerfull usage of `$tags` is in your custom fixtures.
The most powerful usage of `$tags` is in your custom fixtures.

##### Example 1
Run scenarios with `@firefox` tag only in Firefox:
Expand Down

0 comments on commit 74b4d2f

Please sign in to comment.