Open duncdrum opened 11 months ago
Related: #652
Here's something strange that's perhaps related? @line-o's PR #711 passed CI, but the merge commit failed CI: https://github.com/eXist-db/eXide/actions/runs/10540075485. The failing tests involved dbmanager:
19 passing (1m)
2 failing
1) DB Manager
DB Manager operations
cut operation
should create collection to be copied:
AssertionError: Timed out retrying after 4000ms: Expected to find content: 'toBeCopiedAéB' within the selector: 'div[role=gridcell][col-id=name]' but never did.
at Context.eval (http://localhost:8080/__cypress/tests?p=cypress/integration/dbmanager.spec.js:354:75)
2) DB Manager
DB Manager operations
cut operation
should cut the collection:
AssertionError: Timed out retrying after 4000ms: Expected to find content: 'toBeCopiedAéB' within the selector: 'div[role=gridcell][col-id=name]' but never did.
at Context.eval (http://localhost:8080/__cypress/tests?p=cypress/integration/dbmanager.spec.js:381:14)
Describe the bug
the spec is flaky because it doesn't reliably deal with the initial notice windows exide offers. So tests will fail because the elements that cypress is trying to interact with aren't visible or focused.
Expected behavior Robust tests with predictable behaviour
Screenshots
Context (please always complete the following information):