diff --git a/test/fixtures/app/doc/screenshots/linux/cuprite/index-without-img-crop-by-selector.png b/test/fixtures/app/doc/screenshots/linux/cuprite/index-without-img-crop-by-selector.png new file mode 100644 index 00000000..fe9296b3 Binary files /dev/null and b/test/fixtures/app/doc/screenshots/linux/cuprite/index-without-img-crop-by-selector.png differ diff --git a/test/fixtures/app/doc/screenshots/linux/cuprite/index-without-img-crop-with-skip-area.png b/test/fixtures/app/doc/screenshots/linux/cuprite/index-without-img-crop-with-skip-area.png new file mode 100644 index 00000000..fe9296b3 Binary files /dev/null and b/test/fixtures/app/doc/screenshots/linux/cuprite/index-without-img-crop-with-skip-area.png differ diff --git a/test/fixtures/app/doc/screenshots/linux/selenium_chrome_headless/index-without-img-crop-by-selector.png b/test/fixtures/app/doc/screenshots/linux/selenium_chrome_headless/index-without-img-crop-by-selector.png new file mode 100644 index 00000000..68cff241 Binary files /dev/null and b/test/fixtures/app/doc/screenshots/linux/selenium_chrome_headless/index-without-img-crop-by-selector.png differ diff --git a/test/fixtures/app/doc/screenshots/linux/selenium_chrome_headless/index-without-img-crop-with-skip-area.png b/test/fixtures/app/doc/screenshots/linux/selenium_chrome_headless/index-without-img-crop-with-skip-area.png new file mode 100644 index 00000000..68cff241 Binary files /dev/null and b/test/fixtures/app/doc/screenshots/linux/selenium_chrome_headless/index-without-img-crop-with-skip-area.png differ diff --git a/test/fixtures/app/doc/screenshots/linux/selenium_headless/index-without-img-crop-by-selector.png b/test/fixtures/app/doc/screenshots/linux/selenium_headless/index-without-img-crop-by-selector.png new file mode 100644 index 00000000..bda68f47 Binary files /dev/null and b/test/fixtures/app/doc/screenshots/linux/selenium_headless/index-without-img-crop-by-selector.png differ diff --git a/test/fixtures/app/doc/screenshots/linux/selenium_headless/index-without-img-crop-with-skip-area.png b/test/fixtures/app/doc/screenshots/linux/selenium_headless/index-without-img-crop-with-skip-area.png new file mode 100644 index 00000000..bda68f47 Binary files /dev/null and b/test/fixtures/app/doc/screenshots/linux/selenium_headless/index-without-img-crop-with-skip-area.png differ diff --git a/test/fixtures/app/doc/screenshots/macos/cuprite/index-without-img-crop-by-selector.png b/test/fixtures/app/doc/screenshots/macos/cuprite/index-without-img-crop-by-selector.png new file mode 100644 index 00000000..615653f6 Binary files /dev/null and b/test/fixtures/app/doc/screenshots/macos/cuprite/index-without-img-crop-by-selector.png differ diff --git a/test/fixtures/app/doc/screenshots/macos/cuprite/index-without-img-crop-with-skip-area.png b/test/fixtures/app/doc/screenshots/macos/cuprite/index-without-img-crop-with-skip-area.png new file mode 100644 index 00000000..615653f6 Binary files /dev/null and b/test/fixtures/app/doc/screenshots/macos/cuprite/index-without-img-crop-with-skip-area.png differ diff --git a/test/fixtures/app/doc/screenshots/macos/selenium_chrome_headless/index-without-img-crop-by-selector.png b/test/fixtures/app/doc/screenshots/macos/selenium_chrome_headless/index-without-img-crop-by-selector.png new file mode 100644 index 00000000..d1fa4f38 Binary files /dev/null and b/test/fixtures/app/doc/screenshots/macos/selenium_chrome_headless/index-without-img-crop-by-selector.png differ diff --git a/test/fixtures/app/doc/screenshots/macos/selenium_chrome_headless/index-without-img-crop-with-skip-area.png b/test/fixtures/app/doc/screenshots/macos/selenium_chrome_headless/index-without-img-crop-with-skip-area.png new file mode 100644 index 00000000..d1fa4f38 Binary files /dev/null and b/test/fixtures/app/doc/screenshots/macos/selenium_chrome_headless/index-without-img-crop-with-skip-area.png differ diff --git a/test/fixtures/app/doc/screenshots/macos/selenium_headless/index-without-img-crop-by-selector.png b/test/fixtures/app/doc/screenshots/macos/selenium_headless/index-without-img-crop-by-selector.png new file mode 100644 index 00000000..556025a7 Binary files /dev/null and b/test/fixtures/app/doc/screenshots/macos/selenium_headless/index-without-img-crop-by-selector.png differ diff --git a/test/fixtures/app/doc/screenshots/macos/selenium_headless/index-without-img-crop-with-skip-area.png b/test/fixtures/app/doc/screenshots/macos/selenium_headless/index-without-img-crop-with-skip-area.png new file mode 100644 index 00000000..556025a7 Binary files /dev/null and b/test/fixtures/app/doc/screenshots/macos/selenium_headless/index-without-img-crop-with-skip-area.png differ diff --git a/test/integration/browser_screenshot_test.rb b/test/integration/browser_screenshot_test.rb index da4fda76..eb5273e1 100644 --- a/test/integration/browser_screenshot_test.rb +++ b/test/integration/browser_screenshot_test.rb @@ -126,7 +126,7 @@ def test_screenshot_selected_element skip "we record screenshots only in" end - assert_matches_screenshot("index-without-img-cropped", crop: "form") + assert_matches_screenshot("index-without-img-crop-by-selector", crop: "form") assert_no_screenshot_errors end @@ -197,7 +197,7 @@ def test_screenshot_selected_element visit "/index-without-img.html" fill_in "First Field:", with: "Test Input With Hide Caret" - assert_matches_screenshot("index-without-img-cropped", skip_area: "input", crop: "form") + assert_matches_screenshot("index-without-img-crop-with-skip-area", skip_area: "input", crop: "form") assert_no_screenshot_errors end