Skip to content

Commit

Permalink
fix dash_multi_periods integration tests by removing Period's id test
Browse files Browse the repository at this point in the history
  • Loading branch information
peaBerberian committed Jan 14, 2022
1 parent b1c4b6d commit 9605f9a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/integration/scenarios/dash_multi_periods.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ describe("DASH multi-Period with different choices", function () {
expect(videoBitrateChangeEvents[0]).to.equal(1996000);

expect(periodChangeEvents).to.have.length(1);
expect(periodChangeEvents[0].id).to.equal("1");


await goToSecondPeriod();
Expand Down Expand Up @@ -153,7 +152,6 @@ describe("DASH multi-Period with different choices", function () {
expect(videoBitrateChangeEvents[1]).to.equal(795001);

expect(periodChangeEvents).to.have.length(2);
expect(periodChangeEvents[1].id).to.equal("2");


await goToFirstPeriod();
Expand Down Expand Up @@ -183,7 +181,6 @@ describe("DASH multi-Period with different choices", function () {
expect(videoBitrateChangeEvents[2]).to.equal(1996000);

expect(periodChangeEvents).to.have.length(3);
expect(periodChangeEvents[2].id).to.equal("1");
});

it("should send the right events when playing into a new Period", async function () {
Expand Down Expand Up @@ -258,7 +255,6 @@ describe("DASH multi-Period with different choices", function () {
expect(videoBitrateChangeEvents[0]).to.equal(1996000);

expect(periodChangeEvents).to.have.length(1);
expect(periodChangeEvents[0].id).to.equal("1");


// still first Period
Expand Down Expand Up @@ -308,7 +304,6 @@ describe("DASH multi-Period with different choices", function () {
expect(videoBitrateChangeEvents[1]).to.equal(795001);

expect(periodChangeEvents).to.have.length(2);
expect(periodChangeEvents[1].id).to.equal("2");
});
});

Expand Down Expand Up @@ -418,7 +413,6 @@ describe("DASH multi-Period with same choices", function () {
expect(videoBitrateChangeEvents[0]).to.equal(1996000);

expect(periodChangeEvents).to.have.length(1);
expect(periodChangeEvents[0].id).to.equal("1");


await goToSecondPeriod();
Expand All @@ -441,7 +435,6 @@ describe("DASH multi-Period with same choices", function () {
expect(videoBitrateChangeEvents).to.have.length(1);

expect(periodChangeEvents).to.have.length(2);
expect(periodChangeEvents[1].id).to.equal("2");


await goToFirstPeriod();
Expand All @@ -464,7 +457,6 @@ describe("DASH multi-Period with same choices", function () {
expect(videoBitrateChangeEvents).to.have.length(1);

expect(periodChangeEvents).to.have.length(3);
expect(periodChangeEvents[2].id).to.equal("1");
});

it("should send the right events when playing into a new Period", async function () {
Expand Down Expand Up @@ -539,7 +531,6 @@ describe("DASH multi-Period with same choices", function () {
expect(videoBitrateChangeEvents[0]).to.equal(1996000);

expect(periodChangeEvents).to.have.length(1);
expect(periodChangeEvents[0].id).to.equal("1");


// still first Period
Expand Down Expand Up @@ -582,6 +573,5 @@ describe("DASH multi-Period with same choices", function () {
expect(videoBitrateChangeEvents).to.have.length(1);

expect(periodChangeEvents).to.have.length(2);
expect(periodChangeEvents[1].id).to.equal("2");
});
});

0 comments on commit 9605f9a

Please sign in to comment.