-
Notifications
You must be signed in to change notification settings - Fork 294
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
fix: don't allow negative swipe duration #2073
Conversation
Make sure to run ./maestro-ios-xctest-runner/build-maestro-ios-runner.sh with every swift change |
element: | ||
id: "maestro" | ||
direction: DOWN | ||
speed: 110 |
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.
Setting speed > 100 yields a negative duration so this is intended
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.
Hmmm, might be some change that we have setting on duration for this maestro release.
I believe this one:
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 that is suspicious but I couldn't figure out how this would yield a negative duration without setting the speed in a flow.
@@ -3135,6 +3135,42 @@ class IntegrationTest { | |||
) | |||
} | |||
|
|||
@Test | |||
fun `Case 118 - Scroll until view is visible - no negative values allowed`() { |
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.
Nice!
* fix: don't allow negative swipe duration * update ios driver
* fix: don't allow negative swipe duration * update ios driver
No description provided.