Skip to content

[Lens] Unskip Lens smokescreen test#71986

Merged
wylieconlon merged 1 commit intoelastic:masterfrom
wylieconlon:lens/unskip-smokescreen
Jul 16, 2020
Merged

[Lens] Unskip Lens smokescreen test#71986
wylieconlon merged 1 commit intoelastic:masterfrom
wylieconlon:lens/unskip-smokescreen

Conversation

@wylieconlon
Copy link
Copy Markdown
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
Copy Markdown
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 Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// 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
Copy Markdown
Contributor

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

await PageObjects.lens.configureDimension({
dimension:
'[data-test-subj="lnsXY_xDimensionPanel"] [data-test-subj="lns-empty-dimension"]',
dimension: 'lnsXY_xDimensionPanel > lns-empty-dimension',
Copy link
Copy Markdown
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
Copy Markdown
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 Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v7.9.0 v7.10.0 v8.0.0

Projects

None yet

4 participants