Try fixing test

This commit is contained in:
rejas 2021-08-30 16:38:59 +02:00
parent 21c3179e03
commit ed316e8bf3

View File

@ -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);
});
});