X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fe2e%2Fwdio.local-test.conf.ts;h=ca0bb5bfe32c5942f28570f3f5fe34ec600b333c;hb=5774e9fca1330666612734cd9b7033740b70d7b5;hp=32e6d340ce2bd03bcb640b86cf3cfe5546233d91;hpb=450de91e22ba1388e14e12ada875c94e0c38f5d3;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/e2e/wdio.local-test.conf.ts b/client/e2e/wdio.local-test.conf.ts index 32e6d340c..ca0bb5bfe 100644 --- a/client/e2e/wdio.local-test.conf.ts +++ b/client/e2e/wdio.local-test.conf.ts @@ -1,3 +1,4 @@ +import { afterLocalSuite, beforeLocalSuite, beforeLocalSession } from './src/utils' import { config as mainConfig } from './wdio.main.conf' const prefs = { @@ -21,12 +22,25 @@ module.exports = { browserName: 'chrome', acceptInsecureCerts: true, 'goog:chromeOptions': { - args: [ '--headless', '--disable-gpu', '--window-size=1280,1024' ], + args: [ '--disable-gpu', '--window-size=1280,1024' ], prefs } } + // { + // browserName: 'firefox', + // 'moz:firefoxOptions': { + // binary: '/usr/bin/firefox-developer-edition', + // args: [ '--headless', '--window-size=1280,1024' ], + + // prefs + // } + // } ], - services: [ 'chromedriver' ] + services: [ 'chromedriver', 'geckodriver' ], + + beforeSession: beforeLocalSession, + beforeSuite: beforeLocalSuite, + afterSuite: afterLocalSuite } as WebdriverIO.Config }