Skip to content

Commit 2992ce0

Browse files
committed
Ignoring hanging tests for Marionette in Firefox nightly
1 parent 055325c commit 2992ce0

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed

dotnet/test/common/ExecutingJavascriptTest.cs

+5
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,11 @@ public void ShouldBeAbleToPassInMoreThanOneArgument()
387387
[Category("Javascript")]
388388
public void ShouldBeAbleToGrabTheBodyOfFrameOnceSwitchedTo()
389389
{
390+
if (TestUtilities.IsMarionette(driver))
391+
{
392+
Assert.Ignore("Marionette hangs once this test finishes.");
393+
}
394+
390395
driver.Url = richTextPage;
391396

392397
driver.SwitchTo().Frame("editFrame");

dotnet/test/common/MiscTest.cs

+5
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ public void ShouldReturnTitle()
6060
[Test]
6161
public void ShouldNotHaveProblemOpeningNonExistingPage()
6262
{
63+
if (TestUtilities.IsMarionette(driver))
64+
{
65+
Assert.Ignore("Marionette does not handle malformed URLs.");
66+
}
67+
6368
driver.Url = "www.doesnotexist.comx";
6469
Assert.Throws<NoSuchElementException>(() => { IWebElement e = driver.FindElement(By.Id("Bla")); });
6570
}

dotnet/test/common/TypingTest.cs

+20
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,11 @@ public void GenerateKeyPressEventEvenWhenElementPreventsDefault()
659659
[IgnoreBrowser(Browser.WindowsPhone, "Cannot type on contentEditable with synthetic events")]
660660
public void TypingIntoAnIFrameWithContentEditableOrDesignModeSet()
661661
{
662+
if (TestUtilities.IsMarionette(driver))
663+
{
664+
Assert.Ignore("Marionette does not ContentEditable.");
665+
}
666+
662667
driver.Url = richTextPage;
663668

664669
driver.SwitchTo().Frame("editFrame");
@@ -683,6 +688,11 @@ public void TypingIntoAnIFrameWithContentEditableOrDesignModeSet()
683688
[IgnoreBrowser(Browser.WindowsPhone, "Cannot type on contentEditable with synthetic events")]
684689
public void NonPrintableCharactersShouldWorkWithContentEditableOrDesignModeSet()
685690
{
691+
if (TestUtilities.IsMarionette(driver))
692+
{
693+
Assert.Ignore("Marionette does not ContentEditable.");
694+
}
695+
686696
driver.Url = richTextPage;
687697

688698
// not tested on mac
@@ -731,6 +741,11 @@ public void ShouldBeAbleToTypeOnANumberInputField()
731741
[IgnoreBrowser(Browser.WindowsPhone, "Cannot type on contentEditable with synthetic events")]
732742
public void ShouldBeAbleToTypeIntoEmptyContentEditableElement()
733743
{
744+
if (TestUtilities.IsMarionette(driver))
745+
{
746+
Assert.Ignore("Marionette does not ContentEditable.");
747+
}
748+
734749
driver.Url = readOnlyPage;
735750
IWebElement editable = driver.FindElement(By.Id("content-editable"));
736751

@@ -747,6 +762,11 @@ public void ShouldBeAbleToTypeIntoEmptyContentEditableElement()
747762
[Test]
748763
public void ShouldBeAbleToTypeIntoContentEditableElementWithExistingValue()
749764
{
765+
if (TestUtilities.IsMarionette(driver))
766+
{
767+
Assert.Ignore("Marionette does not ContentEditable.");
768+
}
769+
750770
driver.Url = readOnlyPage;
751771
IWebElement editable = driver.FindElement(By.Id("content-editable"));
752772

dotnet/test/common/UploadTest.cs

+10
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ public void Teardown()
2929
[IgnoreBrowser(Browser.WindowsPhone, "Does not yet support file uploads")]
3030
public void ShouldAllowFileUploading()
3131
{
32+
if (TestUtilities.IsMarionette(driver))
33+
{
34+
Assert.Ignore("Marionette does not upload with upload element.");
35+
}
36+
3237
driver.Url = uploadPage;
3338
driver.FindElement(By.Id("upload")).SendKeys(testFile.FullName);
3439
driver.FindElement(By.Id("go")).Submit();
@@ -46,6 +51,11 @@ public void ShouldAllowFileUploading()
4651
//[IgnoreBrowser(Browser.IE, "Transparent file upload element not yet handled")]
4752
public void ShouldAllowFileUploadingUsingTransparentUploadElement()
4853
{
54+
if (TestUtilities.IsMarionette(driver))
55+
{
56+
Assert.Ignore("Marionette does not upload with tranparent upload element.");
57+
}
58+
4959
driver.Url = transparentUploadPage;
5060
driver.FindElement(By.Id("upload")).SendKeys(testFile.FullName);
5161
driver.FindElement(By.Id("go")).Submit();

0 commit comments

Comments
 (0)