51
51
52
52
import java .util .Set ;
53
53
54
- @ Ignore ({HTMLUNIT , PHANTOMJS , SAFARI , MARIONETTE })
54
+ @ Ignore ({HTMLUNIT , PHANTOMJS , SAFARI })
55
55
public class AlertsTest extends JUnit4TestBase {
56
56
57
57
private WebDriverWait wait ;
@@ -94,7 +94,7 @@ public void testShouldAllowUsersToAcceptAnAlertWithNoTextManually() {
94
94
assertEquals ("Testing Alerts" , driver .getTitle ());
95
95
}
96
96
97
- @ Ignore (CHROME )
97
+ @ Ignore ({ CHROME , MARIONETTE } )
98
98
@ JavascriptEnabled
99
99
@ NeedsLocalEnvironment (reason = "Carefully timing based" )
100
100
@ Test
@@ -149,6 +149,7 @@ public void testShouldAllowAUserToDismissAPrompt() {
149
149
assertEquals ("Testing Alerts" , driver .getTitle ());
150
150
}
151
151
152
+ @ Ignore (MARIONETTE )
152
153
@ JavascriptEnabled
153
154
@ Test
154
155
public void testShouldAllowAUserToSetTheValueOfAPrompt () {
@@ -216,6 +217,7 @@ public void testAlertShouldNotAllowAdditionalCommandsIfDismissed() {
216
217
fail ("Expected NoAlertPresentException" );
217
218
}
218
219
220
+ @ Ignore (MARIONETTE )
219
221
@ JavascriptEnabled
220
222
@ Test
221
223
public void testShouldAllowUsersToAcceptAnAlertInAFrame () {
@@ -230,6 +232,7 @@ public void testShouldAllowUsersToAcceptAnAlertInAFrame() {
230
232
assertEquals ("Testing Alerts" , driver .getTitle ());
231
233
}
232
234
235
+ @ Ignore (MARIONETTE )
233
236
@ JavascriptEnabled
234
237
@ Test
235
238
public void testShouldAllowUsersToAcceptAnAlertInANestedFrame () {
@@ -255,6 +258,7 @@ public void testSwitchingToMissingAlertThrows() throws Exception {
255
258
}
256
259
}
257
260
261
+ @ Ignore (MARIONETTE )
258
262
@ JavascriptEnabled
259
263
@ Test
260
264
public void testSwitchingToMissingAlertInAClosedWindowThrows () throws Exception {
@@ -305,6 +309,7 @@ public void testPromptShouldHaveNullValueIfDismissed() {
305
309
wait .until (textInElementLocated (By .id ("text" ), "null" ));
306
310
}
307
311
312
+ @ Ignore (MARIONETTE )
308
313
@ JavascriptEnabled
309
314
@ Test
310
315
public void testHandlesTwoAlertsFromOneInteraction () {
@@ -350,7 +355,7 @@ public void testShouldHandleAlertOnPageLoadUsingGet() {
350
355
}
351
356
352
357
@ JavascriptEnabled
353
- @ Ignore (value = {CHROME , FIREFOX , IE }, reason = "IE: fails in versions 6 and 7" )
358
+ @ Ignore (value = {CHROME , FIREFOX , IE , MARIONETTE }, reason = "IE: fails in versions 6 and 7" )
354
359
@ Test
355
360
public void testShouldNotHandleAlertInAnotherWindow () {
356
361
String mainWindow = driver .getWindowHandle ();
@@ -458,7 +463,7 @@ public void testShouldHandleAlertOnWindowClose() {
458
463
}
459
464
460
465
@ JavascriptEnabled
461
- @ Ignore (value = {CHROME , HTMLUNIT })
466
+ @ Ignore (value = {CHROME , HTMLUNIT , MARIONETTE })
462
467
@ Test
463
468
public void testIncludesAlertTextInUnhandledAlertException () {
464
469
driver .findElement (By .id ("alert" )).click ();
0 commit comments