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

[Discover] Unskip functional sidebar test #81188

Merged

Conversation

kertal
Copy link
Member

@kertal kertal commented Oct 20, 2020

Summary

Confirmed to be flaky by using the flaky test runner https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/912/, which failed with the following screen

image

It's checking for the sidebar filter to be hidden ... in the screenshot it's hidden, that's what's happening in the logs:

[00:16:03]               └-> "before all" hook
[00:16:03]               └-> should reveal and hide the filter form when the toggle is clicked
[00:16:03]                 └-> "before each" hook: global before each
[00:16:03]                 │ debg TestSubjects.click(toggleFieldFilterButton)
[00:16:03]                 │ debg Find.clickByCssSelector('[data-test-subj="toggleFieldFilterButton"]') with timeout=10000
[00:16:03]                 │ debg Find.findByCssSelector('[data-test-subj="toggleFieldFilterButton"]') with timeout=10000
[00:16:03]                 │ debg TestSubjects.exists(filterSelectionPanel)
[00:16:03]                 │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="filterSelectionPanel"]') with timeout=120000
[00:16:03]                 │ debg TestSubjects.click(toggleFieldFilterButton)
[00:16:03]                 │ debg Find.clickByCssSelector('[data-test-subj="toggleFieldFilterButton"]') with timeout=10000
[00:16:03]                 │ debg Find.findByCssSelector('[data-test-subj="toggleFieldFilterButton"]') with timeout=10000
[00:16:03]                 │ debg TestSubjects.missingOrFail(filterSelectionPanel)
[00:16:03]                 │ debg TestSubjects.waitForHidden(filterSelectionPanel)
[00:16:03]                 │ debg TestSubjects.find(filterSelectionPanel)
[00:16:03]                 │ debg Find.findByCssSelector('[data-test-subj="filterSelectionPanel"]') with timeout=10000
[00:16:05]                 │ debg Find.waitForElementHidden with timeout=2500
[00:16:05]                 │ info Taking screenshot "/dev/shm/workspace/kibana/test/functional/screenshots/failure/discover app discover sidebar field filtering should reveal and hide the filter form when the toggle is clicked.png"

This PR fixes this flakiness, but also the flaky tests runner uncovers another flakiness by a different test:

https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/925/

Here discover app discover doc table add and remove columns should remove columns from the table is failing in a flaky way, started #82430 for this

Fixes #80914

Checklist

Delete any items that are not applicable to this PR.

@kertal kertal self-assigned this Oct 20, 2020
@kertal kertal added the Feature:Discover Discover Application label Oct 20, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

@kertal kertal added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Nov 3, 2020
@kertal kertal requested a review from spalger November 3, 2020 13:37
@kertal kertal added the release_note:skip Skip the PR/issue when compiling release notes label Nov 3, 2020
@kertal kertal requested a review from mistic November 3, 2020 13:37
@kertal kertal marked this pull request as ready for review November 3, 2020 15:13
@elasticmachine
Copy link
Contributor

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

@spalger
Copy link
Contributor

spalger commented Nov 3, 2020

This PR fixes this flakiness, but also the flaky tests runner uncovers another flakiness by a different test:

Sounds like we can't merge this until the other flakiness is fixed too. Sounds like we should merge the two PRs because we can't unskip the suite until it's not flaky.

@kertal
Copy link
Member Author

kertal commented Nov 3, 2020

This PR fixes this flakiness, but also the flaky tests runner uncovers another flakiness by a different test:

Sounds like we can't merge this until the other flakiness is fixed too. Sounds like we should merge the two PRs because we can't unskip the suite until it's not flaky.

@spalger The new flaky ones are in a different file (_doc_table.ts), but in the same group, that's why I couldn't get a flaky test without failures (ran the whole group)

Copy link
Contributor

@spalger spalger left a comment

Choose a reason for hiding this comment

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

LGTM

@kertal kertal merged commit 82ee8ae into elastic:master Nov 3, 2020
kertal added a commit to kertal/kibana that referenced this pull request Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Discover Discover Application release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.11.0 v8.0.0
Projects
None yet
4 participants