-
Notifications
You must be signed in to change notification settings - Fork 15
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
Feature/support selenium 4 #292
Conversation
...rc/main/java/eu/tsystems/mms/tic/testframework/webdrivermanager/DesktopWebDriverFactory.java
Outdated
Show resolved
Hide resolved
...ktop/src/main/java/eu/tsystems/mms/tic/testframework/webdrivermanager/HttpClientFactory.java
Show resolved
Hide resolved
driver-ui/src/main/java/eu/tsystems/mms/tic/testframework/utils/DefaultCapabilityUtils.java
Outdated
Show resolved
Hide resolved
...c/main/java/eu/tsystems/mms/tic/testframework/webdrivermanager/AbstractWebDriverRequest.java
Show resolved
Hide resolved
...ava/eu/tsystems/mms/tic/testframework/test/webdrivermanager/DesktopWebDriverFactoryTest.java
Outdated
Show resolved
Hide resolved
|
||
WEB_DRIVER_MANAGER.removeGlobalCapability("t04Global"); | ||
|
||
SessionContext sessionContext = WEB_DRIVER_MANAGER.getSessionContext(driver).get(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SuppressWarnings("OptionalGetWithoutIsPresent")
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There must be a session context, otherwise the test will fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thence I suggest to suppress the warning. It helps keeping warnings relevant. ... Feel free to skip though - I did not check for this thoroughly, just noticed because I had the file open anyway.
… feature/support-selenium-4 # Conflicts: # build.gradle
# Conflicts: # driver-ui-desktop/src/main/java/eu/tsystems/mms/tic/testframework/webdrivermanager/DesktopWebDriverFactory.java # driver-ui/src/main/java/eu/tsystems/mms/tic/testframework/webdrivermanager/AbstractWebDriverRequest.java # integration-tests/src/test/java/eu/tsystems/mms/tic/testframework/test/webdrivermanager/DesktopWebDriverFactoryTest.java
# Conflicts: # driver-ui/src/main/java/eu/tsystems/mms/tic/testframework/utils/DefaultCapabilityUtils.java # integration-tests/src/test/java/eu/tsystems/mms/tic/testframework/playground/DriverAndGuiElementTest.java # integration-tests/src/test/java/eu/tsystems/mms/tic/testframework/test/webdrivermanager/DesktopWebDriverFactoryTest.java
…lities (fixed with Selenium 4)
…enium-4 # Conflicts: # driver-ui/src/main/java/eu/tsystems/mms/tic/testframework/hooks/DriverUiHook.java # report-ng-tests/src/test/java/io/testerra/report/test/AbstractReportTest.java
# Conflicts: # integration-tests/src/test/java/eu/tsystems/mms/tic/testframework/playground/DriverAndGuiElementTest.java
# Conflicts: # integration-tests/src/test/java/io/testerra/test/status/CheckTestStatusTest.java
@@ -28,7 +28,5 @@ public class Browsers { | |||
public static final String ie = "ie"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is ie browser still needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. I think nobody will use it any more but it is still part of Selenium: https://www.selenium.dev/documentation/webdriver/browsers/internet_explorer/
@@ -15,8 +15,6 @@ The following types of browsers are supported: | |||
* ie |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is ie browser still needed?
# Conflicts: # integration-tests/src/test/java/eu/tsystems/mms/tic/testframework/playground/DriverAndGuiElementTest.java # integration-tests/src/test/java/io/testerra/test/status/CheckTestStatusTest.java
Description
DesktopWebDriverRequest
) are merged into browser options. (also see Selenium Browser Options)This PR replaces #210 because this is based on Testerra 2.
Fixes #285
Type of change
Please delete options that are not relevant.
Checklist: