geoadmin / web-mapviewer

The viewer application for maps and geodata
https://map.geo.admin.ch
Other
63 stars 11 forks source link

PB-875 : new attempt at reducing this test flakiness on CI #1111

Closed pakb closed 4 weeks ago

pakb commented 1 month ago

Looks like the KML isn't yet available when the drag select happens, and the CI misses one feature because of that. I added a soft wait on the KML by checking that it is in the OL layer prior to do the dragbox selection

Test link

cypress[bot] commented 1 month ago

web-mapviewer    Run #3719

Run Properties:  status check passed Passed #3719  •  git commit f7b81b3f77: Merge pull request #1111 from geoadmin/fix-PB-875-another-attempt
Project web-mapviewer
Branch Review develop
Run status status check passed Passed #3719
Run duration 01m 39s
Commit git commit f7b81b3f77: Merge pull request #1111 from geoadmin/fix-PB-875-another-attempt
Committer Pascal Barth
View all properties for this run ↗︎

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