@@ -695,7 +695,7 @@ describe('WebDriver', function () {
695695 } )
696696
697697 // TO-DO: those tests are flaky so skipping them for now
698- describe ( 'popup : #acceptPopup, #seeInPopup, #cancelPopup' , async ( ) => {
698+ describe . skip ( 'popup : #acceptPopup, #seeInPopup, #cancelPopup' , async ( ) => {
699699 it ( 'should accept popup window' , async ( ) => {
700700 await wd . amOnPage ( '/form/popup' )
701701 await wd . waitForText ( 'Confirm' , 5 )
@@ -836,7 +836,7 @@ describe('WebDriver', function () {
836836 } )
837837
838838 // run locally passed, failed on CI.
839- it . skip ( 'should set window size on new session' , ( ) => {
839+ it ( 'should set window size on new session' , ( ) => {
840840 return wd
841841 . amOnPage ( '/info' )
842842 . then ( ( ) => wd . _session ( ) )
@@ -848,7 +848,10 @@ describe('WebDriver', function () {
848848 )
849849 . then ( ( { session, browser } ) => session . loadVars ( browser ) )
850850 . then ( ( ) => wd . amOnPage ( '/form/resize' ) )
851+ . then ( ( ) => wd . waitForText ( 'Window Size' , 5 ) )
851852 . then ( ( ) => wd . click ( 'Window Size' ) )
853+ . then ( ( ) => wd . waitForElement ( '#height' , 5 ) )
854+ . then ( ( ) => wd . waitForElement ( '#width' , 5 ) )
852855 . then ( ( ) => wd . see ( 'Height 700' , '#height' ) )
853856 . then ( ( ) => wd . see ( 'Width 500' , '#width' ) )
854857 } )
0 commit comments