Skip to content

Commit

Permalink
Fix timeout shampoo test
Browse files Browse the repository at this point in the history
  • Loading branch information
p2635 committed Jan 25, 2024
1 parent f978d58 commit d88eea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/chainAndRetry.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ describe("Chaining and Retry", () => {
cy.get("[data-cy=card]", { timeout: 10000 });
});

it("get shampoo even if other cards load first", () => {
it.only("get shampoo even if other cards load first", () => {
// Make sure shampoo doesn't always load first
cardsLoadRandomly(6000);

cy.get("[data-cy=card]", { timeout: 10000 }).contains("shampoo").click();
cy.get("[data-cy=card]").contains("shampoo", { timeout: 10000 }).click();
cy.get('[data-cy="card-detail-title"]').should("have.value", "shampoo");
});
});

0 comments on commit d88eea5

Please sign in to comment.