diff --git a/modules/desktop/package.json b/modules/desktop/package.json index c1ab9c2..61c99e3 100644 --- a/modules/desktop/package.json +++ b/modules/desktop/package.json @@ -1,6 +1,6 @@ { "name": "tea", - "version": "0.2.7", + "version": "0.2.8", "private": true, "description": "tea gui app", "author": "tea.xyz", diff --git a/modules/desktop/wdio.conf.ts b/modules/desktop/wdio.conf.ts index 6593155..4a40bb7 100644 --- a/modules/desktop/wdio.conf.ts +++ b/modules/desktop/wdio.conf.ts @@ -20,7 +20,7 @@ export const config: Options.Testrunner = { exclude: [ // 'path/to/excluded/files' ], - maxInstances: 10, + maxInstances: 1, capabilities: [ { // capabilities for local browser web tests @@ -32,7 +32,7 @@ export const config: Options.Testrunner = { baseUrl: "http://localhost", waitforTimeout: 10000, connectionRetryTimeout: 120000, - connectionRetryCount: 3, + connectionRetryCount: 5, services: [ [ "electron", @@ -52,6 +52,8 @@ export const config: Options.Testrunner = { reporters: ["spec"], mochaOpts: { ui: "bdd", - timeout: 60000 - } + timeout: 120000 + }, + specFileRetries: 3, + specFileRetriesDelay: 5 };