From d2e1f6a57d7a6343f861be0d026db84dcd970d7d Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 17 Jan 2025 10:06:29 +0000 Subject: [PATCH] feat(roll): roll to 1.49 Playwright --- .../version-stable/api/class-locatorassertions.mdx | 4 ++-- .../version-stable/api/class-pageassertions.mdx | 4 ++-- .../version-stable/api/class-snapshotassertions.mdx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nodejs/versioned_docs/version-stable/api/class-locatorassertions.mdx b/nodejs/versioned_docs/version-stable/api/class-locatorassertions.mdx index ad79a5dccde..18226f6f5b6 100644 --- a/nodejs/versioned_docs/version-stable/api/class-locatorassertions.mdx +++ b/nodejs/versioned_docs/version-stable/api/class-locatorassertions.mdx @@ -732,9 +732,9 @@ Note that screenshot assertions only work with Playwright test runner. --- -### toHaveScreenshot() {#locator-assertions-to-have-screenshot-2} +### toHaveScreenshot(options) {#locator-assertions-to-have-screenshot-2} -Added in: v1.23locatorAssertions.toHaveScreenshot() +Added in: v1.23locatorAssertions.toHaveScreenshot(options) This function will wait until two consecutive locator screenshots yield the same result, and then compare the last screenshot with the expectation. diff --git a/nodejs/versioned_docs/version-stable/api/class-pageassertions.mdx b/nodejs/versioned_docs/version-stable/api/class-pageassertions.mdx index af2adfffb67..0769c76fe91 100644 --- a/nodejs/versioned_docs/version-stable/api/class-pageassertions.mdx +++ b/nodejs/versioned_docs/version-stable/api/class-pageassertions.mdx @@ -106,9 +106,9 @@ Note that screenshot assertions only work with Playwright test runner. --- -### toHaveScreenshot() {#page-assertions-to-have-screenshot-2} +### toHaveScreenshot(options) {#page-assertions-to-have-screenshot-2} -Added in: v1.23pageAssertions.toHaveScreenshot() +Added in: v1.23pageAssertions.toHaveScreenshot(options) This function will wait until two consecutive page screenshots yield the same result, and then compare the last screenshot with the expectation. diff --git a/nodejs/versioned_docs/version-stable/api/class-snapshotassertions.mdx b/nodejs/versioned_docs/version-stable/api/class-snapshotassertions.mdx index 00e170ab215..c1c6b790bc8 100644 --- a/nodejs/versioned_docs/version-stable/api/class-snapshotassertions.mdx +++ b/nodejs/versioned_docs/version-stable/api/class-snapshotassertions.mdx @@ -69,9 +69,9 @@ Note that matching snapshots only work with Playwright test runner. --- -### toMatchSnapshot() {#snapshot-assertions-to-match-snapshot-2} +### toMatchSnapshot(options) {#snapshot-assertions-to-match-snapshot-2} -Added in: v1.22snapshotAssertions.toMatchSnapshot() +Added in: v1.22snapshotAssertions.toMatchSnapshot(options) :::caution