Skip to content

Commit

Permalink
ci: fixed failing spec on print help
Browse files Browse the repository at this point in the history
  • Loading branch information
asartalo committed Oct 1, 2023
1 parent b576ef6 commit a754380
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/printing_help.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ it('shows printing help for first time users and as necessary', () => {
cy.contains(/make sure to match/i);
void cy.findByRole('button', { name: /got\s+it/i }).click().then(() => {
expect(printStub).to.be.called;
void cy.findByRole('button', { name: /print\s+worksheet/i }).click().then(() => {
expect(printStub).to.be.calledTwice;
});
});
void cy.findByRole('button', { name: /print\s+worksheet/i }).then(() => {
expect(printStub).to.be.calledTwice;
});
});
});

0 comments on commit a754380

Please sign in to comment.