kibana/test
Trevor Pierce dba055c654
Replace Inspector's EuiPopover with EuiComboBox (#113566)
* Replacing EuiPopover with EuiComboBox

* The combobox will help alleviate issues when the list of options is very long

* Refactoring the Combobox to listen for change events

* Added an onChange handler
* Renamed the method to render the combobox
* Commented out additional blocks of code before final refactor

* Finished refactoring the Request Selector to use EUI Combobox

* Removed three helper methods for the EUIPopover.
  * `togglePopover()`
  * `closePopover()`
  * `renderRequestDropdownItem()`
* Removed the local state object and interface (no longer needed)
* Renamed the const `options` to `selectedOptions` in `handleSelectd()`
  method to better reflect where the options array was coming from.

* Updating tests and translations

* Fixed the inspector functional test to use comboBox service
* Removed two unused translations

* Updating Combobox options to pass data-test-sub string

* Updated two tests for Combobox single option
* Updated the test expectations to the default string
* Both tests were looking for a named string instead of a default
  message

* Adding error handling to Inspector combobox
* Checking for the item status code
* Adding a " (failed)" message if the status code returns `2`
* Updating test to look for "Chart_data" instead of "Chartdata"

* Updating two tests to validate single combobox options
* Added helper method to check default text against combobox options
* Added helper method to get the selected combobox option
* Checking two inspector instances using helpers

* Adding a defensive check to helper method.

* Correct a type error in test return

* Adding back translated failLabel

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Nathan L Smith <smith@nlsmith.com>
2021-10-18 11:41:53 -05:00
..
accessibility skip flaky suite (#105171) 2021-10-06 18:16:57 +00:00
api_integration [Visualizations] Make visualization saved object share-capable and remove savedVisLoader (#114620) 2021-10-18 19:14:34 +03:00
common Functional tests - fix retry.waitFor not timing out correctly (#113905) 2021-10-07 11:23:33 +02:00
examples Removes deprecated telemetry.url and telemetry.optInStatusUrl from telemetry plugin config (#114737) 2021-10-15 14:26:43 -04:00
functional Replace Inspector's EuiPopover with EuiComboBox (#113566) 2021-10-18 11:41:53 -05:00
harden Ban use of lodash.template (#100277) 2021-05-19 10:06:52 -04:00
interactive_setup_api_integration Add API integration tests for Interactive Setup. (#111879) 2021-10-14 20:14:01 +02:00
interpreter_functional [MetricVis] Move the expression function and renderer to a separate plugin. (#113427) 2021-10-08 08:42:44 +03:00
new_visualize_flow Timelion App removal (#110255) 2021-09-10 14:53:07 +03:00
package [package testing] Update logs path (#112007) 2021-09-16 16:26:59 -04:00
plugin_functional Add deprecation.skip_deprecated_settings config setting (#114751) 2021-10-15 12:11:21 +02:00
scripts [Unified Integrations] Create Services, Storybook, Replacements Card; add to Fleet (#113816) 2021-10-05 15:29:05 -04:00
server_integration add coreOverall$ to internal status contract (#113729) 2021-10-06 13:49:46 +02:00
ui_capabilities/newsfeed_err [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
visual_regression [test] Migrates visualize esArchive to kbnArchiver (#102850) 2021-06-23 21:12:56 -04:00
tsconfig.json Add API integration tests for Interactive Setup. (#111879) 2021-10-14 20:14:01 +02:00