X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=client%2Fe2e%2Fwdio.main.conf.ts;h=0a10ee9ca998dadb71f506e08c8fc0d2a53c5698;hb=42379e4eef2987472790656d6b8ab6c3a57825fa;hp=e2ef999674767c2d988036d5ed7964c8fb9d2898;hpb=3419e0e1fe8e48a08b63ca0ded31087f913eb2b6;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/e2e/wdio.main.conf.ts b/client/e2e/wdio.main.conf.ts index e2ef99967..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: [ @@ -52,7 +53,7 @@ export const config = { // // If you only want to run your tests until a specific amount of tests have failed use // bail (default is 0 - don't bail, run all tests). - bail: 1, + bail: 0, // // Set a base URL in order to shorten url command calls. If your `url` parameter starts // with `/`, the base url gets prepended, not including the path portion of your baseUrl. @@ -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: 1, + 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/*' ] + } } },