Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fixed e2e test (#6004)

christof-wittreich91d09234cdea
diff --git a/e2e/features/timeline/timeline-test.spec.js b/e2e/features/timeline/timeline-test.spec.js
index 872ee6cce..0d463024c 100644
--- a/e2e/features/timeline/timeline-test.spec.js
+++ b/e2e/features/timeline/timeline-test.spec.js
@@ -80,6 +80,11 @@ test('Interval state of HOUR restored from permalink', async () => {
})
test('Interval subdaily default year, month, day, hour, minute, and custom available', async () => {
+ const timelineInterval = await page.locator('#timeline-interval')
+ const istimelineIntervalVisible = await timelineInterval.isVisible()
+ if (!istimelineIntervalVisible) {
+ await page.locator('#timeline-interval-btn-container').click()
+ }
const yearlyInterval = await page.locator('#interval-years')
const monthlyInterval = await page.locator('#interval-months')
const dailyInterval = await page.locator('#interval-days')