[skip ci] test tweak
This commit is contained in:
1 parent
57cdb59790
commit
28c10022bd
1 file changed
+4
-1
@@ -1,8 +1,9 @@
|
|||||||
// integration test to play a video on the Roku device
|
// integration test to play a video on the Roku device
|
||||||
// 1. Run dev channel on the Roku device (Playlet (dev))
|
// 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 { ecp, odc } from 'roku-test-automation';
|
||||||
import { setupEnvironment } from './common';
|
import { setupEnvironment } from './common';
|
||||||
|
import { Key } from 'roku-test-automation/client/dist/ECP';
|
||||||
|
|
||||||
setupEnvironment();
|
setupEnvironment();
|
||||||
|
|
||||||
@@ -17,5 +18,7 @@ setupEnvironment();
|
|||||||
|
|
||||||
console.log("Video started playing");
|
console.log("Video started playing");
|
||||||
|
|
||||||
|
await ecp.sendKeypress(Key.Back);
|
||||||
|
|
||||||
await odc.shutdown();
|
await odc.shutdown();
|
||||||
})();
|
})();
|
||||||
Reference in new issue
Block a user