X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fe2e%2Fwdio.main.conf.ts;h=29afdbdc0c4b856ea14fc84d54a1de9c3bdd7ffd;hb=ebaee66faeb468c47fba37dc11a00ac57b61dc65;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..29afdbdc0 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, @@ -105,6 +106,14 @@ export const config = { tsNodeOpts: { project: require('path').join(__dirname, './tsconfig.json') + }, + + tsConfigPathsOpts: { + baseUrl: './', + paths: { + '@server/*': [ '../../server/*' ], + '@shared/*': [ '../../shared/*' ] + } } },