@@ -177,8 +177,7 @@ module WebDriver
177177 expect ( driver . title ) . to eq ( 'We Arrive Here' )
178178 end
179179
180- # https://github.com/SeleniumHQ/selenium/issues/3339
181- it 'should iterate over open windows when current window is closed' , except : { driver : :remote } do
180+ it 'should iterate over open windows when current window is closed' do
182181 driver . navigate . to url_for ( 'xhtmlTest.html' )
183182 wait_for_element ( link : 'Create a new anonymous window' )
184183 driver . find_element ( link : 'Create a new anonymous window' ) . click
@@ -199,8 +198,7 @@ module WebDriver
199198 end
200199 end
201200
202- # https://github.com/SeleniumHQ/selenium/issues/3339
203- it 'should switch to a window and execute a block when current window is closed' , except : [ { browser : :safari } , { driver : :remote } ] do
201+ it 'should switch to a window and execute a block when current window is closed' , except : { browser : :safari } do
204202 driver . navigate . to url_for ( 'xhtmlTest.html' )
205203 driver . find_element ( link : 'Open new window' ) . click
206204 wait . until { driver . window_handles . size == 2 }
@@ -275,8 +273,7 @@ module WebDriver
275273 wait_for_no_alert
276274 end
277275
278- # https://github.com/SeleniumHQ/selenium/issues/3340
279- it 'raises when calling #text on a closed alert' , except : { driver : :remote , platform : :macosx } do
276+ it 'raises when calling #text on a closed alert' do
280277 driver . navigate . to url_for ( 'alerts.html' )
281278 wait_for_element ( id : 'alert' )
282279
@@ -289,8 +286,7 @@ module WebDriver
289286 expect { alert . text } . to raise_error ( Selenium ::WebDriver ::Error ::NoSuchAlertError )
290287 end
291288
292- # https://github.com/SeleniumHQ/selenium/issues/3340
293- it 'raises NoAlertOpenError if no alert is present' , except : [ { driver : :remote , platform : :macosx } , { browser : :ie } ] do
289+ it 'raises NoAlertOpenError if no alert is present' , except : { browser : :ie } do
294290 expect { driver . switch_to . alert } . to raise_error ( Selenium ::WebDriver ::Error ::NoSuchAlertError , /alert|modal/i )
295291 end
296292
0 commit comments