diff --git a/tests/integration/scenarios/discontinuities.test.js b/tests/integration/scenarios/discontinuities.test.js index 9ce24887f29..0a60b738348 100644 --- a/tests/integration/scenarios/discontinuities.test.js +++ b/tests/integration/scenarios/discontinuities.test.js @@ -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);