From 3434dbaf006384d8874e6f6b32ae66f9df078ef6 Mon Sep 17 00:00:00 2001 From: j8seangel Date: Tue, 23 Apr 2024 09:59:12 +0200 Subject: [PATCH] use HIGHLIGHT_DATAVIEW_INSTANCE_ID instead of hardcoded string --- apps/fishing-map-e2e/src/support/app.po.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/fishing-map-e2e/src/support/app.po.ts b/apps/fishing-map-e2e/src/support/app.po.ts index 22161ab28a..c31f50acd7 100644 --- a/apps/fishing-map-e2e/src/support/app.po.ts +++ b/apps/fishing-map-e2e/src/support/app.po.ts @@ -1,3 +1,4 @@ +import { HIGHLIGHT_DATAVIEW_INSTANCE_ID } from '../../../fishing-map/features/workspace/highlight-panel/highlight-panel.content' import { API_URL_4WINGS_TILES } from '../constants/urls' export const getGreeting = () => cy.get('h1') @@ -37,7 +38,7 @@ export const verifyTracksInTimebar = (segments?: number) => { export const disablePopups = () => { localStorage.setItem('DisableWelcomePopup', 'true') localStorage.setItem('DisableSourceSwitchPopup', 'true') - localStorage.setItem('HighlightPopup', '"bathymetry-workspace"') + localStorage.setItem('HighlightPopup', `"${HIGHLIGHT_DATAVIEW_INSTANCE_ID}"`) localStorage.setItem('WelcomePopup', '{"visible":false,"showAgain":false}') localStorage.setItem('VesselProfilePopup', '{"visible":false,"showAgain":false}') localStorage.setItem(