-
Notifications
You must be signed in to change notification settings - Fork 16
PB-2064: fix footer, topics, menuTray cypress tests #1521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feat-PB-1383-pinia-store
Are you sure you want to change the base?
Conversation
web-mapviewer
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Project |
web-mapviewer
|
| Branch Review |
fix-pb-2064-footer-cypress
|
| Run status |
|
| Run duration | 08m 57s |
| Commit |
|
| Committer | Felix Sommer |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
36
|
|
|
0
|
|
|
19
|
|
|
0
|
|
|
129
|
| View all changes introduced in this branch ↗︎ | |
Tests for review
drawing.cy.ts • 1 failed test • e2e/chrome/mobile
| Test | Artifacts | |
|---|---|---|
| An uncaught error was detected outside of a test |
Test Replay
Screenshots
|
|
layers.cy.ts • 1 failed test • e2e/chrome/mobile
| Test | Artifacts | |
|---|---|---|
| An uncaught error was detected outside of a test |
Test Replay
Screenshots
|
|
legacyParamImport.cy.ts • 1 failed test • e2e/chrome/mobile
| Test | Artifacts | |
|---|---|---|
| An uncaught error was detected outside of a test |
Test Replay
Screenshots
|
|
timeSlider.cy.ts • 1 failed test • e2e/chrome/mobile
| Test | Artifacts | |
|---|---|---|
| An uncaught error was detected outside of a test |
Test Replay
Screenshots
|
|
3d/layers.cy.ts • 1 failed test • e2e/chrome/mobile
| 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.
a61bc52 to
6392813
Compare
packages/viewer/src/App.vue
Outdated
| layersStore.loadLayersConfig( | ||
| { | ||
| changeLayersOnTopicChange: !window.location.hash.includes('layers='), | ||
| changeLayersOnTopicChange: !(window.location.hash.includes('layers=') || window.location.hash.includes('bgLayer=')), |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
f47ca57 to
ace5db9
Compare
Test link