-
-
Notifications
You must be signed in to change notification settings - Fork 768
feat: add pollDelay mechanism into AppiumFluentWait #2116
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
feat: add pollDelay mechanism into AppiumFluentWait #2116
Conversation
@mykola-mokhnach is there something else I need to do for merging this PR? |
Co-authored-by: Valery Yatsynovich <[email protected]>
it looks like CI became unhappy |
Yes, a little bit of patience ;-). We check it as soon as there is some free time |
A length rule failed in the pipeline. What do you use for checking the rules? Do you use the Google standard styling rules? |
.orElseGet(() -> "waiting for " + isTrue); | ||
|
||
var timeoutMessage = String.format( | ||
"Expected condition failed: %s (tried for %s millis with an interval of %s millis)", |
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.
millis -> ms
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.
Done
Change list
Please provide briefly described change list which are you going to propose.
Types of changes
What types of changes are you proposing/introducing to Java client?
Put an
x
in the boxes that applyDetails
These changes will allow the
AppiumFluentWait
to sleep for a definedpollDelay
before starting to verify the condition is true. It includes a little refactor to theuntil
method, so it will be more readable.