Skip to content
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

[BUG] dbmanager spec is flaky #651

Open
duncdrum opened this issue Dec 19, 2023 · 2 comments
Open

[BUG] dbmanager spec is flaky #651

duncdrum opened this issue Dec 19, 2023 · 2 comments

Comments

@duncdrum
Copy link
Contributor

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
Screenshot 2023-12-19 at 22 27 13

Context (please always complete the following information):

  • eXist-db Version: [6.2.0, 7.0.0-SNAPSHOT]
  • Java Version: [8, 17]
  • Node Version: [18, 20]
  • App Version: [3.5.1]
@joewiz
Copy link
Member

joewiz commented Apr 22, 2024

Related: #652

@joewiz
Copy link
Member

joewiz commented Aug 25, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants