Commit graph

4922 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
Joe Portner
eda5a75571
[8.1] Avoid loading all plugins on anonymous pages (#129555) (#129741)
* Avoid loading all plugins on anonymous pages (#129555)

(cherry picked from commit 6acf7c0481)

# Conflicts:
#	src/core/server/server.api.md
#	x-pack/plugins/security/kibana.json
#	x-pack/plugins/security/public/plugin.tsx

* Update edit_role_page.tsx

* node scripts/check_published_api_changes.js --accept
2022-04-07 08:25:27 -07:00
Kibana Machine
135dd7cfb3
Launch sample data from home (#129146) (#129391)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 0e490e76b8)

Co-authored-by: liza-mae <liza-mae@users.noreply.github.com>
2022-04-04 12:10:31 -07:00
Kibana Machine
ef6507bfc7
Rendering imported dashboards in import saved objects between version tests and refactor of multi-space imports test (#129065) (#129346)
(cherry picked from commit e2e8dbb08f)

Co-authored-by: Bhavya RM <bhavya@elastic.co>
2022-04-04 07:53:19 -07:00
Kibana Machine
313e1b55a4
[package testing] Stabilize status api test (#129228) (#129247)
There appears to be a brief moment after kibana starts where we are
listening for http connections but immediately closing requests to the
status API.  The return code by ansible here is -1, so this adds that as
a valid response to retry.

(cherry picked from commit f2654802a5)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-04-01 13:17:31 -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
Anton Dosov
d7b00bdd84
Fix KQL typeahead missing description (#128480) (#128725)
* fix display description in typeahead
* Design fixes

- Fiddled with the flex properties to ensure the min-width for text is 250px but will expand in full until the edges are reached then both the text and description will start truncating
- Remove now unused/unnecssary `—withDescription` class

* remove description for fields suggestions

Co-authored-by: cchaos <caroline.horn@elastic.co>
(cherry picked from commit d8323c2246)

# Conflicts:
#	x-pack/plugins/translations/translations/fr-FR.json
2022-03-29 04:26:18 -07:00
Kibana Machine
c73b22eff2
Add env var opt to es security (#128516) (#128682)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 649457160e)

Co-authored-by: liza-mae <liza-mae@users.noreply.github.com>
2022-03-28 14:17:37 -07:00
Kibana Machine
3be42862a9
use format.utc instead of format (#128567) (#128655)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit b20de118cd)

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-03-28 10:20:39 -07:00
Jonathan Budzenski
d835de2675 skip flaky suite. #126414 2022-03-24 08:46:29 -05:00
Hannah Mudge
47da47faae
[8.1] [Controls] Improve controls management UX (#127524) (#128213)
* [Controls] Improve controls management UX (#127524)

* Move control type selection in to flyout

* Set default icon type if getIconType undefined

* Fix create control functional tests

* Fix factories for multiple types

* Show only selected type icon when editing

* Add optional tooltip support

* Rename promise variable

* Fix imports

* Fix nits

* Edit tooltip text for options list control

(cherry picked from commit c9dfe16725)

# Conflicts:
#	src/plugins/controls/public/control_group/embeddable/control_group_container.tsx

* Fix merge conflicts
2022-03-21 17:27:05 -07:00
Kibana Machine
d910d0a43e
stabilize confirm dialog (#128141) (#128158)
(cherry picked from commit 395c65feca)

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-03-21 08:21:15 -07: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
John Dorlus
0ba2938ee2
[8.1] Added CCS test for data view functionality. (#124586) (#127092)
* Added CCS test for data view functionality. (#124586)

* Added CCS test for data view functionality.

* Changed how we are approaching the test. Just adding a remote to exercise the CCS functionality.

* Adjusted test to use correct port for remote cluster.

* Added and corrected config for the tests to be able to run.

* Changed test title.

* Added functional ccs suite to functional test runner script.

* Changed config.ts to config.js

* Moved es to before clause.

* Added await for an async call.

* Added await for an async call.

* Updated saved queries test to use CCS. One test is failing, all others are passing.

* Merge branch 'main' of github.com:elastic/kibana into CCS_Functional_Test_POC

* Fixed a reference.

* Removed the OSS tests since we created CCS versions of them.

* Removed tests from index file.

* Restored test files per comment with matthias.

* Did some cleanup of comments.

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

* Fixed the core-migration version on the date_nested_ccs.json

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-10 16:27:33 -07:00
Matthew Kime
a94043b55e
[data view mgmt] fix data view name wrap (#127319) (#127418)
* use EuiLink instead of EuiButton

* better tag positions

* fix rendering and text

* lint fixes

(cherry picked from commit c7734bc945)
2022-03-10 00:12:23 -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
d9f632d615
[package testing] Update networking profile to account for virtualbox update (#127298) (#127320)
With a recent virtualbox update, we're getting failures in CI with:

> The IP address configured for the host-only network is not within the
> allowed ranges. Please update the address used to be within the allowed
> ranges and run the command again.

This updates the IP range used to be compatible.

(cherry picked from commit ab109db73f)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-03-09 12:25:48 -07:00
Kibana Machine
d08160a6f3
[ci] Remove package testing jenkins source (#127300) (#127301)
(cherry picked from commit 488d9398bc)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-03-09 10:51:31 -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
a0b1c0f7d0
[Discover] Fix ""range filter on version" permissions for cloud functional testing (#126377) (#126429)
(cherry picked from commit e7e9be9fa6)

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2022-02-28 03:26:56 -07: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
Kibana Machine
69f245efa0
[Dashboard] Fix time range and filter state comparisons for dashboard-to-dashboard drilldowns (#124278) (#126174)
* Remove deprecated references.

* Add timeRange to DashboardState and timeRestore to DashboardContainerInput

* Ignore filters.$state during dashboard diff

* Undo remove deprecated references.

* Conditionally exclude filter state from comparison

* Inject filter.$state for context filters

* Trigger apply filters

* Add save to functional tests

* Remove unused variable

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

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
2022-02-22 12:07:07 -07:00
Kibana Machine
e452e96d65
delete unused es_archive visualize_embedding (#126001) (#126106)
* delete unused es_archive

* remove other unused es_archive

* more unused es_archives

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

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-02-21 13:08:34 -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
68002c5c60
retry clicking (#125768) (#125816)
(cherry picked from commit 68f475f0ed)

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-02-16 10:49:01 -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
Hannah Mudge
3a6bf011d4
[Dashboard] Transfer state when drilldown is opened in a new tab (#124770) (#125726)
* Translate dashboard state to URL conditionally

* Add functional tests

* Fix typo in functional test descriptions

* Remove deprecated references

* Rename useUrl to be more specific

(cherry picked from commit 17a997cccb)

# Conflicts:
#	src/plugins/dashboard/public/index.ts
2022-02-15 16:39:48 -07: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
168b8b47d2
fix data view runtime fields api service key (#125430) (#125444)
(cherry picked from commit d06dc147ea)

Co-authored-by: Matthew Kime <matt@mattki.me>
2022-02-11 15:38:34 -07:00
Kibana Machine
5d1e96aca3
retry tab change (#125260) (#125287)
(cherry picked from commit cbca869e8f)

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-02-10 12:41:25 -07:00
Kibana Machine
5b0b35e789
click slower in timepicker (#125264) (#125285)
(cherry picked from commit ec7f2f3d8c)

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-02-10 12:35:11 -07: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