Skip to content

Commit

Permalink
fix(tests): reduce chance of `The play() request was interrupted by a…
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienjoly committed Sep 5, 2023
1 parent 6f1b03b commit eb996ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/acceptance.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ context('Openwhyd', () => {
// should play the track
cy.get('#btnPlay.playing', { timeout: 10000 }).should('be.visible');

cy.wait(2000); // TODO: get rid of this. cf https://github.com/openwhyd/openwhyd/pull/495/commits/7c0eddc9dc9e60fa163624d356837e1a111018d1
cy.wait(4000); // TODO: get rid of this. cf https://github.com/openwhyd/openwhyd/pull/495/commits/7c0eddc9dc9e60fa163624d356837e1a111018d1

// should pause the track when the user clicks on the play/pause button
cy.get('#btnPlay').click();
Expand Down

0 comments on commit eb996ac

Please sign in to comment.