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

dashboard app using legacy data dashboard listing page search by title stays on listing page if title matches two dashboards #22300

Closed
liza-mae opened this issue Aug 23, 2018 · 3 comments · Fixed by #72086
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Dashboard Dashboard related features low Team:Visualizations Visualization editors, elastic-charts and infrastructure test test-cloud

Comments

@liza-mae
Copy link
Contributor

Kibana version: 6.4. BC6

Elasticsearch version: 6.4 BC6

Server OS version: Cloud

Browser version: Chrome

Browser OS version: Latest

Original install method (e.g. download page, yum, from source, etc.): staging

Describe the bug:
└- ✖ fail: "dashboard app using legacy data dashboard listing page search by title stays on listing page if title matches two dashboards"
21:35:50 │ Error: Expected to find "saveDashboardSuccess" toast after saving dashboard
21:35:50 │ at DashboardPage.saveDashboard (test/functional/page_objects/dashboard_page.js:306:15)
21:35:50 │ at
21:35:50 │ at process._tickCallback (internal/process/next_tick.js:188:7)
21:35:50 │
21:35:50 │

@liza-mae
Copy link
Contributor Author

dashboard app using legacy data dashboard listing page search by title stays on listing page if title matches two dashboards

@stacey-gammon
Copy link
Contributor

hit again:

             └-> stays on listing page if title matches two dashboards
               └-> "before each" hook: global before each
               │ debg TestSubjects.exists(newDashboardLink)
               │ debg existsByDisplayedByCssSelector [data-test-subj~="newDashboardLink"]
               │ debg TestSubjects.click(newDashboardLink)
               │ debg TestSubjects.find(newDashboardLink)
               │ debg findByCssSelector [data-test-subj~="newDashboardLink"]
               │ debg DashboardPage.saveDashboard(two words, {"needsConfirm":true}
               │ debg TestSubjects.click(dashboardSaveMenuItem)
               │ debg TestSubjects.find(dashboardSaveMenuItem)
               │ debg findByCssSelector [data-test-subj~="dashboardSaveMenuItem"]
               │ debg isGlobalLoadingIndicatorVisible
               │ debg TestSubjects.exists(globalLoadingIndicator)
               │ debg existsByDisplayedByCssSelector [data-test-subj~="globalLoadingIndicator"]
               │ debg awaitGlobalLoadingIndicatorHidden
               │ debg TestSubjects.find(globalLoadingIndicator-hidden)
               │ debg findByCssSelector [data-test-subj~="globalLoadingIndicator-hidden"]
               │ debg entering new title
               │ debg TestSubjects.click(dashboardTitle)
               │ debg TestSubjects.find(dashboardTitle)
               │ debg findByCssSelector [data-test-subj~="dashboardTitle"]
               │ debg DashboardPage.clickSave
               │ debg DashboardPage.waitForSaveButtonIsEnabled
               │ debg TestSubjects.find(confirmSaveDashboardButton)
               │ debg findByCssSelector [data-test-subj~="confirmSaveDashboardButton"]
               │ debg TestSubjects.click(confirmSaveDashboardButton)
               │ debg TestSubjects.find(confirmSaveDashboardButton)
               │ debg findByCssSelector [data-test-subj~="confirmSaveDashboardButton"]
               │ debg DashboardPage.clickSave
               │ debg DashboardPage.waitForSaveButtonIsEnabled
               │ debg TestSubjects.find(confirmSaveDashboardButton)
               │ debg findByCssSelector [data-test-subj~="confirmSaveDashboardButton"]
               │ debg TestSubjects.click(confirmSaveDashboardButton)
               │ debg TestSubjects.find(confirmSaveDashboardButton)
               │ debg findByCssSelector [data-test-subj~="confirmSaveDashboardButton"]
               │ debg isGlobalLoadingIndicatorVisible
               │ debg TestSubjects.exists(globalLoadingIndicator)
               │ debg existsByDisplayedByCssSelector [data-test-subj~="globalLoadingIndicator"]
               │ debg awaitGlobalLoadingIndicatorHidden
               │ debg TestSubjects.find(globalLoadingIndicator-hidden)
               │ debg findByCssSelector [data-test-subj~="globalLoadingIndicator-hidden"]
               │ debg TestSubjects.exists(saveDashboardSuccess)
               │ debg existsByDisplayedByCssSelector [data-test-subj~="saveDashboardSuccess"]
               │ info Taking screenshot "/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-selenium/kibana/test/functional/screenshots/failure/dashboard app using legacy data dashboard listing page search by title stays on listing page if title matches two dashboards.png"
               │ info Current URL is: http://localhost:5620/app/kibana#/dashboard?_g=()&_a=(description:%27%27,filters:!(),fullScreenMode:!f,options:(darkTheme:!f,hidePanelTitles:!f,useMargins:!t),panels:!(),query:(language:lucene,query:%27%27),timeRestore:!f,title:%27New%20Dashboard%27,viewMode:edit)
               │ info Saving page source to: /var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-selenium/kibana/test/functional/failure_debug/html/dashboard app using legacy data dashboard listing page search by title stays on listing page if title matches two dashboards.html
               └- ✖ fail: "dashboard app using legacy data dashboard listing page search by title stays on listing page if title matches two dashboards"
               │      Error: Expected to find "saveDashboardSuccess" toast after saving dashboard
               │       at DashboardPage.saveDashboard (test/functional/page_objects/dashboard_page.js:317:15)
               │       at <anonymous>
               │       at process._tickCallback (internal/process/next_tick.js:188:7)

same screenshot from above.

Waiting for the confirm save button to be enabled before clicking it did not help (https://github.com/elastic/kibana/pull/22766/files)

@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Dashboard Dashboard related features and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure :Sharing labels Sep 13, 2018
@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

Very infrequent failures, on 6.x and 6.4. Will keep around, but low priority.

screen shot 2019-01-08 at 6 34 58 pm

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:Dashboard Dashboard related features low Team:Visualizations Visualization editors, elastic-charts and infrastructure test test-cloud
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants