Skip to content

Conversation

@sommerfe
Copy link
Contributor

@sommerfe sommerfe commented Dec 2, 2025

@sommerfe sommerfe self-assigned this Dec 2, 2025
@github-actions github-actions bot added the bug label Dec 2, 2025
@cypress
Copy link

cypress bot commented Dec 2, 2025

web-mapviewer    Run #6184

Run Properties:  status check errored Errored #6184  •  git commit ace5db9661: PB-2064: refactor change layers on topic change
Project web-mapviewer
Branch Review fix-pb-2064-footer-cypress
Run status status check errored Errored #6184
Run duration 08m 57s
Commit git commit ace5db9661: PB-2064: refactor change layers on topic change
Committer Felix Sommer
View all properties for this run ↗︎

Test results
Tests that failed  Failures 36
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 19
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 129
View all changes introduced in this branch ↗︎

Tests for review

Failed  drawing.cy.ts • 1 failed test • e2e/chrome/mobile

View Output

Test Artifacts
An uncaught error was detected outside of a test Test Replay Screenshots
Failed  layers.cy.ts • 1 failed test • e2e/chrome/mobile

View Output

Test Artifacts
An uncaught error was detected outside of a test Test Replay Screenshots
Failed  legacyParamImport.cy.ts • 1 failed test • e2e/chrome/mobile

View Output

Test Artifacts
An uncaught error was detected outside of a test Test Replay Screenshots
Failed  timeSlider.cy.ts • 1 failed test • e2e/chrome/mobile

View Output

Test Artifacts
An uncaught error was detected outside of a test Test Replay Screenshots
Failed  3d/layers.cy.ts • 1 failed test • e2e/chrome/mobile

View Output

Test Artifacts
An uncaught error was detected outside of a test Test Replay Screenshots

The first 5 failed specs are shown, see all 22 specs in Cypress Cloud.

@sommerfe sommerfe force-pushed the fix-pb-2064-footer-cypress branch from a61bc52 to 6392813 Compare December 2, 2025 14:29
@sommerfe sommerfe changed the title PB-2064: footer cypress PB-2064: fix footer, topics, menuTray cypress tests Dec 2, 2025
@sommerfe sommerfe requested a review from pakb December 2, 2025 15:15
layersStore.loadLayersConfig(
{
changeLayersOnTopicChange: !window.location.hash.includes('layers='),
changeLayersOnTopicChange: !(window.location.hash.includes('layers=') || window.location.hash.includes('bgLayer=')),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not really make sense to me, as it translate to:

Change the layers on the map if

  • There is no layer defined
  • OR if there is a background layer defined

It should be:

  • There is no layer defined
  • AND there is no bgLayer defined

No?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it is exactly as you say, note that there is a parentheses in front of the !
so it is !(A || B) === !A && !B
i can rewrite it to make it more clear

@sommerfe sommerfe force-pushed the fix-pb-2064-footer-cypress branch from f47ca57 to ace5db9 Compare December 9, 2025 09:11
@sommerfe sommerfe requested a review from pakb December 9, 2025 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants