Skip to content

Commit 73daa23

Browse files
committed
TEMP: extra play
1 parent e7b0854 commit 73daa23

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

e2e/src/tests/Ads.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { AdEventType, PlayerEventType, AdEvent } from 'react-native-theoplayer';
33
import { getTestPlayer } from '../components/TestableTHEOplayerView';
44
import { waitForPlayerEvents, waitForPlayerEventTypes } from '../utils/Actions';
55
import { TestSourceDescription, TestSources } from '../utils/SourceUtils';
6+
import { sleep } from '../utils/TimeUtils';
67

78
export default function (spec: TestScope) {
89
TestSources()
@@ -22,6 +23,10 @@ export default function (spec: TestScope) {
2223
player.autoplay = true;
2324
player.source = testSource.source;
2425

26+
// TEMP: extra play
27+
await sleep(10000);
28+
player.play();
29+
2530
// Expect events.
2631
await playEventsPromise;
2732
await adEventsPromise;

0 commit comments

Comments
 (0)