[skip ci] test tweak

This commit is contained in:
Brahim Hadriche committed 2025-01-22 17:40:12 -05:00
1 parent 23401e7841
commit 6fd99afd8a
2 files changed
+43 -10

No files matched your search

+7 -2
View File
@@ -6,7 +6,12 @@ import { utils } from 'roku-test-automation';
const envFile = path.join(__dirname, '../.env');
const config = getEnvVars(['ROKU_DEV_TARGET', 'ROKU_DEVPASSWORD']);
export function setupEnvironment() {
export enum AppId {
DEV = 'dev',
PROD = '693751',
}
export function setupEnvironment(appId = AppId.DEV) {
utils.setupEnvironmentFromConfig({
RokuDevice: {
devices: [{
@@ -16,7 +21,7 @@ export function setupEnvironment() {
},
ECP: {
default: {
launchChannelId: 'dev'
launchChannelId: appId,
}
},
OnDeviceComponent: {