-
-
Notifications
You must be signed in to change notification settings - Fork 760
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
The addition to #477 #480
The addition to #477 #480
Conversation
- the enum `io.appium.java_client.android.ConfiguratorParameters` was removed - new elements were added to the `io.appium.java_client.android.Settings` - refactoring of the `io.appium.java_client.HasSettings`.
@SrinivasanTarget @truebit |
@@ -76,8 +76,7 @@ default void ignoreUnimportantViews(Boolean compress) { | |||
* @param timeout in milliseconds, 0 would reset to its default value |
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.
negative value would reset, not 0, for all configurator settings.Because in some circumstances, 0 would be used to disable timeouts on purpose. see here
@@ -22,26 +22,23 @@ | |||
|
|||
@Test public void configuratorTest() { | |||
driver.configuratorSetActionAcknowledgmentTimeout(5); | |||
assertJSONElementContains("setActionAcknowledgmentTimeout", 5); | |||
assertJSONElementContains(Setting.WAIT_ACTION_ACKNOWLEDGMENT_TIMEOUT, 5); |
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.
timeout value is in milliseconds. use 500 or more could be more understandable.
@truebit ok |
Change list
io.appium.java_client.android.ConfiguratorParameters
was removedio.appium.java_client.android.Settings
io.appium.java_client.HasSettings
.Types of changes
What types of changes are you proposing/introducing to Java client?
Details
This change was made according to the conversation #477 (see the end)