Skip to content

Commit

Permalink
Add wait to test
Browse files Browse the repository at this point in the history
  • Loading branch information
stuart-bradley committed Feb 19, 2024
1 parent 5765a24 commit 4f3d868
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
cypress-run:
runs-on: ubuntu-latest
name: Artifacts
name: Run Cypress E2E tests
steps:
- uses: actions/checkout@v4
- uses: cypress-io/github-action@v6
Expand Down
2 changes: 2 additions & 0 deletions cypress/e2e/app.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ describe("BoardForm", () => {
cy.get('[data-cy="use-seafarers-checkbox"]').check({ force: true });
cy.get('[data-cy="use-seafarers-checkbox"]').should("be.checked");

cy.wait(5000);

// Assert it's possible to select a seafarers algorithm.
cy.get('[data-cy="rand-algorithm-selector"]').select(ALGORITHM_COASTAL);
cy.get('[data-cy="rand-algorithm-selector"] option:selected').should(
Expand Down

0 comments on commit 4f3d868

Please sign in to comment.