Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronshiel committed Aug 19, 2024
1 parent 8f2f701 commit 3dd2e4a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cypress/cypress/e2e/setup.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1292,10 +1292,7 @@ describe("Setup", () => {
.get("[data-cy=nav-btn-avatar]")
.should("have.css", "backgroundColor", "rgb(255, 0, 0)");
cy.contains("1 / 3");
cy.getSettled("[data-cy=record-btn]", { retries: 4 })
.trigger("mouseover")
.click();
// go to record
cy.getSettled("[data-cy=record-btn]", { delay: 1000 }).click();
cy.location("pathname").then(($el) =>
assert($el.replace("/admin", ""), "/record")
);
Expand Down

0 comments on commit 3dd2e4a

Please sign in to comment.