Fix android flaky tests#413
Merged
ki4070ma merged 7 commits intoappium:masterfrom Aug 26, 2019
ki4070ma:fix-android-flaky-tests
Merged
Fix android flaky tests#413ki4070ma merged 7 commits intoappium:masterfrom ki4070ma:fix-android-flaky-tests
ki4070ma merged 7 commits intoappium:masterfrom
ki4070ma:fix-android-flaky-tests
Conversation
| versionSpec: '11.x' | ||
| displayName: Install Node 11.x | ||
| - script: npm install -g appium --chromedriver_version='2.44' | ||
| - script: npm install -g appium@beta --chromedriver_version='2.44' |
Collaborator
Author
|
working in my local again https://github.com/ki4070ma/python-client/pull/5 |
ki4070ma
commented
Aug 17, 2019
KazuCocoa
reviewed
Aug 18, 2019
| self.driver.find_element_by_android_uiautomator('new UiSelector().text("Accessibility")').click() | ||
| self.driver.find_element_by_android_uiautomator('new UiSelector().text("Accessibility Node Querying")').click() | ||
| el = self.driver.find_element_by_class_name('android.widget.ListView') | ||
| if is_ci(): |
Member
There was a problem hiding this comment.
Did you find the cause?
I guess the uiautomator works fine if the app launched successfully.
Or uiautomator did not work in sometimes..
Collaborator
Author
There was a problem hiding this comment.
Did you find the cause?
No for now.
Actually I can say the uiautomator works fine since other cases are ok.
And this case is ok on almost executions, but sometimes failed...
I'll look into more details after this PR.
Collaborator
Author
|
Triggered rebuild due to below error. |
KazuCocoa
approved these changes
Aug 20, 2019
Collaborator
Author
|
will merge after #427 |
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For #377
Changes
Remaining TODO in the next PR
Target stability
10 times successes in a row
https://dev.azure.com/ki4070ma/python-client/_build?definitionId=2&_a=summary
[commit] Don't run flaky tests on CI
The agent: Azure Pipelines 4 lost communication with the server. Verify the machine is running and has a healthy network connection. For more information, see: https://go.microsoft.com/fwlink/?linkid=846610