Skip to content

Commit

Permalink
[DOCS] screenshot/video limitation (#3657)
Browse files Browse the repository at this point in the history
* [DOCS] screenshot/video limitation

* Update docs/en/observability/synthetics-create-test.asciidoc

---------

Co-authored-by: Brandon Morelli <[email protected]>
  • Loading branch information
lucabelluccini and bmorelli25 authored Mar 8, 2024
1 parent f0aaadd commit 8de692f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/en/observability/synthetics-create-test.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,11 @@ in Elastic Synthetics including:
* https://playwright.dev/docs/api/class-video[Videos]
* The https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-have-screenshot-1[`toHaveScreenshot`] and https://playwright.dev/docs/api/class-snapshotassertions[`toMatchSnapshot`] assertions

[NOTE]
====
Captures done programmatically via https://playwright.dev/docs/api/class-page#page-screenshot[`screenshot`] or https://playwright.dev/docs/api/class-page#page-video[`video`] are not stored and are not shown in the Synthetics application. Providing a `path` will likely make the monitor fail due to missing permissions to write local files.
====

[discrete]
[[synthetics-make-assertions]]
= Make assertions
Expand Down

0 comments on commit 8de692f

Please sign in to comment.