Skip to content
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

[pageObjects/visualize] use testSubjects.setValue() to avoid partial input #29903

Merged
merged 1 commit into from
Feb 2, 2019

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Feb 2, 2019

Fixes #29373
Fixes #29833

This flaky test is caused by the filter input box not being filled in completely. I was able to reproduce this once locally, but only after running the tests a couple times. To fix this I tried switching to the testSubjects.setValue() function, which focuses the input and clears its value before attempting to type into the field. This seems to have a higher success rate as I was able to run the test 40 times after making the change without a failure.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger spalger merged commit 32190e3 into elastic:master Feb 2, 2019
spalger pushed a commit to spalger/kibana that referenced this pull request Feb 2, 2019
…input (elastic#29903)

Fixes elastic#29373
Fixes elastic#29833

This flaky test is caused by the filter input box not being filled in completely. I was able to reproduce this once locally, but only after running the tests a couple times. To fix this I tried switching to the `testSubjects.setValue()` function, which focuses the input and clears its value before attempting to type into the field. This seems to have a higher success rate as I was able to run the test 40 times after making the change without a failure.
spalger pushed a commit that referenced this pull request Feb 3, 2019
…input (#29903) (#29904)

Fixes #29373
Fixes #29833

This flaky test is caused by the filter input box not being filled in completely. I was able to reproduce this once locally, but only after running the tests a couple times. To fix this I tried switching to the `testSubjects.setValue()` function, which focuses the input and clears its value before attempting to type into the field. This seems to have a higher success rate as I was able to run the test 40 times after making the change without a failure.
@spalger
Copy link
Contributor Author

spalger commented Feb 3, 2019

6.x/6.7: 7bd3137

@spalger spalger deleted the fix/flaky-test-29373 branch February 3, 2019 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment