From 82bb2544deb4cdcff6e2f14224cb3e030956ba92 Mon Sep 17 00:00:00 2001 From: Karsten Hassel Date: Thu, 13 Jan 2022 22:37:21 +0100 Subject: [PATCH] add CHANGELOG and fix weather_spec --- CHANGELOG.md | 2 ++ tests/e2e/modules/weather_spec.js | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b21d6a0..d07437b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,8 @@ _This release is scheduled to be released on 2022-04-01._ ### Fixed +- improved and speedup e2e tests, artificial wait after mm start removed. + ## [2.18.0] - 2022-01-01 Special thanks to the following contributors: @AmpioRosso, @eouia, @fewieden, @jupadin, @khassel, @kolbyjack, @KristjanESPERANTO, @MariusVaice, @rejas, @rico24 and @sdetweil. diff --git a/tests/e2e/modules/weather_spec.js b/tests/e2e/modules/weather_spec.js index a62bcd82..bb9489c7 100644 --- a/tests/e2e/modules/weather_spec.js +++ b/tests/e2e/modules/weather_spec.js @@ -233,8 +233,8 @@ describe("Weather module", function () { }); it("should render colored rows", function () { - helpers.waitForElement(".weather table.myTableClass").then((elem) => { - expect(elem).not.toBe(null); + helpers.waitForElement(".weather table.myTableClass").then((table) => { + expect(table).not.toBe(null); expect(table.rows).not.toBe(null); expect(table.rows.length).toBe(5); });