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

visualize app visualize app linked saved searched should allow adding filters while having a linked saved search #22234

Closed
liza-mae opened this issue Aug 21, 2018 · 6 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_ui_functional test

Comments

@liza-mae
Copy link
Contributor

liza-mae commented Aug 21, 2018

Kibana version: 6.4. BC6

Elasticsearch version: 6.4 BC6

Server OS version: WIndows

Browser version: Chrome

Browser OS version: Latest

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

Describe the bug:

14:56:11            └-> should allow adding filters while having a linked saved search
14:56:11              └-> "before each" hook: global before each
14:56:11              │ debg TestSubjects.click(addFilter)
14:56:11              │ debg TestSubjects.find(addFilter)
14:56:11              │ debg findByCssSelector [data-test-subj~="addFilter"]
14:56:11              │ debg TestSubjects.find(filterfieldSuggestionList)
14:56:11              │ debg findByCssSelector [data-test-subj~="filterfieldSuggestionList"]
14:56:12              │ debg TestSubjects.find(filterOperatorList)
14:56:12              │ debg findByCssSelector [data-test-subj~="filterOperatorList"]
14:56:12              │ debg TestSubjects.find(filterParams)
14:56:12              │ debg findByCssSelector [data-test-subj~="filterParams"]
14:56:12              │ debg TestSubjects.click(saveFilter)
14:56:12              │ debg TestSubjects.find(saveFilter)
14:56:12              │ debg findByCssSelector [data-test-subj~="saveFilter"]
14:56:12              │ debg isGlobalLoadingIndicatorVisible
14:56:12              │ debg TestSubjects.exists(globalLoadingIndicator)
14:56:12              │ debg existsByDisplayedByCssSelector [data-test-subj~="globalLoadingIndicator"]
14:56:13              │ debg awaitGlobalLoadingIndicatorHidden
14:56:13              │ debg TestSubjects.find(globalLoadingIndicator-hidden)
14:56:13              │ debg findByCssSelector [data-test-subj~="globalLoadingIndicator-hidden"]
14:56:13              │ debg TestSubjects.find(paginated-table-body)
14:56:13              │ debg findByCssSelector [data-test-subj~="paginated-table-body"]
14:56:13              │ info Taking screenshot "/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-selenium/kibana/test/functional/screenshots/failure/visualize app visualize app linked saved searched should allow adding filters while having a linked saved search.png"
14:56:13              │ info Current URL is: http://localhost:5620/app/kibana#/visualize/create?type=table&savedSearchId=08815d80-a79d-11e8-90a5-05e0eedd2891&_g=(refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,mode:absolute,to:%272015-09-21T10:00:00.000Z%27))&_a=(filters:!((%27$state%27:(store:appState),meta:(alias:!n,disabled:!f,index:%27logstash-*%27,key:bytes,negate:!f,params:(gte:100,lt:3000),type:range,value:%27100B%20to%202.93KB%27),range:(bytes:(gte:100,lt:3000)))),linked:!t,query:(language:lucene,query:%27%27),uiState:(vis:(params:(sort:(columnIndex:!n,direction:!n)))),vis:(aggs:!((enabled:!t,id:%271%27,params:(),schema:metric,type:count)),params:(perPage:10,showMetricsAtAllLevels:!f,showPartialRows:!f,showTotal:!f,sort:(columnIndex:!n,direction:!n),totalFunc:sum),title:%27New%20Visualization%27,type:table))
14:56:13              │ info Saving page source to: /var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-selenium/kibana/test/functional/failure_debug/html/visualize app visualize app linked saved searched should allow adding filters while having a linked saved search.html
14:56:13              └- ✖ fail: "visualize app visualize app linked saved searched should allow adding filters while having a linked saved search"
14:56:13              │      Error: expected '3,950' to equal '707'
14:56:13              │       at Assertion.assert (node_modules/expect.js/index.js:96:13)
14:56:13              │       at Assertion.be.Assertion.equal (node_modules/expect.js/index.js:216:10)
14:56:13              │       at Assertion.(anonymous function) [as be] (node_modules/expect.js/index.js:69:24)
14:56:13              │       at Context.it (test/functional/apps/visualize/_linked_saved_searches.js:64:32)
14:56:13              │       at <anonymous>
14:56:13              │       at process._tickCallback (internal/process/next_tick.js:188:7)```
@liza-mae
Copy link
Contributor Author

visualize app visualize app linked saved searched should allow adding filters while having a linked saved search

@liza-mae
Copy link
Contributor Author

This looks like a timing issue since the screenshot looks correct.

@liza-mae
Copy link
Contributor Author

Also failing on cloud

@liza-mae liza-mae added the Feature:Visualizations Generic visualization features (in case no more specific feature label is available) label Aug 23, 2018
@chrisdavies
Copy link
Contributor

I hit this recently on this PR: #21788

Here's the failing build:

https://kibana-ci.elastic.co/job/elastic+kibana+pull-request+multijob-selenium/844/console

At least it seems to be a consistent failure message: "Error: expected '3,950' to equal '707'"

@markov00 markov00 self-assigned this Aug 24, 2018
@liza-mae
Copy link
Contributor Author

liza-mae commented Aug 27, 2018

#22380

@cuff-links
Copy link
Contributor

Closing this in favor of #22380

Flaky / Failed / Skipped Kibana Tests automation moved this from To do to Done Aug 27, 2018
@timroes timroes added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label 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
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_ui_functional test
Development

No branches or pull requests

5 participants