X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fe2e%2Fwdio.main.conf.ts;h=0a10ee9ca998dadb71f506e08c8fc0d2a53c5698;hb=6547d9b3dbc3d1bb9569b2282f405dca0c0a23b3;hp=7f4c7f7ee035ad983d570fc74112f17bb8dd7115;hpb=12d6b873cd4c5eb8c4fd298885e0c7fa6deb3756;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/e2e/wdio.main.conf.ts b/client/e2e/wdio.main.conf.ts index 7f4c7f7ee..0a10ee9ca 100644 --- a/client/e2e/wdio.main.conf.ts +++ b/client/e2e/wdio.main.conf.ts @@ -21,7 +21,8 @@ export const config = { // will be called from there. // specs: [ - './src/**/*.e2e-spec.ts' + './src/suites-all/*.e2e-spec.ts', + './src/suites-local/*.e2e-spec.ts' ], // Patterns to exclude. exclude: [ @@ -79,7 +80,7 @@ export const config = { framework: 'mocha', // // The number of times to retry the entire specfile when it fails as a whole - specFileRetries: 2, + specFileRetries: 1, // // Delay in seconds between the spec file retry attempts // specFileRetriesDelay: 0, @@ -97,7 +98,8 @@ export const config = { // See the full list at http://mochajs.org/ mochaOpts: { ui: 'bdd', - timeout: 60000 + timeout: 60000, + bail: true }, autoCompileOpts: { @@ -105,6 +107,14 @@ export const config = { tsNodeOpts: { project: require('path').join(__dirname, './tsconfig.json') + }, + + tsConfigPathsOpts: { + baseUrl: './', + paths: { + '@server/*': [ '../../server/*' ], + '@shared/*': [ '../../shared/*' ] + } } },