-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add e2e test for default flood trigger layers #1832
Add e2e test for default flood trigger layers #1832
Conversation
test( | ||
qase( | ||
37, | ||
'[Trigger] Map layer: "Flood extent" and "Exposed population" should be active by default', |
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.
What is the exact purpose of this test. I often get mixed up by filenames vs test descriptions here vs full test cases in Qase. Is in this case the test just about the layers being present in the legend? And with legend do you mean the lower-left thing or the lower-right thing?
Either way, I think it makes sense to test all together. So test (1) are the layers in the layer overview (lower-right), (2) are they in the legend (lower-left), and (3) are they in the map? I'm not clear on if this is happening now either in this test or in multiple tests.
|
||
await map.mapComponentIsVisible(); | ||
await map.isLegendOpen({ legendOpen: true }); | ||
await map.assertLegendElementIsVisible({ |
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.
now only legend is tested. test also layer overview and map (proxy via radio-btn being active)
Describe your changes
Adds test for default triggered layers Floods
Checklist before requesting a review