Skip to content

Commit

Permalink
Ignoring marionette tests related to mozilla/geckodriver#594
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Apr 6, 2017
1 parent 9c26c4f commit cb5a288
Show file tree
Hide file tree
Showing 13 changed files with 36 additions and 0 deletions.
2 changes: 2 additions & 0 deletions java/client/test/org/openqa/selenium/AlertsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ public void testShouldAllowAUserToDismissAPrompt() {

@JavascriptEnabled
@Test
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/607")
@NotYetImplemented(value = {HTMLUNIT},
reason = "HtmlUnit: click()/prompt need to run in different threads")
public void testShouldAllowAUserToSetTheValueOfAPrompt() {
Expand Down Expand Up @@ -307,6 +308,7 @@ public void testPromptShouldHaveNullValueIfDismissed() {

@JavascriptEnabled
@Test
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/607")
@NotYetImplemented(value = HTMLUNIT,
reason = "HtmlUnit: click()/prompt need to run in different threads.")
public void testHandlesTwoAlertsFromOneInteraction() {
Expand Down
2 changes: 2 additions & 0 deletions java/client/test/org/openqa/selenium/ClickTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ public void testJsLocatedElementsCanUpdateFramesIfFoundSomehowElse() {

@JavascriptEnabled
@Test
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testCanClickOnAnElementWithTopSetToANegativeNumber() {
String page = appServer.whereIs("styledPage.html");
driver.get(page);
Expand Down Expand Up @@ -214,6 +215,7 @@ public void testCanClickOnALinkThatContainsTextWrappedInASpan() {
}

@Test
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testCanClickOnALinkThatContainsEmbeddedBlockElements() {
assumeFalse(
"Fails on Android phones: https://code.google.com/p/chromedriver/issues/detail?id=1022",
Expand Down
2 changes: 2 additions & 0 deletions java/client/test/org/openqa/selenium/ContentEditableTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public void testNonPrintableCharactersShouldWorkWithContentEditableOrDesignModeS
@Test
@Ignore(value = SAFARI, reason = "cannot type on contentEditable with synthetic events, issue 3127")
@Ignore(HTMLUNIT)
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testShouldBeAbleToTypeIntoEmptyContentEditableElement() {
driver.get(pages.readOnlyPage);
WebElement editable = driver.findElement(By.id("content-editable-blank"));
Expand Down Expand Up @@ -117,6 +118,7 @@ public void testShouldBeAbleToTypeIntoContentEditableElementWithExistingValue()
@Ignore(IE)
@Ignore(value = SAFARI, reason = "cannot type on contentEditable with synthetic events, issue 3127")
@Ignore(HTMLUNIT)
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testShouldBeAbleToTypeIntoTinyMCE() {
driver.get(appServer.whereIs("tinymce.html"));
driver.switchTo().frame("mce_0_ifr");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ public void testGetAttributeDoesNotReturnAnObjectForSvgProperties() {

@Test
@Ignore(value = HTMLUNIT, reason = "Possible bug in getAttribute?")
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testCanRetrieveTheCurrentValueOfATextFormField_textInput() {
driver.get(pages.formPage);
WebElement element = driver.findElement(By.id("working"));
Expand All @@ -330,6 +331,7 @@ public void testCanRetrieveTheCurrentValueOfATextFormField_textInput() {

@Test
@Ignore(value = HTMLUNIT, reason = "Possible bug in getAttribute?")
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testCanRetrieveTheCurrentValueOfATextFormField_emailInput() {
driver.get(pages.formPage);
WebElement element = driver.findElement(By.id("email"));
Expand All @@ -340,6 +342,7 @@ public void testCanRetrieveTheCurrentValueOfATextFormField_emailInput() {

@Test
@Ignore(value = HTMLUNIT, reason = "Possible bug in getAttribute?")
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testCanRetrieveTheCurrentValueOfATextFormField_textArea() {
driver.get(pages.formPage);
WebElement element = driver.findElement(By.id("emptyTextArea"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ public void shouldCatchErrorsWithMessageAndStacktraceWhenExecutingInitialScript(

@JavascriptEnabled
@Test
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void shouldBeAbleToExecuteAsynchronousScripts() {
driver.get(pages.ajaxyPage);

Expand Down
11 changes: 11 additions & 0 deletions java/client/test/org/openqa/selenium/FormHandlingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public void testShouldNotBeAbleToSubmitAFormThatDoesNotExist() {

@Test
@Ignore(value = HTMLUNIT, reason = "Possible bug in getAttribute?")
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testShouldBeAbleToEnterTextIntoATextAreaBySettingItsValue() {
driver.get(pages.javascriptPage);
WebElement textarea = driver.findElement(By.id("keyUpArea"));
Expand All @@ -113,6 +114,7 @@ public void testShouldBeAbleToEnterTextIntoATextAreaBySettingItsValue() {

@Test
@Ignore(value = HTMLUNIT, reason = "Possible bug in getAttribute?")
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testSendKeysKeepsCapitalization() {
driver.get(pages.javascriptPage);
WebElement textarea = driver.findElement(By
Expand All @@ -134,6 +136,7 @@ public void testShouldSubmitAFormUsingTheNewlineLiteral() {
}

@Test
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testShouldSubmitAFormUsingTheEnterKey() {
driver.get(pages.formPage);
WebElement nestedForm = driver.findElement(By.id("nested_form"));
Expand All @@ -145,6 +148,7 @@ public void testShouldSubmitAFormUsingTheEnterKey() {

@Test
@Ignore(value = HTMLUNIT, reason = "Possible bug in getAttribute?")
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testShouldEnterDataIntoFormFields() {
driver.get(pages.xhtmlTestPage);
WebElement element = driver.findElement(By.xpath("//form[@name='someForm']/input[@id='username']"));
Expand Down Expand Up @@ -240,6 +244,7 @@ public void testSendingKeyboardEventsShouldAppendTextInInputs() {

@Test
@Ignore(value = HTMLUNIT, reason = "Possible bug in getAttribute?")
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testSendingKeyboardEventsShouldAppendTextInInputsWithExistingValue() {
driver.get(pages.formPage);
WebElement element = driver.findElement(By.id("inputWithText"));
Expand All @@ -251,6 +256,7 @@ public void testSendingKeyboardEventsShouldAppendTextInInputsWithExistingValue()

@Test
@Ignore(value = HTMLUNIT, reason = "Possible bug in getAttribute?")
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testSendingKeyboardEventsShouldAppendTextInTextAreas() {
driver.get(pages.formPage);
WebElement element = driver.findElement(By.id("withText"));
Expand Down Expand Up @@ -288,6 +294,7 @@ public void handleFormWithJavascriptAction() {
@Test
@Ignore(SAFARI)
@Ignore(HTMLUNIT)
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testCanClickOnASubmitButton() {
checkSubmitButton("internal_explicit_submit");
}
Expand All @@ -296,13 +303,15 @@ public void testCanClickOnASubmitButton() {
@Test
@Ignore(SAFARI)
@Ignore(HTMLUNIT)
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testCanClickOnASubmitButtonNestedSpan() {
checkSubmitButton("internal_span_submit");
}

@Test
@Ignore(SAFARI)
@Ignore(HTMLUNIT)
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testCanClickOnAnImplicitSubmitButton() {
assumeFalse(isIe6(driver) || isIe7(driver) );
checkSubmitButton("internal_implicit_submit");
Expand All @@ -312,6 +321,7 @@ public void testCanClickOnAnImplicitSubmitButton() {
@Ignore(IE)
@Ignore(SAFARI)
@Ignore(HTMLUNIT)
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testCanClickOnAnExternalSubmitButton() {
checkSubmitButton("external_explicit_submit");
}
Expand All @@ -320,6 +330,7 @@ public void testCanClickOnAnExternalSubmitButton() {
@Ignore(IE)
@Ignore(SAFARI)
@Ignore(HTMLUNIT)
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testCanClickOnAnExternalImplicitSubmitButton() {
checkSubmitButton("external_implicit_submit");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,7 @@ public void testJavaScriptShouldExecuteInTheContextOfTheCurrentFrame() {

@JavascriptEnabled
@Test
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testShouldNotSwitchMagicallyToTheTopWindow() {
String baseUrl = appServer.whereIs("frame_switching_tests/");
driver.get(baseUrl + "bug4876.html");
Expand Down
3 changes: 3 additions & 0 deletions java/client/test/org/openqa/selenium/I18nTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public void testCn() {

@Test
@Ignore(value = HTMLUNIT, reason = "Possible bug in getAttribute?")
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testEnteringHebrewTextFromLeftToRight() {
driver.get(pages.chinesePage);
WebElement input = driver.findElement(By.name("i18n"));
Expand All @@ -78,6 +79,7 @@ public void testEnteringHebrewTextFromLeftToRight() {

@Test
@Ignore(value = HTMLUNIT, reason = "Possible bug in getAttribute?")
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testEnteringHebrewTextFromRightToLeft() {
driver.get(pages.chinesePage);
WebElement input = driver.findElement(By.name("i18n"));
Expand Down Expand Up @@ -179,6 +181,7 @@ public void testShouldBeAbleToActivateIMEEngine() throws InterruptedException {
@Ignore(CHROME)
@Ignore(FIREFOX)
@Ignore(HTMLUNIT)
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testShouldBeAbleToInputJapanese() {
assumeTrue("IME is supported on Linux only.",
TestUtilities.getEffectivePlatform().is(Platform.LINUX));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public void testShouldBeAbleToFindElementAfterJavascriptCausesANewPageToLoad() {

@JavascriptEnabled
@Test
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testShouldFireOnChangeEventWhenSettingAnElementsValue() {
driver.get(pages.javascriptPage);
driver.findElement(By.id("change")).sendKeys("foo");
Expand Down Expand Up @@ -174,6 +175,7 @@ public void testIfNoElementHasFocusTheActiveElementIsTheBody() {
@JavascriptEnabled
@Test
@Ignore(value = SAFARI, reason = "issue 4061")
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testChangeEventIsFiredAppropriatelyWhenFocusIsLost() {
driver.get(pages.javascriptPage);

Expand Down
1 change: 1 addition & 0 deletions java/client/test/org/openqa/selenium/PageLoadingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ public void testEagerStrategyShouldNotWaitForResources() {
@Ignore(CHROME)
@Ignore(SAFARI)
@Ignore(PHANTOMJS)
@Ignore(MARIONETTE)
@NeedsLocalEnvironment
public void testEagerStrategyShouldNotWaitForResourcesOnRefresh() {
initLocalDriver("eager");
Expand Down
4 changes: 4 additions & 0 deletions java/client/test/org/openqa/selenium/TextHandlingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import static org.openqa.selenium.testing.Driver.ALL;
import static org.openqa.selenium.testing.Driver.HTMLUNIT;
import static org.openqa.selenium.testing.Driver.IE;
import static org.openqa.selenium.testing.Driver.MARIONETTE;

import org.hamcrest.Description;
import org.hamcrest.Matcher;
Expand Down Expand Up @@ -191,6 +192,7 @@ public void testShouldRetainTheFormatingOfTextWithinAPreElementThatIsWithinARegu
@Test
@Ignore(value = IE, reason = "IE: inserts \r\n instead of \n")
@Ignore(HTMLUNIT)
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testShouldBeAbleToSetMoreThanOneLineOfTextInATextArea() {
driver.get(pages.formPage);
WebElement textarea = driver.findElement(By.id("withText"));
Expand All @@ -208,6 +210,7 @@ public void testShouldBeAbleToSetMoreThanOneLineOfTextInATextArea() {

@Test
@Ignore(value = HTMLUNIT, reason = "Possible bug in getAttribute?")
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testShouldBeAbleToEnterDatesAfterFillingInOtherValuesFirst() {
driver.get(pages.formPage);
WebElement input = driver.findElement(By.id("working"));
Expand Down Expand Up @@ -352,6 +355,7 @@ public void testTextOfATextAreaShouldBeEqualToItsDefaultText() {

@Test
@Ignore(IE)
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void testTextOfATextAreaShouldBeEqualToItsDefaultTextEvenAfterTyping() {
driver.get(pages.formPage);
WebElement area = driver.findElement(By.id("withText"));
Expand Down
1 change: 1 addition & 0 deletions java/client/test/org/openqa/selenium/TypingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
import org.openqa.selenium.testing.NotYetImplemented;
import org.openqa.selenium.testing.drivers.Browser;

@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public class TypingTest extends JUnit4TestBase {

@JavascriptEnabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ public void shouldGetMeaningfulExceptionOnBrowserDeath() throws Exception {
@NeedsFreshDriver
@NoDriverAfterTest
@Test
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void shouldWaitUntilBrowserHasClosedProperly() throws Exception {
driver.get(pages.simpleTestPage);
driver.quit();
Expand Down Expand Up @@ -345,6 +346,7 @@ public void shouldBeAbleToStartANewInstanceEvenWithVerboseLogging() {
}

@Test
@NotYetImplemented(value = MARIONETTE, reason = "/window/rect")
public void shouldBeAbleToPassCommandLineOptions() {
FirefoxBinary binary = new FirefoxBinary();
binary.addCommandLineOptions("-width", "800", "-height", "600");
Expand Down Expand Up @@ -474,6 +476,7 @@ private static String randomString() {
}

@Test
@Ignore(value = MARIONETTE, issue = "https://github.com/mozilla/geckodriver/issues/594")
public void multipleFirefoxDriversRunningConcurrently() throws Exception {
int numThreads;
if (!SauceDriver.shouldUseSauce()) {
Expand Down

0 comments on commit cb5a288

Please sign in to comment.