Skip to content

Commit

Permalink
Update docs/testing/webdriverio/02-unit-testing.md
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Pote <[email protected]>
  • Loading branch information
christian-bromann and alicewriteswrongs committed Feb 13, 2024
1 parent c307890 commit 4187d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/testing/webdriverio/02-unit-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Missing an `await` can be a simple oversight and can cause us long hours of debu
### Matchers
WebdriverIO provides their own matchers to assert an element in various ways. We recommend to use them over synchronous matchers like `toBe` or `toEqual` as they allow for retries and make your tests more resilient against flakiness.
WebdriverIO provides their own matchers to make various assertions about an element. We recommend these over synchronous matchers like `toBe` or `toEqual` as they allow for retries and make your tests more resilient against flakiness.
For example, instead of asserting the content of a component like this:
Expand Down

0 comments on commit 4187d7c

Please sign in to comment.