From ed316e8bf3c40b2e7c6a94735958a5bb2c6d0e0f Mon Sep 17 00:00:00 2001 From: rejas Date: Mon, 30 Aug 2021 16:38:59 +0200 Subject: [PATCH] Try fixing test --- tests/e2e/modules/clock_spec.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/e2e/modules/clock_spec.js b/tests/e2e/modules/clock_spec.js index 57a2fa65..c2e03fc9 100644 --- a/tests/e2e/modules/clock_spec.js +++ b/tests/e2e/modules/clock_spec.js @@ -93,8 +93,7 @@ describe("Clock module", function () { it("should show not show the time when digital clock is shown", async function () { await app.client.waitUntilWindowLoaded(); - const digital = await app.client.$(".clock .digital"); - const time = await digital.$$(".time"); + const time = await app.client.$$(".clock .digital .time"); return expect(time.length).toBe(0); }); });