Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Update smart-hand-off end-to-end test (#4176)

Ryan Weiler431cac6a1236
diff --git a/e2e/features/smart-handoff/smart-handoff-test.spec.js b/e2e/features/smart-handoff/smart-handoff-test.spec.js
index e1624f5f9..e1a1c3087 100644
--- a/e2e/features/smart-handoff/smart-handoff-test.spec.js
+++ b/e2e/features/smart-handoff/smart-handoff-test.spec.js
@@ -61,9 +61,9 @@ test('Arriving via permalink, data tab selected and granule count shows', async
})
test('Changing collection updates URL', async () => {
- await page.locator('#C1664741463-PODAAC-GHRSST_L4_MUR_Sea_Surface_Temperature-collection-choice-label').click()
+ await page.getByLabel('Standard - v4.1').check()
const url = await page.url()
- expect(url).toContain('&sh=GHRSST_L4_MUR_Sea_Surface_Temperature,C1664741463-PODAAC')
+ expect(url).toContain('&sh=GHRSST_L4_MUR_Sea_Surface_Temperature')
})
test('Layers outside of their coverage date range are hidden from layers available for download', async () => {