-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
run java tests on safari #16754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
titusfortner
wants to merge
2
commits into
trunk
Choose a base branch
from
java_safari
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
run java tests on safari #16754
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -160,7 +160,6 @@ public void testShouldScrollOverflowElementsIfClickPointIsOutOfViewButElementIsI | |
|
|
||
| @SwitchToTopAfterTest | ||
| @Test | ||
| @NotYetImplemented(SAFARI) | ||
| @Ignore( | ||
| value = FIREFOX, | ||
| reason = "frame not scrolled into view", | ||
|
|
@@ -185,7 +184,6 @@ void testShouldBeAbleToClickElementThatIsOutOfViewInAFrame() { | |
|
|
||
| @SwitchToTopAfterTest | ||
| @Test | ||
| @NotYetImplemented(SAFARI) | ||
| public void testShouldBeAbleToClickElementThatIsOutOfViewInAFrameThatIsOutOfView() { | ||
| driver.get(appServer.whereIs("scrolling_tests/page_with_scrolling_frame_out_of_view.html")); | ||
| driver.switchTo().frame("scrolling_frame"); | ||
|
|
@@ -215,7 +213,6 @@ public void testShouldBeAbleToClickElementThatIsOutOfViewInANestedFrame() { | |
| value = FIREFOX, | ||
| reason = "horizontal scroll bar gets in the way", | ||
| issue = "https://github.com/mozilla/geckodriver/issues/2013") | ||
| @NotYetImplemented(SAFARI) | ||
| public void testShouldBeAbleToClickElementThatIsOutOfViewInANestedFrameThatIsOutOfView() { | ||
| driver.get( | ||
| appServer.whereIs("scrolling_tests/page_with_nested_scrolling_frames_out_of_view.html")); | ||
|
|
@@ -242,7 +239,6 @@ private long getScrollTop() { | |
|
|
||
| @SwitchToTopAfterTest | ||
| @Test | ||
| @NotYetImplemented(SAFARI) | ||
| @Ignore( | ||
| value = FIREFOX, | ||
| reason = "frame not scrolled into view", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -106,7 +106,6 @@ void testSendKeysKeepsCapitalization() { | |
|
|
||
| @Test | ||
| @NotYetImplemented(FIREFOX) | ||
| @NotYetImplemented(SAFARI) | ||
| public void testShouldSubmitAFormUsingTheNewlineLiteral() { | ||
| driver.get(pages.formPage); | ||
| WebElement nestedForm = driver.findElement(By.id("nested_form")); | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,16 +18,13 @@ | |
| package org.openqa.selenium; | ||
|
|
||
| import static org.assertj.core.api.Assertions.assertThat; | ||
| import static org.openqa.selenium.testing.drivers.Browser.SAFARI; | ||
|
|
||
| import org.junit.jupiter.api.Test; | ||
| import org.openqa.selenium.testing.JupiterTestBase; | ||
| import org.openqa.selenium.testing.NotYetImplemented; | ||
|
|
||
| class SvgDocumentTest extends JupiterTestBase { | ||
|
|
||
| @Test | ||
| @NotYetImplemented(SAFARI) | ||
| public void testClickOnSvgElement() { | ||
| driver.get(pages.svgTestPage); | ||
| WebElement rect = driver.findElement(By.id("rect")); | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -64,7 +64,6 @@ void testShouldCountElementsAsVisibleIfStylePropertyHasBeenSet() { | |
| } | ||
|
|
||
| @Test | ||
| @NotYetImplemented(SAFARI) | ||
| public void testShouldModifyTheVisibilityOfAnElementDynamically() { | ||
| driver.get(pages.javascriptPage); | ||
|
|
||
|
|
@@ -107,7 +106,6 @@ void testShouldNotBeAbleToTypeToAnElementThatIsNotDisplayed() { | |
| } | ||
|
|
||
| @Test | ||
| @NotYetImplemented(SAFARI) | ||
| public void testZeroSizedDivIsShownIfDescendantHasSize() { | ||
| driver.get(pages.javascriptPage); | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,6 +41,7 @@ | |
| import org.openqa.selenium.testing.NeedsFreshDriver; | ||
| import org.openqa.selenium.testing.drivers.Browser; | ||
|
|
||
| @Ignore(value = Browser.SAFARI, reason = "Safari does not support BiDi") | ||
| class WebNetworkTest extends JupiterTestBase { | ||
|
|
||
| private String page; | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,8 +33,11 @@ | |
| import org.openqa.selenium.bidi.script.RemoteValue; | ||
| import org.openqa.selenium.print.PrintOptions; | ||
| import org.openqa.selenium.remote.RemoteWebDriver; | ||
| import org.openqa.selenium.testing.Ignore; | ||
| import org.openqa.selenium.testing.JupiterTestBase; | ||
| import org.openqa.selenium.testing.drivers.Browser; | ||
|
|
||
| @Ignore(value = Browser.SAFARI, reason = "Safari does not support BiDi") | ||
| class WebScriptExecuteTest extends JupiterTestBase { | ||
|
|
||
| @Test | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,9 +34,12 @@ | |
| import org.openqa.selenium.remote.DomMutation; | ||
| import org.openqa.selenium.remote.RemoteWebDriver; | ||
| import org.openqa.selenium.support.ui.WebDriverWait; | ||
| import org.openqa.selenium.testing.Ignore; | ||
| import org.openqa.selenium.testing.JupiterTestBase; | ||
| import org.openqa.selenium.testing.NeedsFreshDriver; | ||
| import org.openqa.selenium.testing.drivers.Browser; | ||
|
|
||
| @Ignore(value = Browser.SAFARI, reason = "Safari does not support BiDi") | ||
| class WebScriptTest extends JupiterTestBase { | ||
|
|
||
| String page; | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.