Skip to content

Conversation

AlessandroMiccoli
Copy link
Contributor

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 apply

  • No changes in production code.
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Details

These changes will allow the AppiumFluentWait to sleep for a defined pollDelay before starting to verify the condition is true. It includes a little refactor to the until method, so it will be more readable.

@valfirst valfirst linked an issue Feb 15, 2024 that may be closed by this pull request
@AlessandroMiccoli
Copy link
Contributor Author

@mykola-mokhnach is there something else I need to do for merging this PR?

@mykola-mokhnach
Copy link
Contributor

it looks like CI became unhappy

@mykola-mokhnach
Copy link
Contributor

@mykola-mokhnach is there something else I need to do for merging this PR?

Yes, a little bit of patience ;-). We check it as soon as there is some free time

@AlessandroMiccoli
Copy link
Contributor Author

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)",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

millis -> ms

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@mykola-mokhnach mykola-mokhnach merged commit 63bcbf5 into appium:master Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorporate Poll Delay in Appium Fluent Wait
3 participants