@@ -465,9 +465,8 @@ describe('Dashboard assert', () => {
465465 cy . intercept ( 'PUT' , '**/api/time-planning-pn/working-hours' ) . as ( 'save' ) ;
466466 cy . get ( '#workingHoursSave' ) . click ( ) ;
467467 cy . wait ( '@save' ) ;
468- cy . get ( '#sumFlex7 input' ) . should ( 'contain.value' , '-78.55' ) ;
469-
470468 cy . get ( 'mat-toolbar > button .mat-mdc-button-persistent-ripple' ) . parent ( ) . click ( ) ;
469+ cy . get ( '#sumFlex7 input' ) . should ( 'contain.value' , '-78.55' ) ;
471470 pluginPage . Navbar . goToPluginsPage ( ) ;
472471 const pluginName = 'Microting Time Planning Plugin' ;
473472
@@ -489,6 +488,7 @@ describe('Dashboard assert', () => {
489488 cy . get ( '#saveSettings' ) . click ( ) ;
490489 cy . get ( 'mat-tree-node' ) . contains ( 'Dashboard' ) . click ( ) ;
491490 cy . wait ( '@index-update' , { timeout : 60000 } ) ;
491+ cy . get ( 'mat-toolbar > button .mat-mdc-button-persistent-ripple' ) . parent ( ) . click ( ) ;
492492 cy . get ( '#backwards' ) . click ( ) ;
493493 cy . wait ( '@index-update' , { timeout : 60000 } ) ;
494494 cy . get ( '#plannedHours3' ) . should ( 'include.text' , '53:15' ) ;
@@ -664,9 +664,8 @@ describe('Dashboard assert', () => {
664664 cy . intercept ( 'PUT' , '**/api/time-planning-pn/working-hours' ) . as ( 'save' ) ;
665665 cy . get ( '#workingHoursSave' ) . click ( ) ;
666666 cy . wait ( '@save' ) ;
667- cy . get ( '#sumFlex7 input' ) . should ( 'contain.value' , '-48.05' ) ;
668-
669667 cy . get ( 'mat-toolbar > button .mat-mdc-button-persistent-ripple' ) . parent ( ) . click ( ) ;
668+ cy . get ( '#sumFlex7 input' ) . should ( 'contain.value' , '-48.05' ) ;
670669
671670
672671
0 commit comments