Skip to content

Commit

Permalink
clarify what's not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
colleenmcginnis authored Oct 19, 2023
1 parent 4898a2c commit e31b035
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/en/observability/synthetics-create-test.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,10 @@ in Elastic Synthetics including:
A more complex `step` might wait for a page element to be selected
and then make sure that it matches an expected value.

Elastic Synthetics uses `@playwright/test`'s `expect` function to make assertions and
supports all https://playwright.dev/docs/test-assertions[Playwright assertions] _except_
`toHaveScreenshot` and `toMatchSnapshot`.
Elastic Synthetics uses `@playwright/test`'s `expect` function to make assertions
and supports most https://playwright.dev/docs/test-assertions[Playwright assertions].
Elastic Synthetics does _not_ support https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-have-screenshot-1[`toHaveScreenshot`]
or any https://playwright.dev/docs/api/class-snapshotassertions[Snapshot Assertions].

For example, on a page using the following HTML:

Expand Down

0 comments on commit e31b035

Please sign in to comment.