Skip to content

Commit

Permalink
Ad AD_LOADED event to ad tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wvanhaevre committed Dec 24, 2024
1 parent b9a21a2 commit 34c1f23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions e2e/src/tests/Ads.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default function (spec: TestScope) {
const playEventsPromise = waitForPlayerEventTypes(player, [PlayerEventType.SOURCE_CHANGE, PlayerEventType.PLAY, PlayerEventType.PLAYING]);

const adEventsPromise = waitForPlayerEvents(player, [
{ type: PlayerEventType.AD_EVENT, subType: AdEventType.AD_LOADED } as AdEvent,
{ type: PlayerEventType.AD_EVENT, subType: AdEventType.AD_BREAK_BEGIN } as AdEvent,
{ type: PlayerEventType.AD_EVENT, subType: AdEventType.AD_BEGIN } as AdEvent,
]);
Expand Down

0 comments on commit 34c1f23

Please sign in to comment.