Commit graph

1534 commits

Author SHA1 Message Date
Kibana Machine
2e64711053
[test-failed]: Chrome UI Functional Tests1.test/functional/apps/discover/_filter_editor·ts - discover app discover filter editor filter editor version fields should support range filter on version fields (#129847) (#130848)
* [test-failed]: Chrome UI Functional Tests1.test/functional/apps/discover/_filter_editor·ts - discover app discover filter editor filter editor version fields should support range filter on version fields

* Set "version_test" permissions to kibana_admin role

* Add after block to reset permission

* Add "test_logstash_reader" role

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 706d9268ef)

Co-authored-by: Diana Derevyankina <54894989+DziyanaDzeraviankina@users.noreply.github.com>
2022-04-22 05:41:24 -07:00
Kibana Machine
8cbfaa2c42
unskip test kibana/test/functional/apps/discover/_saved_queries.ts (#128678) (#129811)
* unskip tes _saved_queries

* remove sleep call from debugging, remove commented-out code

* add submitQuery and wait for correct counts at each step

* more debugging checks

* re-select logstash-* data view

Flaky test runner failed 6/100 times at this point so try setting it here again.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit e076067b09)

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-04-07 15:51:43 -07:00
Kibana Machine
67dda4eb86
Fix unhandled promise rejection in discover tests (#128806) (#128935)
* Fix unhandled promise rejection

* Update methods in index.ts to be async

* Update test/functional/apps/discover/index.ts

Co-authored-by: Spencer <email@spalger.com>

* Update test/functional/apps/discover/index.ts

Co-authored-by: Spencer <email@spalger.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit b9c3aec20f)

Co-authored-by: liza-mae <liza-mae@users.noreply.github.com>
2022-03-30 10:28:29 -07:00
Kibana Machine
9543131fc4
[Discover] Fix toggle table column for classic table (#128603) (#128871)
* Fx toggle table column
* Add functional test

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
(cherry picked from commit 349b6cf5d2)

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2022-03-30 03:52:05 -07:00
Jonathan Budzenski
d835de2675 skip flaky suite. #126414 2022-03-24 08:46:29 -05:00
Kibana Machine
8e0253b259
[Controls] Conditionally hide settings that only make sense when at least one control (#127932) (#128097)
* Make some settings conditional on control count

* Add functional tests for control group settings

* Remove unnecessary string

(cherry picked from commit fe34af7bc0)

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
2022-03-18 14:39:50 -07:00
Dmitry Tomashevich
00e62443f1
[Discover] Fix "encoded URL params in context page" cloud test permissions (#126470) (#128052)
* [Discover] fix cloud test for encoded param in context

* [Discover] improve test description wording

* [Discover] apply suggestion

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 5533748162)
2022-03-18 04:53:09 -07:00
Hannah Mudge
782f9492b1
[Controls] Improve controls empty state (#125728) (#127340)
* Add controls button to toolbar

* Add dismiss button

* Add style to toolbar controls button

* Clean up unnecessary isControlsEnabled check

* Make toolbar controls button conditional once callout dismissed

* Move add and edit controls to toolbar dropdown

* Remove icon buttons

* Add each control seperately to toolbar dropdown

* Remove unused code

* Fix close popover on click

* Remove unnecessary dark theme check

* Make closePopover optional for creating controls

* Fix control group strings

* Fix alignment of toolbar popover items

* Functional tests - create controls from new menu button

* Hide controls callout for empty dashboards

* Add tooltips to control types + i18n support.

* Move callout render logic to dashboard viewport

* Add controls callout functional tests

* Fix bundle size by lazy importing controls callout

* Get create control button in callout via passed function

* Fix mobile view of callout

* Add documentation and cleaned code based on Devon's feedback

* Moved the 'add to library' and 'controls' buttons in to extra

(cherry picked from commit b2cd94df7b)

# Conflicts:
#	src/plugins/controls/public/control_group/embeddable/control_group_container.tsx
2022-03-09 14:24:49 -07:00
Kibana Machine
073abd4cee
[Archive Migration] dashboard/current/kibana (#126293) (#127285)
* switch from es_archive to kbn_archive

* another test conversion

* add the kbn_archive

* remove unused esArchiver

* kbn_archive to full replace es_archiver/dashboard/current/kibana

* finish this test

* to fix this test we have to unload 2 index patterns

* had to re-make the kbn_archive from 8.0 instead of 7.17

* cleanup saved objects in before method

* remove unused esArchiver

* remove unused dashboard/current/kibana es_archiver files

* refactor clean to cleanStandardList

* a few more tests using the es_archive

* cleanup and uncomment smoketest

* Apply suggestions from code review

Co-authored-by: Spencer <email@spalger.com>

* update for code review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Spencer <email@spalger.com>
(cherry picked from commit e932d83944)

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-03-09 09:08:43 -07:00
Devon Thomson
6c8d119b2a
Use debounce instead of async url update to remove app state from URL (#127083) (#127159)
(cherry picked from commit ed4c19c692)
2022-03-08 10:38:09 -07:00
Kibana Machine
2d9893e292
[Dashboard] Close toolbar popover for log stream visualizations (#126840) (#126959)
* Fix close popover on click

* Fix close popover on click - second attempt

* Add functional test to ensure menu closes

(cherry picked from commit f974150c7b)

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
2022-03-04 15:26:11 -07:00
Kibana Machine
1c8a4500ee
Unskip flaky tests (#126743) (#126884)
Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 77ac1d822f)

Co-authored-by: Muhammad Ibragimov <53621505+mibragimov@users.noreply.github.com>
2022-03-04 02:41:41 -07:00
Kibana Machine
c9e2d49617
[functional/security/test-user] remove naked boolean (#126652) (#126808)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit be1028c345)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-03 10:36:40 -07:00
Tiago Costa
08687f1a8f
skip flaky suite (#126414) 2022-02-28 13:22:12 +00:00
Kibana Machine
96228e3fdd skip failing test suite (#126421) 2022-02-27 00:54:59 -05:00
Kibana Machine
651a3a94c3
[Console] unskip flaky tests (#124783) (#126412)
* Unskip flaky console tests

Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 45a003fa06)

Co-authored-by: Muhammad Ibragimov <53621505+mibragimov@users.noreply.github.com>
2022-02-24 23:44:07 -07:00
Kibana Machine
28a273658d
[Discover] Unskip and improve runtime editor test (#126061) (#126269)
(cherry picked from commit 9b5ca19e49)

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2022-02-23 11:19:32 -07:00
Lee Drengenberg
cc19a57090
fix merge issue (#126177) 2022-02-22 12:59:39 -07:00
Tiago Costa
07f34c6f3a skip flaky suite (#124663) 2022-02-17 11:36:37 -06:00
Kibana Machine
5eefbdcf2e
[Archive Migration] kbn_archive date_nanos (#125838) (#125942)
* kbn_archive date_nanos

* kbn_archive date_nanos in context and discover

* kbn_archiver more date_nanos tests

* fix eslint error

* fix lint error

(cherry picked from commit f792e5d14b)

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-02-17 09:23:31 -07:00
Kibana Machine
bcae9d05bc
split kbn_archiver out of es_archiver (#125882) (#125938)
(cherry picked from commit 8791edf62d)

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-02-17 09:19:36 -07:00
Kibana Machine
b6555742ad
[Archive Migration] replace es_archive with kbn_archive invalid_scripted_field.json (#125321) (#125813)
* remove es_archive with kbn_archive invalid_scripted_field.json

* remove unused es_archive files

* replace another usage of es_archives/invalid_scripted_field

* clear any existing index patterns before loading our new one

* remove .only

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 4319ea80a4)

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-02-16 10:43:12 -07:00
Kibana Machine
685d1a1c53 skip failing test suite (#124990) 2022-02-15 15:47:13 -08:00
Kibana Machine
d8b538df88
[TSVB] Use panel interval for annotations (#125222) (#125507)
(cherry picked from commit 5babc9f663)

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-02-14 10:02:03 -07:00
Tiago Costa
40006d243c
skip flaky suite (#123372) 2022-02-14 15:45:57 +00:00
Kibana Machine
17e33bc42a
Disabled import button while no file is attached (#125180) (#125282)
(cherry picked from commit ea9255342e)

Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2022-02-10 12:18:55 -07:00
Tiago Costa
65d93b6fbd
skip flaky suite (#118432) 2022-02-10 02:39:13 +00:00
Tiago Costa
81427d9386
skip flaky suite (#124986) 2022-02-09 02:44:59 +00:00
Kibana Machine
19370178a1
[8.1] split date_nested kbn_archive out of es_archive (#124646) (#124963)
* 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>
(cherry picked from commit b8abe763c9)

* changing coreMigrationVersion to 8.0.0

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-02-08 14:32:15 -07:00
Jean-Louis Leysens
4fb5419bdb
Unskip test scripted fields preview (#124358) (#124957)
* 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>
(cherry picked from commit ee9f01e925)
2022-02-08 08:47:24 -07:00
Tiago Costa
72fac2ba72
skip flaky suite (#118288) 2022-02-07 17:31:13 +00: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
Anton Dosov
2f468993d4
Improve version type support (#123739) 2022-01-28 14:18:45 +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
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
Matthias Wilhelm
b6473c9aa3
[Discover] Unskip and improve runtime field test (#123054) 2022-01-17 15:19:02 +01: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