config e2e (#603)

This commit is contained in:
ABevier 2023-05-12 10:18:14 -04:00 committed by GitHub
parent f12850141c
commit 2aabd5b1de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "tea", "name": "tea",
"version": "0.2.7", "version": "0.2.8",
"private": true, "private": true,
"description": "tea gui app", "description": "tea gui app",
"author": "tea.xyz", "author": "tea.xyz",

View file

@ -20,7 +20,7 @@ export const config: Options.Testrunner = {
exclude: [ exclude: [
// 'path/to/excluded/files' // 'path/to/excluded/files'
], ],
maxInstances: 10, maxInstances: 1,
capabilities: [ capabilities: [
{ {
// capabilities for local browser web tests // capabilities for local browser web tests
@ -32,7 +32,7 @@ export const config: Options.Testrunner = {
baseUrl: "http://localhost", baseUrl: "http://localhost",
waitforTimeout: 10000, waitforTimeout: 10000,
connectionRetryTimeout: 120000, connectionRetryTimeout: 120000,
connectionRetryCount: 3, connectionRetryCount: 5,
services: [ services: [
[ [
"electron", "electron",
@ -52,6 +52,8 @@ export const config: Options.Testrunner = {
reporters: ["spec"], reporters: ["spec"],
mochaOpts: { mochaOpts: {
ui: "bdd", ui: "bdd",
timeout: 60000 timeout: 120000
} },
specFileRetries: 3,
specFileRetriesDelay: 5
}; };