Skip to content

Commit

Permalink
Ignoring some tests that hang in Safari TP so that it does not respon…
Browse files Browse the repository at this point in the history
…d anymore
  • Loading branch information
barancev committed Mar 8, 2020
1 parent 51de536 commit bdef858
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,7 @@ public void testShouldNotBeAbleToFindAnElementOnABlankPage() {

@NeedsFreshDriver
@Test
@Ignore(SAFARI)
public void testShouldNotBeAbleToLocateASingleElementOnABlankPage() {
// Note we're on the default start page for the browser at this point.
assertThatExceptionOfType(NoSuchElementException.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ public void testShouldBeAbleToExecuteScriptAndReturnElementsList() {
@Test
@NotYetImplemented(value = HTMLUNIT,
reason = "HtmlUnit: can't execute JavaScript before a page is loaded")
@Ignore(SAFARI)
public void testShouldBeAbleToExecuteScriptOnNoPage() {
String text = (String) executeScript("return 'test';");
assertThat(text).isEqualTo("test");
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 @@ -266,6 +266,7 @@ public void testShouldDoNothingIfThereIsNothingToGoBackTo() {
}

@Test
@Ignore(SAFARI)
public void testShouldBeAbleToNavigateBackInTheBrowserHistory() {
driver.get(pages.formPage);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public void testClickingOnAButtonThatClosesAnOpenWindowDoesNotCauseTheBrowserToH
}

@Test
@NotYetImplemented(SAFARI)
@Ignore(SAFARI)
@Ignore(EDGE)
public void testCanCallGetWindowHandlesAfterClosingAWindow() throws Exception {
assumeFalse(Browser.detect() == Browser.OPERA &&
Expand Down

0 comments on commit bdef858

Please sign in to comment.