Commit graph

4878 commits

Author SHA1 Message Date
Shivindera Singh
01d479108b
allow filtering index pattern UI for runtime fields (#124114)
* allow filtering index pattern UI for runtime fields

* fix namespace error

* add multi select filters

* add fix for failing tests

* test fixes
2022-02-09 10:13:59 +01:00
Tiago Costa
0a8dde3d43
skip flaky suite (#124986) 2022-02-09 02:44:06 +00:00
Kibana Machine
1f3b7f405e skip failing test suite (#124990) 2022-02-08 15:19:37 -05:00
Robert Oskamp
befefc3347
FTR - check ES security before creating system_indices_superuser (#124948)
This PR adds a check if ES security is enabled before creating the system_indices_superuser in the security service.
2022-02-08 16:32:10 +01:00
Lee Drengenberg
b8abe763c9
split date_nested kbn_archive out of es_archive (#124646)
* split kbn_archive out of es_archive

* add missing unload of kbn_archive

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-08 08:44:50 -06:00
Jean-Louis Leysens
ee9f01e925
Unskip test scripted fields preview (#124358)
* 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>
2022-02-08 15:12:25 +01:00
Tiago Costa
778cc79c29
skip flaky suite (#118288) 2022-02-07 17:30:39 +00:00
Uladzislau Lasitsa
807c625ea9
[Dashboard] Pass in title to Charts (#122319)
* 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>
2022-02-07 15:40:41 +03:00
Robert Oskamp
8989ead2d6
Functional test runner creates system_indices_superuser (#124008)
This PR fixes the functional test runner for execution against cloud (and other existing deployments) by making sure the system_indices_superuser exists.
2022-02-04 11:23:47 +01:00
Spencer
cc0380a461
[ci-stats] send test results to ci-stats service (#123740)
* [ci-stats] send test results to ci-stats service

* move export to export type
2022-02-03 16:00:38 -08:00
Matthew Kime
f3ff2291f5
less deprecated index pattern apis (#124313) 2022-02-02 10:39:59 -06:00
Vadim Kibana
28ba010233
Short URL browser client (#121886) 2022-02-02 11:26:41 +01:00
Dmitry Tomashevich
a7e0171dfa
[Discover] Add row height options for document explorer (#122087)
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>
2022-02-02 07:24:46 +01:00
Tiago Costa
822edb4f58
skip flaky suite (#123556) 2022-02-01 03:30:43 +00:00
Tiago Costa
b942e5609b
skip flaky suite (#124104) 2022-02-01 02:16:13 +00:00
Maja Grubic
9b20c4f035
[Discover] Create data view from sidebar (#123391)
* [Discover] Create data view from sidebar

* Fix failing unit test

* Fix invalid import

* Addressing PR comments

* Add horizontal separator

* Design tweaks

* Update unit test

* Remove double declaration

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
2022-01-31 16:03:22 +01:00
Muhammad Ibragimov
17134697a0
[Console] Fix autocomplete inserting comma in triple quotes (#123572)
* 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>
2022-01-31 11:58:13 +02:00
Diana Derevyankina
110dc8b7cb
[TSVB] Add more functional tests for Timeseries Annotations (#123906)
* [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>
2022-01-29 00:29:04 +03:00
Greg Thompson
e84f370ef0
Upgrade EUI to v46.1.0 (#123652)
* 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>
2022-01-28 08:53:36 -06:00
Anton Dosov
2f468993d4
Improve version type support (#123739) 2022-01-28 14:18:45 +01:00
Alejandro Fernández Haro
7dedc8871c
[Fixtures/Newsfeed] Server-side importing public types (#123923) 2022-01-27 17:08:25 +01:00
Maja Grubic
baa6510547
[Discover] Redirect if no data views (#123366)
* [Discover] Redirect if new Kibana instance

* Add a functional test

* Remove state; add redirect

* Code polishing

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-27 15:05:58 +01:00
Alexey Antonov
7e1b780672
[TSVB] Fix shard failures are not reported (#123474)
* [TSVB] Fix shard failures are not reported #122944

Closes: #122944

* fix PR comments

* Update ui_settings.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-27 16:12:50 +03:00
Nick Partridge
71e9c609fc
Upgrade elastic charts v43.1.1 (#121593) 2022-01-27 12:15:33 +01:00
Pierre Gayvallet
5dbe2737cb
Remove default value for deprecation level (#123411)
* Remove default value for deprecation level

* add missing levels

* update tsdoc

* fix test levels

* another missing level

* fix more types

* change console.ssl deprecation level to critical
2022-01-26 08:02:33 +01:00
Uladzislau Lasitsa
95f2967c24
[Lens] Improve color stop UI (#119165)
* 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>
2022-01-25 17:27:43 +03:00
Rudolf Meijering
c64c766444
Log deprecations originating from Kibana on debug level (#123660)
* Log deprecations originating from Kibana on debug level

* Surface debug level deprecation logs on CI

* Review feedback
2022-01-25 04:38:05 -07:00
Tyler Smalley
23739f5f4d
Support for superuser not having write access (#123337)
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
Co-authored-by: Timothy Sullivan <tsullivan@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-24 09:39:08 -08:00
Diana Derevyankina
6ee1e37a36
Timelion rescaling vertical bounds incorrectly on window resize (#123534)
* 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>
2022-01-24 16:46:15 +03:00
Brian Seeders
556d00d3a8
skip single flaky test #123556 2022-01-23 16:15:32 -05:00
Brian Seeders
a2677b8163
Revert "skip failing test suite (#123456)"
This reverts commit ac72ef20f8.
2022-01-23 16:12:23 -05:00
Kibana Machine
ac72ef20f8 skip failing test suite (#123456) 2022-01-23 08:43:35 -05:00
Hannah Mudge
b1d7731afa
[Dashboard] Clone ReferenceOrValueEmbeddables by value. (#122199)
* 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>
2022-01-20 08:33:14 -07:00
vladpro25
df163c63f6
[Kibana][Dev Console][Autocomplete] Autocomplete missing comma on correct location (#121611)
* 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>
2022-01-20 09:11:50 +05:00
Dmitry Tomashevich
8b40fc2054
[Discover] Fix saved search hidden chart can't be opened when returning to Discover (#122745)
* [Discover] fix hide chart

* [Discover] fix unit test

* [Discover] fix state persistence on stateContainer updates

* [Discover] fix functional tests

* [Discover] add functional test

* [Discover] apply suggestions

* [Discover] return unnecessary code position change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-19 14:58:57 +03:00
Brian Seeders
7a70f857f3
[package-testing] Fix docker testing (#123249) 2022-01-18 13:03:24 -05:00
Joe Reuter
38de5842a9
[Lens] Implement rare terms (#121500) 2022-01-18 16:33:35 +01:00
Baturalp Gurdin
eeb5efcc62
Performance Tests for Login and Home Pages by using Playwright (#119681)
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.
2022-01-18 14:00:06 +03:00
Matthias Wilhelm
b6473c9aa3
[Discover] Unskip and improve runtime field test (#123054) 2022-01-17 15:19:02 +01:00
Pierre Gayvallet
683ab102ae
[sample data] handle index aliases when installing/uninstalling datasets (#122689)
* 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>
2022-01-17 10:27:52 +01:00
Kibana Machine
11aabdcf8e skip failing test suite (#116059) 2022-01-14 10:19:40 -05:00
Dmitry Tomashevich
6956d9c1fe
[Discover] Fix context view for document ids containing special characters (#122737)
* [Discover] fix encoded param for context

* [Discover] add functional test

* [Discover] add test file

* [Discover] change field name

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-14 12:14:08 +03:00
Tim Sullivan
fddd1aafb4
[Screenshotting] Add functional test for report generation of dashboard with Maps embeddable (#122887)
* [Screenshotting] Add functional test for report with Maps embeddable

* make checkIfPngsMatch shareable

* add baseline file

* add functional test with new map saved object

* add .gitignore

* file structure corrections

* add ciGroup to test

* revert unintentional change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-13 16:52:36 -07:00
Matthias Wilhelm
8f37f88b47
[Discover] Fix page up and down navigation in classic table (#122742)
* Fix page up and down navigation in classic table
* Change focus element of Back to top button to "Go to end of the table"
2022-01-13 18:13:58 +01:00
Diana Derevyankina
a9ec1be357
Combine visualizations and visualize plugins (#121550)
* [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>
2022-01-12 16:49:22 +03:00
Aleh Zasypkin
2ba281b8aa
Cleaning up after DLS functional tests. (#122426) 2022-01-11 09:50:57 +01:00
Dmitry Tomashevich
f5aa068ef2
[Discover] Add kibana services provider for embeddable (#121621)
* [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>
2022-01-10 19:55:28 +03:00
Matthias Wilhelm
e938f4cb12
[Discover] Unskip flaky histogram time range test (#122324) 2022-01-10 11:16:43 +01:00
Devon Thomson
825ea5b919
[Controls] Move Controls To Their Own Plugin (#121668)
* Moved controls out of Presentation Util and into their own plugin
2022-01-06 13:33:52 -05:00
Alejandro Fernández Haro
2d1755439d
[Telemetry] Use server's lastReported on the browser (#121656) 2022-01-06 14:37:43 +01:00