File tree 1 file changed +4
-18
lines changed
web/server/vue-cli/e2e/specs
1 file changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -666,19 +666,14 @@ module.exports = {
666
666
667
667
reportPage . expect . element ( "@overlay" ) . to . be . visible . before ( 5000 ) ;
668
668
669
- // Remove overlay as it blocks the dialog
669
+ // removeCleanupPlanDialog.click("@confirmBtn");
670
670
browser . execute ( function ( ) {
671
- let overlay = document . querySelector ( ".v-overlay" ) ;
672
- if ( overlay ) {
673
- overlay . remove ( ) ;
674
- }
671
+ document . querySelector ( ".confirm-btn" ) . click ( ) ;
675
672
} ) ;
676
- browser . waitForElementNotPresent ( ".v-overlay__scrim" , 5000 ) ;
677
-
678
- removeCleanupPlanDialog . click ( "@confirmBtn" ) ;
673
+ browser . pause ( 5000 ) ;
679
674
680
675
dialogSection
681
- . waitForElementVisible ( "@emptyTable" )
676
+ . waitForElementVisible ( "@emptyTable" , 5000 )
682
677
. pause ( 100 )
683
678
. click ( "@closeBtn" ) ;
684
679
} ,
@@ -729,15 +724,6 @@ module.exports = {
729
724
reportPage . expect . section ( fromDateDialog ) . to . be . visible . before ( 5000 ) ;
730
725
reportPage . expect . element ( "@overlay" ) . to . be . visible . before ( 5000 ) ;
731
726
732
- // Remove overlay as it blocks the dialog
733
- browser . execute ( function ( ) {
734
- let overlay = document . querySelector ( ".v-overlay" ) ;
735
- if ( overlay ) {
736
- overlay . remove ( ) ;
737
- }
738
- } ) ;
739
- browser . waitForElementNotPresent ( ".v-overlay__scrim" , 5000 ) ;
740
-
741
727
fromDateDialog
742
728
. click ( "@date" )
743
729
. click ( "@ok" ) ;
You can’t perform that action at this time.
0 commit comments