Skip to content

Commit b60a701

Browse files
committed
Unignoring tests that seem to be fixed in Firefox
1 parent a5c88d3 commit b60a701

File tree

6 files changed

+6
-22
lines changed

6 files changed

+6
-22
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
public class ClickTest extends JUnit4TestBase {
5050

5151
@Before
52-
public void setUp() throws Exception {
52+
public void setUp() {
5353
driver.get(pages.clicksPage);
5454
}
5555

@@ -365,7 +365,6 @@ public void testShouldBeAbleToClickOnAPartiallyOverlappedLinkThatWrapsToTheNextL
365365
}
366366

367367
@Test
368-
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/615")
369368
public void clickingOnADisabledElementIsANoOp() {
370369
driver.get(appServer.whereIs("click_tests/disabled_element.html"));
371370

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
package org.openqa.selenium;
1919

20+
import static org.hamcrest.Matchers.anyOf;
2021
import static org.hamcrest.Matchers.containsString;
2122
import static org.hamcrest.Matchers.equalTo;
2223
import static org.hamcrest.Matchers.instanceOf;
@@ -469,7 +470,6 @@ public void testClickEventsShouldBubble() {
469470

470471
@Test
471472
@Ignore(IE)
472-
@Ignore(MARIONETTE)
473473
@Ignore(SAFARI)
474474
@Ignore(HTMLUNIT)
475475
public void testClickOverlappingElements() {
@@ -478,7 +478,8 @@ public void testClickOverlappingElements() {
478478
WebElement element = driver.findElement(By.id("under"));
479479
Throwable t = catchThrowable(element::click);
480480
assertThat(t, instanceOf(WebDriverException.class));
481-
assertThat(t.getMessage(), containsString("Other element would receive the click"));
481+
assertThat(t.getMessage(), anyOf(containsString("Other element would receive the click"),
482+
containsString("is not clickable at point")));
482483
}
483484

484485
@Test
@@ -528,7 +529,6 @@ public void testNativelyClickOverlappingElements() {
528529
@Test
529530
@Ignore(SAFARI)
530531
@Ignore(HTMLUNIT)
531-
@Ignore(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1417821")
532532
public void testClickAnElementThatDisappear() {
533533
assumeFalse(isOldIe(driver));
534534
driver.get(appServer.whereIs("click_tests/disappearing_element.html"));

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,6 @@ public void testShouldNotBeAbleToLocateASingleElementOnABlankPage() {
787787

788788
@SwitchToTopAfterTest
789789
@Test
790-
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/934")
791790
public void testAnElementFoundInADifferentFrameIsStale() {
792791
driver.get(pages.missedJsReferencePage);
793792
driver.switchTo().frame("inner");

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@
2121
import static org.junit.Assert.assertEquals;
2222
import static org.junit.Assert.assertThat;
2323
import static org.junit.Assert.assertTrue;
24-
import static org.openqa.selenium.testing.Driver.MARIONETTE;
2524

2625
import org.junit.Test;
2726
import org.openqa.selenium.support.ui.ExpectedConditions;
28-
import org.openqa.selenium.testing.Ignore;
2927
import org.openqa.selenium.testing.JUnit4TestBase;
3028

3129
public class ElementSelectingTest extends JUnit4TestBase {
@@ -45,28 +43,24 @@ public void testShouldBeAbleToSelectAnEnabledUnselectedRadioButton() {
4543
}
4644

4745
@Test
48-
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/615")
4946
public void testShouldNotBeAbleToSelectADisabledCheckbox() {
5047
driver.get(pages.formPage);
5148
assertCannotSelect(disabledUnselectedCheckbox());
5249
}
5350

5451
@Test
55-
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/615")
5652
public void testShouldNotBeAbleToSelectADisabledCheckboxDisabledWithRandomString() {
5753
driver.get(pages.formPage);
5854
assertCannotSelect(randomlyDisabledSelectedCheckbox());
5955
}
6056

6157
@Test
62-
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/615")
6358
public void testShouldNotBeAbleToSelectADisabledRadioButton() {
6459
driver.get(pages.formPage);
6560
assertCannotSelect(disabledUnselectedRadioButton());
6661
}
6762

6863
@Test
69-
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/615")
7064
public void testShouldNotBeAbleToSelectADisabledRadioButtonDisabledWithRandomString() {
7165
driver.get(pages.formPage);
7266
assertCannotSelect(randomlyDisabledUnselectedRadioButton());
@@ -146,28 +140,24 @@ public void testShouldBeAbleToSelectSelectableRadioButtonByClickingOnIt() {
146140
}
147141

148142
@Test
149-
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/615")
150143
public void testClickingDisabledSelectedCheckboxShouldBeNoop() {
151144
driver.get(pages.formPage);
152145
assertClickingPreservesCurrentlySelectedStatus(randomlyDisabledSelectedCheckbox());
153146
}
154147

155148
@Test
156-
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/615")
157149
public void testClickingDisabledUnselectedCheckboxShouldBeNoop() {
158150
driver.get(pages.formPage);
159151
assertClickingPreservesCurrentlySelectedStatus(disabledUnselectedCheckbox());
160152
}
161153

162154
@Test
163-
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/615")
164155
public void testClickingDisabledSelectedRadioButtonShouldBeNoop() {
165156
driver.get(pages.formPage);
166157
assertClickingPreservesCurrentlySelectedStatus(disabledSelectedRadioButton());
167158
}
168159

169160
@Test
170-
@Ignore(MARIONETTE)
171161
public void testClickingDisabledUnselectedRadioButtonShouldBeNoop() {
172162
driver.get(pages.formPage);
173163
assertClickingPreservesCurrentlySelectedStatus(disabledUnselectedRadioButton());

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
public class FrameSwitchingTest extends JUnit4TestBase {
5151

5252
@After
53-
public void tearDown() throws Exception {
53+
public void tearDown() {
5454
try {
5555
driver.switchTo().defaultContent();
5656
} catch (Exception e) {
@@ -299,8 +299,7 @@ public void testShouldContinueToReferToTheSameFrameOnceItHasBeenSelected() {
299299

300300
@Test
301301
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/614")
302-
public void testShouldFocusOnTheReplacementWhenAFrameFollowsALinkToA_TopTargetedPage()
303-
throws Exception {
302+
public void testShouldFocusOnTheReplacementWhenAFrameFollowsALinkToA_TopTargetedPage() {
304303
driver.get(pages.framesetPage);
305304

306305
driver.switchTo().frame(0);

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,11 @@
2424
import static org.openqa.selenium.testing.TestUtilities.catchThrowable;
2525

2626
import org.junit.Test;
27-
import org.openqa.selenium.testing.Driver;
28-
import org.openqa.selenium.testing.Ignore;
2927
import org.openqa.selenium.testing.JUnit4TestBase;
3028

3129
public class StaleElementReferenceTest extends JUnit4TestBase {
3230

3331
@Test
34-
@Ignore(value = Driver.MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1410799")
3532
public void testOldPage() {
3633
driver.get(pages.simpleTestPage);
3734
WebElement elem = driver.findElement(By.id("links"));

0 commit comments

Comments
 (0)