Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

updated test urls

Tom Cariellobda81117b99a
diff --git a/e2e/features/classification/classification-test.spec.js b/e2e/features/classification/classification-test.spec.js
index 2d490effc..682263419 100644
--- a/e2e/features/classification/classification-test.spec.js
+++ b/e2e/features/classification/classification-test.spec.js
@@ -2,24 +2,24 @@
const { test, expect } = require('@playwright/test')
let page
-const floodOnlyGrayUrl = 'http://localhost:3000/?l=MODIS_Combined_Flood_2-Day(disabled=3-0)&lg=true&t=2023-12-07-T18%3A49%3A23Z'
-const floodGrayAndBlueUrl = 'http://localhost:3000/?l=MODIS_Combined_Flood_2-Day(disabled=3-1)&lg=true&t=2023-12-07-T18%3A49%3A23Z'
-const floodAllColorsUrl = 'http://localhost:3000/?v=40.26574028225701,22.7438297693855,53.256765605078826,33.4181513838979&l=MODIS_Combined_Flood_2-Day&lg=true&t=2023-01-07-T18%3A49%3A23Z'
+const floodOnlyGrayUrl = 'http://localhost:3000/?v=-141,-32,21,66&df=true&l=MODIS_Combined_Flood_2-Day(disabled=3-0)&lg=true&t=2023-12-07-T18%3A49%3A23Z'
+const floodGrayAndBlueUrl = 'http://localhost:3000/?v=-139,-44,23,54&df=true&l=MODIS_Combined_Flood_2-Day(disabled=3-1)&lg=true&t=2023-12-07-T18%3A49%3A23Z'
+const floodAllColorsUrl = 'http://localhost:3000/?v=40,22,53,33&df=true&l=MODIS_Combined_Flood_2-Day&lg=true&t=2023-01-07-T18%3A49%3A23Z'
test.describe.configure({ mode: 'serial' })
-test.beforeAll(async ({ browser }) => {
+test.beforeEach(async ({ browser }) => {
page = await browser.newPage()
})
-test.afterAll(async () => {
+test.afterEach(async () => {
await page.close()
})
test('Flood 2 Day only Gray', async () => {
await page.goto(floodOnlyGrayUrl)
await page.waitForLoadState('load')
- await page.waitForTimeout(3000)
+ await page.waitForTimeout(5000)
await expect(page).toHaveScreenshot('only-gray.png', {
fullPage: true,
@@ -30,7 +30,7 @@ test('Flood 2 Day only Gray', async () => {
test('Flood 2 Day Gray & Blue', async () => {
await page.goto(floodGrayAndBlueUrl)
await page.waitForLoadState('load')
- await page.waitForTimeout(3000)
+ await page.waitForTimeout(5000)
await expect(page).toHaveScreenshot('gray-and-blue.png', {
fullPage: true,
@@ -41,7 +41,7 @@ test('Flood 2 Day Gray & Blue', async () => {
test('Flood 2 Day All Colors', async () => {
await page.goto(floodAllColorsUrl)
await page.waitForLoadState('load')
- await page.waitForTimeout(3000)
+ await page.waitForTimeout(5000)
await expect(page).toHaveScreenshot('all-colors.png', {
fullPage: true,
diff --git a/e2e/features/classification/classification-test.spec.js-snapshots/all-colors-chromium-win32.png b/e2e/features/classification/classification-test.spec.js-snapshots/all-colors-chromium-win32.png
index 5296f93f4..ff8b66e7e 100644
Binary files a/e2e/features/classification/classification-test.spec.js-snapshots/all-colors-chromium-win32.png and b/e2e/features/classification/classification-test.spec.js-snapshots/all-colors-chromium-win32.png differ
diff --git a/e2e/features/classification/classification-test.spec.js-snapshots/all-colors-firefox-win32.png b/e2e/features/classification/classification-test.spec.js-snapshots/all-colors-firefox-win32.png
index 82f4a1ab7..dd6c4d3c5 100644
Binary files a/e2e/features/classification/classification-test.spec.js-snapshots/all-colors-firefox-win32.png and b/e2e/features/classification/classification-test.spec.js-snapshots/all-colors-firefox-win32.png differ
diff --git a/e2e/features/classification/classification-test.spec.js-snapshots/gray-and-blue-chromium-win32.png b/e2e/features/classification/classification-test.spec.js-snapshots/gray-and-blue-chromium-win32.png
index aafdb6909..c2b8c6990 100644
Binary files a/e2e/features/classification/classification-test.spec.js-snapshots/gray-and-blue-chromium-win32.png and b/e2e/features/classification/classification-test.spec.js-snapshots/gray-and-blue-chromium-win32.png differ
diff --git a/e2e/features/classification/classification-test.spec.js-snapshots/gray-and-blue-firefox-win32.png b/e2e/features/classification/classification-test.spec.js-snapshots/gray-and-blue-firefox-win32.png
index ea04e6ce8..be341fc3c 100644
Binary files a/e2e/features/classification/classification-test.spec.js-snapshots/gray-and-blue-firefox-win32.png and b/e2e/features/classification/classification-test.spec.js-snapshots/gray-and-blue-firefox-win32.png differ
diff --git a/e2e/features/classification/classification-test.spec.js-snapshots/only-gray-chromium-win32.png b/e2e/features/classification/classification-test.spec.js-snapshots/only-gray-chromium-win32.png
index 733fb7bd8..da9d6d84a 100644
Binary files a/e2e/features/classification/classification-test.spec.js-snapshots/only-gray-chromium-win32.png and b/e2e/features/classification/classification-test.spec.js-snapshots/only-gray-chromium-win32.png differ
diff --git a/e2e/features/classification/classification-test.spec.js-snapshots/only-gray-firefox-win32.png b/e2e/features/classification/classification-test.spec.js-snapshots/only-gray-firefox-win32.png
index 1bd15fe2b..5dae52fd4 100644
Binary files a/e2e/features/classification/classification-test.spec.js-snapshots/only-gray-firefox-win32.png and b/e2e/features/classification/classification-test.spec.js-snapshots/only-gray-firefox-win32.png differ