File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/compass-e2e-tests/tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ describe('Global Tabs', function () {
121121 ) ;
122122 await browser
123123 . $ ( Selectors . ConfirmTabCloseModal )
124- . waitForExist ( { reverse : true } ) ;
124+ . waitForDisplayed ( { reverse : true } ) ;
125125
126126 // Checking first that cancel leaves the tab on the screen
127127 expect ( await browser . $$ ( Selectors . workspaceTab ( ) ) . length ) . to . equal ( 1 ) ;
@@ -140,7 +140,7 @@ describe('Global Tabs', function () {
140140 ) ;
141141 await browser
142142 . $ ( Selectors . ConfirmTabCloseModal )
143- . waitForExist ( { reverse : true } ) ;
143+ . waitForDisplayed ( { reverse : true } ) ;
144144
145145 // When confirmed, should remove the tab
146146 expect ( await browser . $$ ( Selectors . workspaceTab ( ) ) . length ) . to . equal ( 0 ) ;
You can’t perform that action at this time.
0 commit comments