Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Added reference images for mac chromium & firefox

Thomas Cariello2c60c69fba34
diff --git a/e2e/features/classification/classification-test.spec.js b/e2e/features/classification/classification-test.spec.js
index 682263419..76c2e4fbe 100644
--- a/e2e/features/classification/classification-test.spec.js
+++ b/e2e/features/classification/classification-test.spec.js
@@ -1,4 +1,10 @@
// @ts-check
+/* These tests take a screenshots & compare the image output to an existing reference image in the /classification-test.spec.js-snapshots directory. There are reference images for various platforms.
+toHaveScreenshot() will create a reference image if it doesn't already exist. So, if you need to
+generate any new reference images simply delete the old ones & run this test again on both windows &
+Mac to generate the required reference images for all platforms.
+*/
+
const { test, expect } = require('@playwright/test')
let page
diff --git a/e2e/features/classification/classification-test.spec.js-snapshots/all-colors-chromium-darwin.png b/e2e/features/classification/classification-test.spec.js-snapshots/all-colors-chromium-darwin.png
new file mode 100644
index 000000000..7556c8e15
Binary files /dev/null and b/e2e/features/classification/classification-test.spec.js-snapshots/all-colors-chromium-darwin.png differ
diff --git a/e2e/features/classification/classification-test.spec.js-snapshots/all-colors-firefox-darwin.png b/e2e/features/classification/classification-test.spec.js-snapshots/all-colors-firefox-darwin.png
new file mode 100644
index 000000000..b4e82aeb3
Binary files /dev/null and b/e2e/features/classification/classification-test.spec.js-snapshots/all-colors-firefox-darwin.png differ
diff --git a/e2e/features/classification/classification-test.spec.js-snapshots/gray-and-blue-chromium-darwin.png b/e2e/features/classification/classification-test.spec.js-snapshots/gray-and-blue-chromium-darwin.png
new file mode 100644
index 000000000..f868c0392
Binary files /dev/null and b/e2e/features/classification/classification-test.spec.js-snapshots/gray-and-blue-chromium-darwin.png differ
diff --git a/e2e/features/classification/classification-test.spec.js-snapshots/gray-and-blue-firefox-darwin.png b/e2e/features/classification/classification-test.spec.js-snapshots/gray-and-blue-firefox-darwin.png
new file mode 100644
index 000000000..2d5a40fd3
Binary files /dev/null and b/e2e/features/classification/classification-test.spec.js-snapshots/gray-and-blue-firefox-darwin.png differ
diff --git a/e2e/features/classification/classification-test.spec.js-snapshots/only-gray-chromium-darwin.png b/e2e/features/classification/classification-test.spec.js-snapshots/only-gray-chromium-darwin.png
new file mode 100644
index 000000000..b641e8940
Binary files /dev/null and b/e2e/features/classification/classification-test.spec.js-snapshots/only-gray-chromium-darwin.png differ
diff --git a/e2e/features/classification/classification-test.spec.js-snapshots/only-gray-firefox-darwin.png b/e2e/features/classification/classification-test.spec.js-snapshots/only-gray-firefox-darwin.png
new file mode 100644
index 000000000..9a305651d
Binary files /dev/null and b/e2e/features/classification/classification-test.spec.js-snapshots/only-gray-firefox-darwin.png differ