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

Flaky test visualize app linked saved searched and lab mode, appears to not navigate to URL #20980

Closed
liza-mae opened this issue Jul 19, 2018 · 7 comments
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Visualizations Generic visualization features (in case no more specific feature label is available) Team:Visualizations Visualization editors, elastic-charts and infrastructure test

Comments

@liza-mae
Copy link
Contributor

Kibana: 6.x

Looks like test: visualize app linked saved searched should create a visualization from a saved search is still flaky. The odd thing about this one is it appears to not navigate: even though the URL is correct: appUrl = http://localhost:5620/app/kibana#visualize/new

12:51:28 │ proc [ftr] └-> "before all" hook
12:51:29 │ proc [ftr] │ debg currentUrl = http://localhost:5620/app/kibana#discover/
12:51:29 │ proc [ftr] │ appUrl = http://localhost:5620/app/kibana#discover/
12:51:31 │ proc [ftr] │ debg saveSearch
12:51:31 │ proc [ftr] │ debg TestSubjects.click(discoverSaveButton)
12:51:31 │ proc [ftr] │ debg TestSubjects.find(discoverSaveButton)
12:51:31 │ proc [ftr] │ debg findByCssSelector [data-test-subj~="discoverSaveButton"]
12:51:32 │ proc [ftr] │ debg TestSubjects.click(discoverSaveSearchButton)
12:51:32 │ proc [ftr] │ debg TestSubjects.find(discoverSaveSearchButton)
12:51:32 │ proc [ftr] │ debg findByCssSelector [data-test-subj~="discoverSaveSearchButton"]
12:51:32 │ proc [ftr] │ debg isGlobalLoadingIndicatorVisible
12:51:32 │ proc [ftr] │ debg TestSubjects.exists(globalLoadingIndicator)
12:51:32 │ proc [ftr] │ debg existsByDisplayedByCssSelector [data-test-subj~="globalLoadingIndicator"]
12:51:32 │ info [o.e.c.m.MetaDataIndexTemplateService] [XyB6nz0] adding template [kibana_index_template:.kibana] for index patterns [.kibana]
12:51:33 │ proc [ftr] │ debg awaitGlobalLoadingIndicatorHidden
12:51:33 │ proc [ftr] │ debg TestSubjects.find(globalLoadingIndicator-hidden)
12:51:33 │ proc [ftr] │ debg findByCssSelector [data-test-subj~="globalLoadingIndicator-hidden"]
12:51:33 │ proc [ftr] └-> should create a visualization from a saved search
12:51:33 │ proc [ftr] └-> "before each" hook: global before each
12:51:33 │ proc [ftr] │ debg navigateToApp visualize new
12:51:34 │ proc [ftr] │ debg currentUrl = http://localhost:5620/app/kibana#/discover/76997df0-8b52-11e8-8f7d-cda79db7dc23?_g=()&_a=(columns:!(_source),filters:!(),index:%27logstash-*%27,interval:auto,query:(language:lucene,query:%27%27),sort:!(%27@timestamp%27,desc))
12:51:34 │ proc [ftr] │ appUrl = http://localhost:5620/app/kibana#visualize/new
12:51:34 │ proc [ftr] │ debg TestSubjects.find(visualizeSelectTypePage)
12:51:34 │ proc [ftr] │ debg findByCssSelector [data-test-subj~="visualizeSelectTypePage"]
12:51:35 │ proc [ftr] │ debg --- tryForTime error: [POST http://localhost:9515/session/9d3f0e25c478fa054c6b47a70e55603c/element / {"using":"css selector","value":"[data-test-subj~="visualizeSelectTypePage"]"}] no such element: Unable to locate element: {"method":"css selector","selector":"[data-test-subj~="visualizeSelectTypePage"]"}

@liza-mae liza-mae added the test label Jul 19, 2018
@liza-mae liza-mae self-assigned this Jul 19, 2018
@liza-mae
Copy link
Contributor Author

@liza-mae
Copy link
Contributor Author

I re-enabled this test, thinking it would be fixed with changes from PR: #20782 but it appears not to be so, going to revert the tests back to skip util this specific issue can be looked at and debugged.

@liza-mae
Copy link
Contributor Author

Actually I may try a fix, maybe we should use navigateToApp instead of navigateToUrl

@liza-mae
Copy link
Contributor Author

Related to: #19750

@liza-mae
Copy link
Contributor Author

Visualize test lab mode appears also be impacted from looking at recent CI failures and looking at the code which is similar to linked saved search. Not able to reproduce locally, but the navigate method should be replaced to try to see if it fixes it.

@liza-mae liza-mae changed the title Flaky test visualize app linked saved searched, appears to not navigate to URL Flaky test visualize app linked saved searched and lab mode, appears to not navigate to URL Jul 23, 2018
@liza-mae liza-mae added the Feature:Visualizations Generic visualization features (in case no more specific feature label is available) label Jul 23, 2018
@timroes timroes added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Sep 16, 2018
@rayafratkina
Copy link
Contributor

Removed the version labels: we should not be assigning version until the PR is merged.

@liza-mae liza-mae added failed-test A test failure on a tracked branch, potentially flaky-test and removed flaky-failing-test labels Nov 1, 2018
@stacey-gammon
Copy link
Contributor

Haven't seen this failure in 60 days, so closing. Don't look skipped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Visualizations Generic visualization features (in case no more specific feature label is available) Team:Visualizations Visualization editors, elastic-charts and infrastructure test
Projects
None yet
Development

No branches or pull requests

5 participants