Skip to content

Commit 986cfac

Browse files
committed
add testcase to check for spans in time value for unique css control
1 parent d50940a commit 986cfac

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/e2e/modules/clock_spec.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ describe("Clock module", () => {
3838
const timeRegex = /^(?:1[0-2]|[1-9]):[0-5]\d[0-5]\d[ap]m$/;
3939
await expect(helpers.testMatch(".clock .time", timeRegex)).resolves.toBe(true);
4040
});
41+
42+
it("check for discreet elements of clock", async () => {
43+
let elemClock = helpers.waitForElement(".clock-hour-digital");
44+
await expect(elemClock).not.toBeNull();
45+
elemClock = helpers.waitForElement(".clock-minute-digital");
46+
await expect(elemClock).not.toBeNull();
47+
});
4148
});
4249

4350
describe("with showPeriodUpper config enabled", () => {

0 commit comments

Comments
 (0)