From 2aabd5b1deb1807aa0140022c17236059957b46f Mon Sep 17 00:00:00 2001 From: ABevier Date: Fri, 12 May 2023 10:18:14 -0400 Subject: [PATCH] config e2e (#603) --- modules/desktop/package.json | 2 +- modules/desktop/wdio.conf.ts | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) 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 };