@@ -90,8 +90,8 @@ describe('Angular Timer E2E Tests', function () {
9090
9191 it ( 'Clock Timer - with hours, minutes & seconds' , function ( ) {
9292 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 / ) ;
9595 expect ( element ( '#clock-timer timer' ) . text ( ) ) . toMatch ( / 3 s e c o n d s ./ ) ; //because of sleep(3);
9696 } ) ;
9797
@@ -134,12 +134,12 @@ describe('Angular Timer E2E Tests', function () {
134134
135135 it ( 'Leading zero timer - should add a leading zero if number is smaller than 10' , function ( ) {
136136 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 , / ) ;
139139 expect ( element ( '#clock-timer-leading-zero timer' ) . text ( ) ) . toMatch ( / 0 1 s e c o n d / ) ;
140140 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 , / ) ;
143143 expect ( element ( '#clock-timer-leading-zero timer' ) . text ( ) ) . toMatch ( / 1 1 s e c o n d s / ) ;
144144 } ) ;
145145
0 commit comments