Skip to content

Commit 8d65cb9

Browse files
committed
minor refactoring
1 parent 74ce3cb commit 8d65cb9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/e2e/scenarios.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ describe('Angular Timer E2E Tests', function () {
3838
});
3939

4040
it('Clock Timer - with hours, minutes & seconds', function () {
41+
sleep(3);
4142
expect(element('#clock-timer timer').html()).toMatch(/0 hours,/);
4243
expect(element('#clock-timer timer').html()).toMatch(/0 minutes,/);
43-
expect(element('#clock-timer timer').html()).toMatch(/seconds./);
44+
expect(element('#clock-timer timer').html()).not().toMatch(/0 seconds./);
4445
});
4546

4647
it('Countdown Timer - Starts from 100', function () {

0 commit comments

Comments
 (0)