Skip to content

Commit f6b1dea

Browse files
committed
Updating ignores for marionette
1 parent 467b8ce commit f6b1dea

19 files changed

+76
-64
lines changed

java/client/test/org/openqa/selenium/AlertsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public void testShouldAllowUsersToAcceptAnAlertWithNoTextManually() {
9494
assertEquals("Testing Alerts", driver.getTitle());
9595
}
9696

97-
@Ignore({CHROME, MARIONETTE})
97+
@Ignore(CHROME)
9898
@JavascriptEnabled
9999
@NeedsLocalEnvironment(reason = "Carefully timing based")
100100
@Test

java/client/test/org/openqa/selenium/ChildrenFindingTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public void testFindElementsByName() {
109109
}
110110

111111
@Test
112+
@Ignore(MARIONETTE)
112113
public void testFindElementById() {
113114
driver.get(pages.nestedPage);
114115
WebElement element = driver.findElement(By.name("form2"));
@@ -137,6 +138,7 @@ public void testFindElementByIdWhenNoMatchInContext() {
137138
}
138139

139140
@Test
141+
@Ignore(MARIONETTE)
140142
public void testFindElementsById() {
141143
driver.get(pages.nestedPage);
142144
WebElement element = driver.findElement(By.name("form2"));

java/client/test/org/openqa/selenium/ClickScrollingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ public void testShouldBeAbleToClickElementThatIsOutOfViewInANestedFrameThatIsOut
217217

218218
@JavascriptEnabled
219219
@Test
220+
@Ignore(value = {MARIONETTE}, reason = "getSize issue https://bugzilla.mozilla.org/show_bug.cgi?id=1199925")
220221
public void testShouldNotScrollWhenGettingElementSize() {
221222
driver.get(appServer.whereIs("scroll3.html"));
222223
long scrollTop = getScrollTop();
@@ -238,5 +239,4 @@ public void testShouldBeAbleToClickElementInATallFrame() {
238239
element.click();
239240
assertTrue(element.isSelected());
240241
}
241-
242242
}

java/client/test/org/openqa/selenium/ClickTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public void testCanClickOnAnAnchorAndNotReloadThePage() {
8787

8888
@NoDriverAfterTest // So that next test never starts with "inside a frame" base state.
8989
@Test
90+
@Ignore(value = {MARIONETTE}, reason = "getPageSource issue")
9091
public void testCanClickOnALinkThatUpdatesAnotherFrame() {
9192
driver.switchTo().frame("source");
9293

@@ -99,6 +100,7 @@ public void testCanClickOnALinkThatUpdatesAnotherFrame() {
99100
@JavascriptEnabled
100101
@NoDriverAfterTest // So that next test never starts with "inside a frame" base state.
101102
@Test
103+
@Ignore(value = {MARIONETTE}, reason = "getPageSource issue")
102104
public void testElementsFoundByJsCanLoadUpdatesInAnotherFrame() {
103105
driver.switchTo().frame("source");
104106

@@ -113,6 +115,7 @@ public void testElementsFoundByJsCanLoadUpdatesInAnotherFrame() {
113115

114116
@JavascriptEnabled
115117
@Test
118+
@Ignore(value = {MARIONETTE}, reason = "getPageSource issue")
116119
public void testJsLocatedElementsCanUpdateFramesIfFoundSomehowElse() {
117120
driver.switchTo().frame("source");
118121

@@ -131,6 +134,7 @@ public void testJsLocatedElementsCanUpdateFramesIfFoundSomehowElse() {
131134

132135
@JavascriptEnabled
133136
@Test
137+
@Ignore(value = {MARIONETTE}, reason = "sendKeys is not standard compliant yet")
134138
public void testCanClickOnAnElementWithTopSetToANegativeNumber() {
135139
String page = appServer.whereIs("styledPage.html");
136140
driver.get(page);
@@ -171,7 +175,7 @@ public void testShouldSetRelatedTargetForMouseOver() {
171175

172176
@JavascriptEnabled
173177
@NoDriverAfterTest
174-
@Ignore(value = {SAFARI}, reason = "issue 3693")
178+
@Ignore(value = {SAFARI, MARIONETTE}, reason = "Safari: issue 3693")
175179
@Test
176180
public void testShouldOnlyFollowHrefOnce() {
177181
driver.get(pages.clicksPage);

java/client/test/org/openqa/selenium/CssValueTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public void testGetCssValueShouldReturnStandardizedColour() {
6565

6666
@JavascriptEnabled
6767
@Test
68+
@Ignore(MARIONETTE)
6869
public void testShouldAllowInheritedStylesToBeUsed() {
6970
driver.get(pages.javascriptPage);
7071

java/client/test/org/openqa/selenium/ElementAttributeTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ public void testGetAttributeDoesNotReturnAnObjectForSvgProperties() {
303303
}
304304

305305
@Test
306+
@Ignore(value = {MARIONETTE}, reason = "sendKeys issue")
306307
public void testCanRetrieveTheCurrentValueOfATextFormField_textInput() {
307308
driver.get(pages.formPage);
308309
WebElement element = driver.findElement(By.id("working"));
@@ -312,6 +313,7 @@ public void testCanRetrieveTheCurrentValueOfATextFormField_textInput() {
312313
}
313314

314315
@Test
316+
@Ignore(value = {MARIONETTE}, reason = "sendKeys issue")
315317
public void testCanRetrieveTheCurrentValueOfATextFormField_emailInput() {
316318
driver.get(pages.formPage);
317319
WebElement element = driver.findElement(By.id("email"));
@@ -321,6 +323,7 @@ public void testCanRetrieveTheCurrentValueOfATextFormField_emailInput() {
321323
}
322324

323325
@Test
326+
@Ignore(value = {MARIONETTE}, reason = "sendKeys issue")
324327
public void testCanRetrieveTheCurrentValueOfATextFormField_textArea() {
325328
driver.get(pages.formPage);
326329
WebElement element = driver.findElement(By.id("emptyTextArea"));

java/client/test/org/openqa/selenium/ElementFindingTest.java

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public void testShouldBeAbleToFindASingleElementById() {
5555
}
5656

5757
@Test
58+
@Ignore(MARIONETTE)
5859
public void testShouldBeAbleToFindASingleElementByNumericId() {
5960
driver.get(pages.nestedPage);
6061
WebElement element = driver.findElement(By.id("2"));
@@ -69,6 +70,7 @@ public void testShouldBeAbleToFindMultipleElementsById() {
6970
}
7071

7172
@Test
73+
@Ignore(MARIONETTE)
7274
public void testShouldBeAbleToFindMultipleElementsByNumericId() {
7375
driver.get(pages.nestedPage);
7476
List<WebElement> elements = driver.findElements(By.id("2"));
@@ -91,12 +93,14 @@ public void testShouldNotBeAbleToLocateByIdMultipleElementsThatDoNotExist() {
9193
}
9294

9395
@Test(expected = NoSuchElementException.class)
96+
@Ignore(MARIONETTE)
9497
public void testFindingASingleElementByEmptyIdShouldThrow() {
9598
driver.get(pages.formPage);
9699
driver.findElement(By.id(""));
97100
}
98101

99102
@Test
103+
@Ignore(MARIONETTE)
100104
public void testFindingMultipleElementsByEmptyIdShouldReturnEmptyList() {
101105
driver.get(pages.formPage);
102106
List<WebElement> elements = driver.findElements(By.id(""));
@@ -133,6 +137,7 @@ public void testShouldBeAbleToFindMultipleElementsByName() {
133137
}
134138

135139
@Test
140+
@Ignore(MARIONETTE)
136141
public void testShouldBeAbleToFindAnElementThatDoesNotSupportTheNameProperty() {
137142
driver.get(pages.nestedPage);
138143
WebElement element = driver.findElement(By.name("div1"));
@@ -155,26 +160,30 @@ public void testShouldNotBeAbleToLocateByNameMultipleElementsThatDoNotExist() {
155160
}
156161

157162
@Test(expected = NoSuchElementException.class)
163+
@Ignore(MARIONETTE)
158164
public void testFindingASingleElementByEmptyNameShouldThrow() {
159165
driver.get(pages.formPage);
160166
driver.findElement(By.name(""));
161167
}
162168

163169
@Test
164-
public void testFindingMultipleElementsByEmptyNameShouldThrow() {
170+
@Ignore(MARIONETTE)
171+
public void testFindingMultipleElementsByEmptyNameShouldReturnEmptyList() {
165172
driver.get(pages.formPage);
166173
List<WebElement> elements = driver.findElements(By.name(""));
167174
assertThat(elements.size(), is(0));
168175
}
169176

170177
@Test(expected = NoSuchElementException.class)
178+
@Ignore(MARIONETTE)
171179
public void testFindingASingleElementByNameWithSpaceShouldThrow() {
172180
driver.get(pages.formPage);
173181
driver.findElement(By.name("nonexistent button"));
174182
}
175183

176184
@Test
177-
public void testFindingMultipleElementsByNameWithSpaceShouldThrow() {
185+
@Ignore(MARIONETTE)
186+
public void testFindingMultipleElementsByNameWithSpaceShouldReturnEmptyList() {
178187
driver.get(pages.formPage);
179188
List<WebElement> elements = driver.findElements(By.name("nonexistent button"));
180189
assertThat(elements.size(), is(0));
@@ -212,13 +221,15 @@ public void testShouldNotBeAbleToLocateByTagNameMultipleElementsThatDoNotExist()
212221
}
213222

214223
@Test(expected = NoSuchElementException.class)
224+
@Ignore(MARIONETTE)
215225
public void testFindingASingleElementByEmptyTagNameShouldThrow() {
216226
driver.get(pages.formPage);
217227
driver.findElement(By.tagName(""));
218228
}
219229

220230
@Test
221-
public void testFindingMultipleElementsByEmptyTagNameShouldThrow() {
231+
@Ignore(MARIONETTE)
232+
public void testFindingMultipleElementsByEmptyTagNameShouldReturnEmptyList() {
222233
driver.get(pages.formPage);
223234
List<WebElement> elements = driver.findElements(By.tagName(""));
224235
assertThat(elements.size(), is(0));
@@ -231,7 +242,7 @@ public void testFindingASingleElementByTagNameWithSpaceShouldThrow() {
231242
}
232243

233244
@Test
234-
public void testFindingMultipleElementsByTagNameWithSpaceShouldThrow() {
245+
public void testFindingMultipleElementsByTagNameWithSpaceShouldReturnEmptyList() {
235246
driver.get(pages.formPage);
236247
List<WebElement> elements = driver.findElements(By.tagName("nonexistent button"));
237248
assertThat(elements.size(), is(0));
@@ -325,7 +336,7 @@ public void testFindingMultipleElementsByCompoundClassNameShouldThrow() {
325336
driver.findElements(By.className("a b"));
326337
}
327338

328-
@Ignore(value = {CHROME}, reason = "throws InvalidElementStateException")
339+
@Ignore(value = {CHROME, MARIONETTE}, reason = "Chrome: throws InvalidElementStateException")
329340
@Test(expected = NoSuchElementException.class)
330341
public void testFindingASingleElementByInvalidClassNameShouldThrow() {
331342
driver.get(pages.xhtmlTestPage);

java/client/test/org/openqa/selenium/FormHandlingTest.java

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,34 +73,38 @@ public void testShouldBeAbleToClickImageButtons() {
7373
}
7474

7575
@Test
76+
@Ignore(MARIONETTE)
7677
public void testShouldBeAbleToSubmitForms() {
7778
driver.get(pages.formPage);
7879
driver.findElement(By.name("login")).submit();
7980
wait.until(titleIs("We Arrive Here"));
8081
}
8182

8283
@Test
84+
@Ignore(MARIONETTE)
8385
public void testShouldSubmitAFormWhenAnyInputElementWithinThatFormIsSubmitted() {
8486
driver.get(pages.formPage);
8587
driver.findElement(By.id("checky")).submit();
8688
wait.until(titleIs("We Arrive Here"));
8789
}
8890

8991
@Test
92+
@Ignore(MARIONETTE)
9093
public void testShouldSubmitAFormWhenAnyElementWithinThatFormIsSubmitted() {
9194
driver.get(pages.formPage);
9295
driver.findElement(By.xpath("//form/p")).submit();
9396
wait.until(titleIs("We Arrive Here"));
9497
}
9598

9699
@Test(expected = NoSuchElementException.class)
97-
@Ignore(value = {PHANTOMJS, SAFARI})
100+
@Ignore(value = {PHANTOMJS, SAFARI, MARIONETTE})
98101
public void testShouldNotBeAbleToSubmitAFormThatDoesNotExist() {
99102
driver.get(pages.formPage);
100103
driver.findElement(By.name("SearchableText")).submit();
101104
}
102105

103106
@Test
107+
@Ignore(MARIONETTE)
104108
public void testShouldBeAbleToEnterTextIntoATextAreaBySettingItsValue() {
105109
driver.get(pages.javascriptPage);
106110
WebElement textarea = driver.findElement(By.id("keyUpArea"));
@@ -110,6 +114,7 @@ public void testShouldBeAbleToEnterTextIntoATextAreaBySettingItsValue() {
110114
}
111115

112116
@Test
117+
@Ignore(MARIONETTE)
113118
public void testSendKeysKeepsCapitalization() {
114119
driver.get(pages.javascriptPage);
115120
WebElement textarea = driver.findElement(By
@@ -142,6 +147,7 @@ public void testShouldSubmitAFormUsingTheEnterKey() {
142147
}
143148

144149
@Test
150+
@Ignore(MARIONETTE)
145151
public void testShouldEnterDataIntoFormFields() {
146152
driver.get(pages.xhtmlTestPage);
147153
WebElement element = driver.findElement(By.xpath("//form[@name='someForm']/input[@id='username']"));
@@ -195,7 +201,7 @@ public void testShouldBeAbleToSendKeysToAFileUploadInputElementInAnXhtmlDocument
195201
assertTrue(uploadPath.endsWith(file.getName()));
196202
}
197203

198-
@Ignore(value = {SAFARI},
204+
@Ignore(value = {SAFARI, MARIONETTE},
199205
reason = "Does not yet support file uploads", issues = {4220})
200206
@Test
201207
public void testShouldBeAbleToUploadTheSameFileTwice() throws IOException {
@@ -220,6 +226,7 @@ public void testShouldBeAbleToUploadTheSameFileTwice() throws IOException {
220226
}
221227

222228
@Test
229+
@Ignore(MARIONETTE)
223230
public void testSendingKeyboardEventsShouldAppendTextInInputs() {
224231
driver.get(pages.formPage);
225232
WebElement element = driver.findElement(By.id("working"));
@@ -277,28 +284,28 @@ public void handleFormWithJavascriptAction() {
277284
assertEquals("Tasty cheese", text);
278285
}
279286

280-
@Ignore(value = {SAFARI}, reason = "untested")
287+
@Ignore(value = {SAFARI, MARIONETTE}, reason = "untested")
281288
@Test
282289
public void testCanClickOnASubmitButton() {
283290
checkSubmitButton("internal_explicit_submit");
284291
}
285292

286-
@Ignore(value = {SAFARI}, reason = "untested")
293+
@Ignore(value = {SAFARI, MARIONETTE}, reason = "untested")
287294
@Test
288295
public void testCanClickOnAnImplicitSubmitButton() {
289296
assumeFalse(isIe6(driver) || isIe7(driver) );
290297
checkSubmitButton("internal_implicit_submit");
291298
}
292299

293-
@Ignore(value = {IE, SAFARI},
300+
@Ignore(value = {IE, SAFARI, MARIONETTE},
294301
reason = "IE: failed; Others: untested")
295302
@NotYetImplemented(HTMLUNIT)
296303
@Test
297304
public void testCanClickOnAnExternalSubmitButton() {
298305
checkSubmitButton("external_explicit_submit");
299306
}
300307

301-
@Ignore(value = {IE, SAFARI},
308+
@Ignore(value = {IE, SAFARI, MARIONETTE},
302309
reason = "IE: failed; Others: untested")
303310
@NotYetImplemented(HTMLUNIT)
304311
@Test

java/client/test/org/openqa/selenium/FrameSwitchingTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ public void testShouldBeAbleToSwitchToParentFromAnIframe() {
303303
// ----------------------------------------------------------------------------------------------
304304

305305
@Test
306+
@Ignore(MARIONETTE)
306307
public void testShouldContinueToReferToTheSameFrameOnceItHasBeenSelected() {
307308
driver.get(pages.framesetPage);
308309

java/client/test/org/openqa/selenium/JavascriptEnabledDriverTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ public void testShouldBeAbleToFindElementAfterJavascriptCausesANewPageToLoad() {
9898

9999
@JavascriptEnabled
100100
@Test
101+
@Ignore(MARIONETTE)
101102
public void testShouldBeAbleToDetermineTheLocationOfAnElement() {
102103
driver.get(pages.xhtmlTestPage);
103104

@@ -110,6 +111,7 @@ public void testShouldBeAbleToDetermineTheLocationOfAnElement() {
110111

111112
@JavascriptEnabled
112113
@Test
114+
@Ignore(MARIONETTE)
113115
public void testShouldFireOnChangeEventWhenSettingAnElementsValue() {
114116
driver.get(pages.javascriptPage);
115117
driver.findElement(By.id("change")).sendKeys("foo");
@@ -162,6 +164,7 @@ public void testIssue80ClickShouldGenerateClickEvent() {
162164

163165
@JavascriptEnabled
164166
@Test
167+
@Ignore(MARIONETTE)
165168
public void testShouldBeAbleToSwitchToFocusedElement() {
166169
driver.get(pages.javascriptPage);
167170

@@ -173,6 +176,7 @@ public void testShouldBeAbleToSwitchToFocusedElement() {
173176

174177
@JavascriptEnabled
175178
@Test
179+
@Ignore(MARIONETTE)
176180
public void testIfNoElementHasFocusTheActiveElementIsTheBody() {
177181
driver.get(pages.simpleTestPage);
178182

0 commit comments

Comments
 (0)