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

[Lens] Unskip Lens smokescreen test #71986

Merged
merged 1 commit into from
Jul 16, 2020

Conversation

wylieconlon
Copy link
Contributor

@wylieconlon wylieconlon commented Jul 15, 2020

This fixes the flakiness in the Lens smokescreen test in two places:

  • Opening the chart switcher
  • Clicking dimensions

By adding a retry to work around this issue. #71256

I ran 42 successful tests in the flaky test runner: https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/592/

Fixes #71304

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

page load bundle size

id value diff baseline
lens 863.8KB -2.0B 863.8KB

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@wylieconlon wylieconlon added release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.10.0 v7.9.0 v8.0.0 labels Jul 16, 2020
@wylieconlon wylieconlon marked this pull request as ready for review July 16, 2020 14:40
@wylieconlon wylieconlon requested a review from a team July 16, 2020 14:40
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@@ -36,22 +36,19 @@ export default function ({ getPageObjects, getService }) {
await PageObjects.visualize.clickLensWidget();
await PageObjects.lens.goToTimeRange();
await PageObjects.lens.configureDimension({
dimension:
'[data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]',
dimension: 'lnsXY_xDimensionPanel > lns-empty-dimension',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I recently read through the source code for our testSubjects implementation, and found out that these are equivalent.

@wylieconlon wylieconlon requested a review from timroes July 16, 2020 15:12
Copy link
Contributor

@flash1293 flash1293 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, did not test locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Lens release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.9.0 v7.10.0 v8.0.0
Projects
None yet
4 participants