diff --git a/CHANGELOG.md b/CHANGELOG.md index c3279fae..60c34ee5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ _This release is scheduled to be released on 2022-01-01._ - Fixed `feels_like` data from openweathermaps current weather being ignored (#2678). - Fixed chaotic newsfeed display after network connection loss thanks to @jalibu (#2638). - Fixed incorrect time zone correction of recurring full day events (#2632 and #2634). +- Fixed e2e tests by increasing testTimeout. ## [2.17.1] - 2021-10-01 diff --git a/package.json b/package.json index 46e59933..c8b8421b 100644 --- a/package.json +++ b/package.json @@ -94,6 +94,7 @@ }, "jest": { "verbose": true, + "testTimeout": 10000, "projects": [ { "displayName": "unit", diff --git a/tests/e2e/env_spec.js b/tests/e2e/env_spec.js index b2a7238a..7a43cb0f 100644 --- a/tests/e2e/env_spec.js +++ b/tests/e2e/env_spec.js @@ -1,7 +1,7 @@ const fetch = require("node-fetch"); const helpers = require("./global-setup"); -describe("Electron app environment", function () { +describe("App environment", function () { beforeAll(function (done) { helpers.startApplication("tests/configs/default.js"); helpers.getDocument(done); diff --git a/tests/e2e/modules_display_spec.js b/tests/e2e/modules_display_spec.js index 4042e810..4499097d 100644 --- a/tests/e2e/modules_display_spec.js +++ b/tests/e2e/modules_display_spec.js @@ -3,7 +3,7 @@ const helpers = require("./global-setup"); describe("Display of modules", function () { beforeAll(function (done) { helpers.startApplication("tests/configs/modules/display.js"); - helpers.getDocument(done); + helpers.getDocument(done, 3000); }); afterAll(function () { helpers.stopApplication(); diff --git a/tests/e2e/modules_position_spec.js b/tests/e2e/modules_position_spec.js index 79b9b96f..2989bff9 100644 --- a/tests/e2e/modules_position_spec.js +++ b/tests/e2e/modules_position_spec.js @@ -3,7 +3,7 @@ const helpers = require("./global-setup"); describe("Position of modules", function () { beforeAll(function (done) { helpers.startApplication("tests/configs/modules/positions.js"); - helpers.getDocument(done, 1000); + helpers.getDocument(done, 3000); }); afterAll(function () { helpers.stopApplication();