@@ -90,8 +90,8 @@ describe('Angular Timer E2E Tests', function () {
90
90
91
91
it ( 'Clock Timer - with hours, minutes & seconds' , function ( ) {
92
92
sleep ( 3 ) ;
93
- expect ( element ( '#clock-timer timer' ) . text ( ) ) . toMatch ( / 0 h o u r / ) ;
94
- expect ( element ( '#clock-timer timer' ) . text ( ) ) . toMatch ( / 0 m i n u t e / ) ;
93
+ expect ( element ( '#clock-timer timer' ) . text ( ) ) . toMatch ( / 0 h o u r s / ) ;
94
+ expect ( element ( '#clock-timer timer' ) . text ( ) ) . toMatch ( / 0 m i n u t e s / ) ;
95
95
expect ( element ( '#clock-timer timer' ) . text ( ) ) . toMatch ( / 3 s e c o n d s ./ ) ; //because of sleep(3);
96
96
} ) ;
97
97
@@ -134,12 +134,12 @@ describe('Angular Timer E2E Tests', function () {
134
134
135
135
it ( 'Leading zero timer - should add a leading zero if number is smaller than 10' , function ( ) {
136
136
sleep ( 1 ) ;
137
- expect ( element ( '#clock-timer-leading-zero timer' ) . text ( ) ) . toMatch ( / 0 0 h o u r , / ) ;
138
- expect ( element ( '#clock-timer-leading-zero timer' ) . text ( ) ) . toMatch ( / 0 0 m i n u t e , / ) ;
137
+ expect ( element ( '#clock-timer-leading-zero timer' ) . text ( ) ) . toMatch ( / 0 0 h o u r s , / ) ;
138
+ expect ( element ( '#clock-timer-leading-zero timer' ) . text ( ) ) . toMatch ( / 0 0 m i n u t e s , / ) ;
139
139
expect ( element ( '#clock-timer-leading-zero timer' ) . text ( ) ) . toMatch ( / 0 1 s e c o n d / ) ;
140
140
sleep ( 10 ) ;
141
- expect ( element ( '#clock-timer-leading-zero timer' ) . text ( ) ) . toMatch ( / 0 0 h o u r , / ) ;
142
- expect ( element ( '#clock-timer-leading-zero timer' ) . text ( ) ) . toMatch ( / 0 0 m i n u t e , / ) ;
141
+ expect ( element ( '#clock-timer-leading-zero timer' ) . text ( ) ) . toMatch ( / 0 0 h o u r s , / ) ;
142
+ expect ( element ( '#clock-timer-leading-zero timer' ) . text ( ) ) . toMatch ( / 0 0 m i n u t e s , / ) ;
143
143
expect ( element ( '#clock-timer-leading-zero timer' ) . text ( ) ) . toMatch ( / 1 1 s e c o n d s / ) ;
144
144
} ) ;
145
145
0 commit comments