From 28c10022bd842e736fa1cb5559d2ac76dd55b492 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Thu, 16 Jan 2025 13:41:08 -0500 Subject: [PATCH] [skip ci] test tweak --- integration-tests/play-video.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(); })();