Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

Add canonical screenshots for firefox with webdriver bidi for screenshot element tests (#34289)

Alexandra Borovova2afe287a817e
diff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-bidi-firefox-nightly.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-bidi-firefox-nightly.png
new file mode 100644
index 0000000000..c2c3ddca29
Binary files /dev/null and b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-bounding-box-bidi-firefox-nightly.png differ
diff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-bidi-firefox-nightly.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-bidi-firefox-nightly.png
new file mode 100644
index 0000000000..35c53377f9
Binary files /dev/null and b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-bidi-firefox-nightly.png differ
diff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-offset-bidi-firefox-nightly.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-offset-bidi-firefox-nightly.png
new file mode 100644
index 0000000000..f554b1d62c
Binary files /dev/null and b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-fractional-offset-bidi-firefox-nightly.png differ
diff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-larger-than-viewport-bidi-firefox-nightly.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-larger-than-viewport-bidi-firefox-nightly.png
new file mode 100644
index 0000000000..6d28cddcea
Binary files /dev/null and b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-larger-than-viewport-bidi-firefox-nightly.png differ
diff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-padding-border-bidi-firefox-nightly.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-padding-border-bidi-firefox-nightly.png
new file mode 100644
index 0000000000..fc34319896
Binary files /dev/null and b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-padding-border-bidi-firefox-nightly.png differ
diff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-rotate-bidi-firefox-nightly.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-rotate-bidi-firefox-nightly.png
new file mode 100644
index 0000000000..5aab14c4b9
Binary files /dev/null and b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-rotate-bidi-firefox-nightly.png differ
diff --git a/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-scrolled-into-view-bidi-firefox-nightly.png b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-scrolled-into-view-bidi-firefox-nightly.png
new file mode 100644
index 0000000000..fc34319896
Binary files /dev/null and b/tests/page/elementhandle-screenshot.spec.ts-snapshots/screenshot-element-scrolled-into-view-bidi-firefox-nightly.png differ
diff --git a/tests/page/expect-matcher-result.spec.ts-snapshots/screenshot-sanity-bidi-firefox-nightly.png b/tests/page/expect-matcher-result.spec.ts-snapshots/screenshot-sanity-bidi-firefox-nightly.png
new file mode 100644
index 0000000000..122a4f0ae0
Binary files /dev/null and b/tests/page/expect-matcher-result.spec.ts-snapshots/screenshot-sanity-bidi-firefox-nightly.png differ
diff --git a/tests/page/locator-misc-2.spec.ts-snapshots/screenshot-element-bounding-box-bidi-firefox-nightly.png b/tests/page/locator-misc-2.spec.ts-snapshots/screenshot-element-bounding-box-bidi-firefox-nightly.png
new file mode 100644
index 0000000000..9e208f86d8
Binary files /dev/null and b/tests/page/locator-misc-2.spec.ts-snapshots/screenshot-element-bounding-box-bidi-firefox-nightly.png differ
diff --git a/tests/page/page-add-locator-handler.spec.ts-snapshots/screenshot-grid-bidi-firefox-nightly.png b/tests/page/page-add-locator-handler.spec.ts-snapshots/screenshot-grid-bidi-firefox-nightly.png
new file mode 100644
index 0000000000..7b16493355
Binary files /dev/null and b/tests/page/page-add-locator-handler.spec.ts-snapshots/screenshot-grid-bidi-firefox-nightly.png differ