diff --git a/integration-tests/play-video.ts b/integration-tests/play-video.ts index 608eaccf..110b6447 100644 --- a/integration-tests/play-video.ts +++ b/integration-tests/play-video.ts @@ -1,8 +1,9 @@ // integration test to play a video on the Roku device // 1. Run dev channel on the Roku device (Playlet (dev)) -// 2 npm run restart-app && npm run test:integration +// 2. npm run restart-app && npm run test:integration import { ecp, odc } from 'roku-test-automation'; import { setupEnvironment } from './common'; +import { Key } from 'roku-test-automation/client/dist/ECP'; setupEnvironment(); @@ -17,5 +18,7 @@ setupEnvironment(); console.log("Video started playing"); + await ecp.sendKeypress(Key.Back); + await odc.shutdown(); })();