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 retry to avoid stale element references #25973

Merged
merged 4 commits into from
Nov 21, 2018

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Nov 20, 2018

Fixes #25892

This should address the flakiness observed in this issue by retrying if there is a stale element in the complex PageObjects.visualize.filterOnTableCell() method, and using testSubjects.getVisibleText() rather than calling getVisibleText() directly on the element without retrying.

@spalger spalger added Feature:Data Table Data table visualization feature v7.0.0 Team:Visualizations Visualization editors, elastic-charts and infrastructure v6.6.0 v6.5.2 labels Nov 20, 2018
@spalger spalger requested a review from timroes November 20, 2018 21:23
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@elasticmachine

This comment has been minimized.

@elasticmachine

This comment has been minimized.

@elasticmachine

This comment has been minimized.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger
Copy link
Contributor Author

spalger commented Nov 21, 2018

retest

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger
Copy link
Contributor Author

spalger commented Nov 21, 2018

retest

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger
Copy link
Contributor Author

spalger commented Nov 21, 2018

retest

Copy link
Contributor

@timroes timroes left a comment

Choose a reason for hiding this comment

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

Code LGTM, lets hope it fixes the behavior :)

@spalger spalger merged commit 7e57c10 into elastic:master Nov 21, 2018
spalger pushed a commit to spalger/kibana that referenced this pull request Nov 21, 2018
…lastic#25973)

Fixes elastic#25892

This should address the flakiness observed in this issue by retrying if there is a stale element in the complex `PageObjects.visualize.filterOnTableCell()` method, and using `testSubjects.getVisibleText()` rather than calling `getVisibleText()` directly on the element without retrying.
spalger pushed a commit to spalger/kibana that referenced this pull request Nov 21, 2018
…lastic#25973)

Fixes elastic#25892

This should address the flakiness observed in this issue by retrying if there is a stale element in the complex `PageObjects.visualize.filterOnTableCell()` method, and using `testSubjects.getVisibleText()` rather than calling `getVisibleText()` directly on the element without retrying.
spalger pushed a commit that referenced this pull request Nov 21, 2018
…25973) (#26017)

Fixes #25892

This should address the flakiness observed in this issue by retrying if there is a stale element in the complex `PageObjects.visualize.filterOnTableCell()` method, and using `testSubjects.getVisibleText()` rather than calling `getVisibleText()` directly on the element without retrying.
@spalger
Copy link
Contributor Author

spalger commented Nov 21, 2018

6.x/6.6: a24dc15
6.5: 7d9f5a4

spalger pushed a commit that referenced this pull request Nov 22, 2018
…25973) (#26018)

Fixes #25892

This should address the flakiness observed in this issue by retrying if there is a stale element in the complex `PageObjects.visualize.filterOnTableCell()` method, and using `testSubjects.getVisibleText()` rather than calling `getVisibleText()` directly on the element without retrying.
@spalger spalger deleted the fix/flaky-25892 branch November 22, 2018 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Data Table Data table visualization feature Team:Visualizations Visualization editors, elastic-charts and infrastructure v6.5.2 v6.6.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants