* unskip test and change we how assert for expected states
* REVERT - added .only for flaky test runner
* remove .only
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Pass title from dashboard panel to charts
* Fix lint
* Fix CI
* Fix CI
* Fix CI
* Add 'ariaLabel' in expressions
* Fix text
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This PR fixes the functional test runner for execution against cloud (and other existing deployments) by making sure the system_indices_superuser exists.
Enable configuring of the row height using document explorer in Discover
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: andreadelrio <andrea.delrio@elastic.co>
* Fix autocomplete inserting comma in triple quotes
* Fix inserting commas and flaky test
* Fixed problems on triple quotes and single quotes replacement.
* Fixed cursor position after adding a comma to the prefix.
* Final generic solution for multiple edge cases.
Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Yaroslav Kuznietsov <kuznetsov.yaroslav.yk@gmail.com>
* [TSVB] Add more functional tests for Timeseries Annotations
* Move common code to beforeEach block
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* eui to 46.1.0
* use optimize build
* dataGridWrapper -> euiDataGridBody
* remove unused dep from bazel
* use column-index and row-index attrs
* datagrid test fixes
* prevent duplicate global styles
* snapshot updates
* rendering_service test
* update comment
* clean up
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* First very draft version
* Added validation, clean up code
* Some fixes
* Adapt components to the new UI design
* Some fixes
* Fix validation
* Fix lint errors
* Fix metric vis for new color stop UI
* Fix problems with keeping state of auto detecting max/min value
* Add tests
* Fix CI
* Fix tests
* Fix some lint problems
* Fix CI
* Fix min/max behavior for heatmap
* Fix checks.
* Fix auto value when we add new color range
* Fix check task
* Fix some issues
* Some fixes
* Fix functional tests
* small fix for heatmap
* Fix test
* Update comment-description
* fix PR comments
* do some refactoring (work in progress)
* do some refactoring (work in progress)
* some cleanup
* some cleanup
* wp: fix validation
* wip: fix validation
* push some refactoring
* do some refactoring
* add useDebounce
* add useReducer
* remove autoValue
* fix validation
* update validation logic
* revert getStopsForFixedMode
* some updates
* update EuiColorPaletteDisplay palette arg
* push some logic
* push some logic
* update validation messages
* push some updates
* fix some logic
* fix some cases
* fix JES
* fix CI
* reset continuity
* fix functional tests
* fix issue with -infinite/+infinite
* fix CI
* push some updates
* Update x-pack/plugins/lens/public/shared_components/coloring/color_ranges/color_ranges_reducer.tsx
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
* Update x-pack/plugins/lens/public/shared_components/coloring/color_ranges/color_ranges_validation.tsx
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
* fix some comments
* make color ranges crud methods "immutable"
* fix Max. value input size
* fix PR comment
* fix tests
* Fix edit/min/max buttons behavior
* Fix entering decimal values and max/min value behavior
* Fix lint
* Fix getNormalizedValueByRange for case when min == max
* Fix table cell coloring
* add warning messages
* Move color ranges reducer upper to palette_configuration (#3)
* Move color ranges reducer upper to palette_configuration
* Remove from local state unnecessary params
* Fix some cases
* Fix lint
* use one dataBounds type across palette configuration
* cleanup
* Fix some behavior
* Fix checks
* Some clean up
* Some fixes
* Some fixes
* Fix validation
* Fix CI
* Add unit tests for color_ranges_crud util
* Fix unit test
* Add unit tests for color ranges utils.ts
* Add allowEditMinMaxValues props and fix validation
* Fix CI
* Rename allowEditMinMaxValues to disableSwitchingContinuity
* Add unit tests for color_ranges_validation
* Add unit tests for updateRangeType and changeColorPalette functions
* Add unit tests for color_ranges_extra_actions
* Fix checks
* Clean up code
* Some fixes
* Fix unit-tests
* Fix comments
* Some changes
* Fix tests
* Fix all comments
* Fix Checks
* Fix CI
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
* Timelion rescaling vertical bounds incorrectly on window resize
* Update test axis labels data as chart has another scale due to updated padding
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Clone all panels by value.
* Moved removal of byReference properties to getInputAsValueType.
* Fixed handling of clone titles.
* Fixed functional and unit clone tests.
* Removed duplicate check for byReference.
* Unset title on Visualize embeddable when by value.
* Remove unused import.
* Added by reference logic for saved search embeddables.
* Re-added unit tests for cloning by reference.
* Added functional tests.
* Added Jest unit tests.
* Ignored TypeScript errors for calling private functions in Jest tests.
* Adjusted logic for generating clone titles.
* Edited unit and functional tests for clone titles.
* Fixed typo in Jest tests.
* Keep hidden panel title status.
* Fix Jest test description.
* Remove unused import.
* Fixed Jest tests after new title logic.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Fix autocomplete missing comma on the correct location
* Add a test case
Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
add performance tests for Login and Home pages
- [x] Rename and reduce the number of environment variables for performance test CI job
- [x] ITERATION_COUNT_ENV => PERF_TEST_COUNT
- [x] DISABLE_CACHE, TEST_RUNNER, TEST_THROTTLE_NETWORK removed
- [x] Use c2-16 queue for performance tests
- [x] Run performance tests by running ES and Kibana separately
- [x] Add warmup phase to performance tests (Not reported to APM). APM Label: PERF_TEST_PHASE
- [x] Add playwright dependency
- [x] Throttle network speed ( downloadThroughput: 750.000 B/s, uploadThroughput: 750.000 B/s, latency: 100 ms )
- [x] Disable cache by using - page.route (‘**’, ….)
- [x] Login and Home pages performance tests.
* refactor install/uninstall routes
* only skip failing tests
* check for aliases when uninstalling sample datasets
* fix return value
* add unit tests
* factorize installer creation
* add tests for the alias scenario
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [WIP] Combine visualizations and visualize plugins
* Revert some changes and do some refactoring
* Refactor some code
* Fix some tests
* Fix functional tests and some jest test cases
* Update telemetry
* Fix get_visualization_instance.test and plugin-list.asciidoc
* Refactor some code
* fix CI
* Add visualizations to vis_default_editor tsconfig
* Revert changes related to telemetry and permissions
* Add dashboard to timeseries tsconfig.json
* Update limits file
* Update translation keys
* Add capabilitiesProvider back to server and replace visEditorsRegistry getter and setter with service
* Update mocks.ts
* Revert changes related to visEditorsRegistry
* Get rid of visEditorsRegistry getter and setter
* Remove dashboard from timeseries/tsconfig.json
* Return back dashboard dependency to timeseries/tsconfig.json, rename applicaion folder to visualize_app and APP_NAME to VISUALIZE_APP_NAME, revert types.ts
* Remove comma in .i18nrc.json
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
* [Discover] add kibana services provider for embeddable
* [Discover] add functional test
* [Discover] fix functional test
* [Discover] fix data grid test
* [Discover] go to discover main page before each test
* [Discover] remove redundant navigation to discover
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>