diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-14 17:17:01 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-14 17:17:01 +0100 |
commit | 3cf68b869decf07ff7435fe1436d4f3134df1bf4 (patch) | |
tree | 836efe5ddc626fef3ba4c96269efbca305f46256 /client/e2e/wdio.browserstack.conf.ts | |
parent | a6f919e455f2c6ae8f2194da4aa66824a6bfd09e (diff) | |
download | PeerTube-3cf68b869decf07ff7435fe1436d4f3134df1bf4.tar.gz PeerTube-3cf68b869decf07ff7435fe1436d4f3134df1bf4.tar.zst PeerTube-3cf68b869decf07ff7435fe1436d4f3134df1bf4.zip |
Ability for admins to set default upload values
Diffstat (limited to 'client/e2e/wdio.browserstack.conf.ts')
-rw-r--r-- | client/e2e/wdio.browserstack.conf.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/e2e/wdio.browserstack.conf.ts b/client/e2e/wdio.browserstack.conf.ts index 43614a862..b89cdbc2e 100644 --- a/client/e2e/wdio.browserstack.conf.ts +++ b/client/e2e/wdio.browserstack.conf.ts | |||
@@ -1,3 +1,4 @@ | |||
1 | import { onBrowserStackComplete, onBrowserStackPrepare } from './src/utils' | ||
1 | import { config as mainConfig } from './wdio.main.conf' | 2 | import { config as mainConfig } from './wdio.main.conf' |
2 | 3 | ||
3 | const user = process.env.BROWSERSTACK_USER | 4 | const user = process.env.BROWSERSTACK_USER |
@@ -114,6 +115,10 @@ module.exports = { | |||
114 | if (capabilities['bstack:options'].realMobile === true) { | 115 | if (capabilities['bstack:options'].realMobile === true) { |
115 | capabilities['bstack:options'].local = false | 116 | capabilities['bstack:options'].local = false |
116 | } | 117 | } |
117 | } | 118 | }, |
119 | |||
120 | onPrepare: onBrowserStackPrepare, | ||
121 | onComplete: onBrowserStackComplete | ||
122 | |||
118 | } as WebdriverIO.Config | 123 | } as WebdriverIO.Config |
119 | } | 124 | } |