Skip to content

Commit

Permalink
Reorder checks in often-failing integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
peaBerberian committed Jun 11, 2024
1 parent 2fd6429 commit 9828d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/scenarios/discontinuities.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ describe("discontinuities handling", () => {
await waitForLoadedStateAfterLoadVideo(player);
expect(discontinuitiesWarningReceived).to.equal(0);
await checkAfterSleepWithBackoff({ maxTimeMs: 3000 }, () => {
expect(player.getPosition()).to.be.above(131);
expect(player.getPlayerState()).to.equal("PLAYING");
expect(discontinuitiesWarningReceived).to.equal(1);
expect(player.getPosition()).to.be.above(131);
});
}, 7000);

Expand Down

0 comments on commit 9828d1d

Please sign in to comment.