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

Filtering visualizations with double-quotes is intermittent #14688

Closed
LeeDr opened this issue Oct 31, 2017 · 2 comments
Closed

Filtering visualizations with double-quotes is intermittent #14688

LeeDr opened this issue Oct 31, 2017 · 2 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Visualizations Generic visualization features (in case no more specific feature label is available) Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@LeeDr
Copy link

LeeDr commented Oct 31, 2017

Kibana version: 6.0.0-rc2

Elasticsearch version: 6.0.0-rc2

Server OS version: CentOS

Browser version: Chrome

Browser OS version: Windows 10

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

Description of the problem including expected versus actual behavior:
Because of another issue with filtering, I changed the integration-test automation to filter the list of visualizations with the full name wrapped in double-quotes. Sometimes this works as expected and I get only the single matching result. And sometimes it doesn't work and treats it like there are no double-quotes.

I think it's likely an issue with how it searches as the filter is being typed by Selenium.
I have not reproduced this manually.
It's not an issue that the list didn't have time to update after the last " was typed because you can see the test retrying to click on the link for the visualization 20 seconds apart.

Steps to reproduce:

  1. Create some saved visualizations
  2. try to filter the list on the exact name of a visualization by wrapping it in double-quotes
  3. it should return only the matching visualization(s), but sometimes returns a much larger list as if the double-quotes were not there.

Here's the output from an automated test trying to click on the link for the visualization but it can't because its not on the first page of results.

09:41:30.212: tryForTime failure: [POST http://localhost:4444/wd/hub/session/f7e6578bfa9c50e00ba4d926d7c6b5b4/element / {"using":"link text","value":"Top Transactions for Time Period [APM]"}] no such element: Unable to locate element: {"method":"link text","selector":"Top Transactions for Time Period [APM]"}
  (Session info: chrome=61.0.3163.100)
  (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 10.0.15063 x86_64)
09:41:50.732: tryForTime failure: [POST http://localhost:4444/wd/hub/session/f7e6578bfa9c50e00ba4d926d7c6b5b4/element / {"using":"link text","value":"Top Transactions for Time Period [APM]"}] no such element: Unable to locate element: {"method":"link text","selector":"Top Transactions for Time Period [APM]"}
  (Session info: chrome=61.0.3163.100)
  (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 10.0.15063 x86_64)
09:41:51.238: Taking screenshot "C:\git\integration-test\test\screenshots\failure\failure_1509460911238_check apm-server_Top Transactions for Time Period [APM]- should have expected test data.png"
>> FAIL: chrome on any platform - kibana - apm-server app - check apm-server - Top Transactions for Time Period [APM]- should have expected test data (48981ms)
Error: timeout [POST http://localhost:4444/wd/hub/session/f7e6578bfa9c50e00ba4d926d7c6b5b4/element / {"using":"link text","value":"Top Transactions for Time Period [APM]"}] no such element: Unable to locate element: {"method":"link text","selector":"Top Transactions for Time Period [APM]"}

And here's the screenshot when it failed;

failure_1509460911238_check apm-server_top transactions for time period apm - should have expected test data

@LeeDr LeeDr added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) bug Fixes for quality problems that affect the customer experience labels Oct 31, 2017
@timroes timroes added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Sep 16, 2018
@stratoula
Copy link
Contributor

I am closing it as I cant replicate it in master

@rudolf
Copy link
Contributor

rudolf commented Jan 23, 2023

Unlike visualization listing, Saved object management doesn't use the default_search_operator: AND so this behaviour is still unexpected in saved object management.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Visualizations Generic visualization features (in case no more specific feature label is available) Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants