Skip to content

Commit

Permalink
Ignoring failed tests, regression in marionette. Bug-reports submitte…
Browse files Browse the repository at this point in the history
…d and referenced in the tests.
  • Loading branch information
barancev committed Nov 7, 2017
1 parent 8a0099a commit 8dd34cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions java/client/test/org/openqa/selenium/SvgElementTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,21 @@
import static org.junit.Assume.assumeFalse;
import static org.openqa.selenium.WaitingConditions.elementTextToEqual;
import static org.openqa.selenium.testing.Driver.HTMLUNIT;
import static org.openqa.selenium.testing.Driver.MARIONETTE;
import static org.openqa.selenium.testing.TestUtilities.isOldIe;

import org.junit.Test;
import org.openqa.selenium.testing.Ignore;
import org.openqa.selenium.testing.JUnit4TestBase;
import org.openqa.selenium.testing.NotYetImplemented;

import java.util.List;

public class SvgElementTest extends JUnit4TestBase {

@Test
@Ignore(value = HTMLUNIT, reason="test should enable JavaScript")
@NotYetImplemented(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1415068")
public void testShouldClickOnGraphVisualElements() {
assumeFalse("IE version < 9 doesn't support SVG", isOldIe(driver));

Expand Down Expand Up @@ -68,6 +71,7 @@ private static WebElement findAppleElement(List<WebElement> textElements) {

@Test
@Ignore(value = HTMLUNIT, reason="test should enable JavaScript")
@NotYetImplemented(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1415068")
public void testShouldClickOnGraphTextElements() {
assumeFalse("IE version < 9 doesn't support SVG", isOldIe(driver));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
import org.openqa.selenium.testing.NeedsFreshDriver;
import org.openqa.selenium.testing.NeedsLocalEnvironment;
import org.openqa.selenium.testing.NoDriverAfterTest;
import org.openqa.selenium.testing.NotYetImplemented;
import org.openqa.selenium.testing.drivers.SauceDriver;
import org.openqa.selenium.testing.drivers.WebDriverBuilder;

Expand Down Expand Up @@ -563,9 +564,11 @@ public void searchingByCssDoesNotOverwriteExistingSizzleDefinition() {
}

@Test
@NotYetImplemented(value = MARIONETTE, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1415067")
public void testFirefoxCanNativelyClickOverlappingElements() {
Capabilities caps = new ImmutableCapabilities(CapabilityType.OVERLAPPING_CHECK_DISABLED, true);
WebDriver secondDriver = new FirefoxDriver(caps);
FirefoxOptions options = new FirefoxOptions();
options.setCapability(CapabilityType.OVERLAPPING_CHECK_DISABLED, true);
WebDriver secondDriver = new FirefoxDriver(options);
try {
secondDriver.get(appServer.whereIs("click_tests/overlapping_elements.html"));
secondDriver.findElement(By.id("under")).click();
Expand Down

0 comments on commit 8dd34cf

Please sign in to comment.