Skip to content

Commit

Permalink
use HIGHLIGHT_DATAVIEW_INSTANCE_ID instead of hardcoded string
Browse files Browse the repository at this point in the history
  • Loading branch information
j8seangel committed Apr 23, 2024
1 parent 2a78ac1 commit 3434dba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/fishing-map-e2e/src/support/app.po.ts
Original file line number Diff line number Diff line change
@@ -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')
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 3434dba

Please sign in to comment.