Commit graph

4831 commits

Author SHA1 Message Date
Kibana Machine
f40d973f8b
[package testing] Update networking profile to account for virtualbox update (#127298) (#127322)
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:21:05 -07:00
Devon Thomson
c60b9267df
Use debounce instead of async url update to remove app state from URL (#127083) (#127160)
(cherry picked from commit ed4c19c692)
2022-03-08 10:33:11 -07:00
Kibana Machine
8618cb1414
[Dashboard] Close toolbar popover for log stream visualizations (#126840) (#126958)
* 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:17:44 -07:00
Kibana Machine
104b760cf7
[functional/security/test-user] remove naked boolean (#126652) (#126807)
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:27:00 -07:00
Kibana Machine
8fab12616a
[Discover] Unskip and improve runtime editor test (#126061) (#126270)
(cherry picked from commit 9b5ca19e49)

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2022-02-23 11:13:02 -07:00
Lee Drengenberg
d5dd05605e
fix merge issue (#126178) 2022-02-22 12:51:14 -07:00
Kibana Machine
9107a6d117
[Dashboard] Fix time range and filter state comparisons for dashboard-to-dashboard drilldowns (#124278) (#126175)
* 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:01:59 -07:00
Kibana Machine
59c4a8bcdf
delete unused es_archive visualize_embedding (#126001) (#126107)
* 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:03:48 -07:00
Kibana Machine
ea8f318891 skip failing test suite (#124990) 2022-02-17 10:44:42 -06:00
Kibana Machine
f4b44d7eb7
split kbn_archiver out of es_archiver (#125882) (#125939)
(cherry picked from commit 8791edf62d)

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-02-17 09:13:34 -07:00
Kibana Machine
656c5726e6
[Archive Migration] kbn_archive date_nanos (#125838) (#125943)
* 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:12:08 -07:00
Hannah Mudge
a1a5b914fb
[8.0] [Dashboard] Transfer state when drilldown is opened in a new tab (#124770) (#125740)
* [Dashboard] Transfer state when drilldown is opened in a new tab (#124770)

* 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

* Fix lint
2022-02-16 11:06:23 -07:00
Kibana Machine
f8566ea423
retry clicking (#125768) (#125817)
(cherry picked from commit 68f475f0ed)

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-02-16 10:42:01 -07:00
Kibana Machine
09250a76f2
[Archive Migration] replace es_archive with kbn_archive invalid_scripted_field.json (#125321) (#125814)
* 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:37:27 -07:00
Matthias Wilhelm
fe9b14c5f8
[8.0] [Discover] Unskip and improve document explorer field expand test (#107311) (#121846)
* [Discover] Unskip and improve document explorer field expand test (#107311)

* Update _data_grid_doc_table.ts

* Update _data_grid_doc_table.ts

* Update _data_grid_doc_table.ts

* Update _data_grid_doc_table.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-16 09:04:04 -07:00
Tiago Costa
dbe08f096b
skip flaky suite (#123372) 2022-02-14 15:46:26 +00:00
Joe Reuter
95ffb91fd6
[8.0] [TSVB] Fix shard failures are not reported (#123474) (#125046)
* [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>
(cherry picked from commit 7e1b780672)

# Conflicts:
#	src/plugins/vis_types/timeseries/kibana.json
#	src/plugins/vis_types/timeseries/public/metrics_type.ts

* fix

* fix telemetry

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-11 06:33:46 -07:00
Tiago Costa
0d39b29c26
skip flaky suite (#118288) 2022-02-11 12:28:52 +00:00
Kibana Machine
04e0a3e8b0
click slower in timepicker (#125264) (#125286)
(cherry picked from commit ec7f2f3d8c)

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-02-10 12:34:27 -07:00
Kibana Machine
889f52e096
Disabled import button while no file is attached (#125180) (#125283)
(cherry picked from commit ea9255342e)

Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2022-02-10 12:17:16 -07:00
Tiago Costa
83e404c6f3
skip flaky suite (#118432) 2022-02-10 02:39:44 +00:00
Tiago Costa
a4cf285a0d
skip flaky suite (#124986) 2022-02-09 02:45:28 +00:00
Kibana Machine
67ca9906f6
[8.0] split date_nested kbn_archive out of es_archive (#124646) (#124964)
* 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)

* change coreMigrationVersion to 8.0.0

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-02-08 16:06:20 -07:00
Kibana Machine
9db4880741
FTR - check ES security before creating system_indices_superuser (#124948) (#124973)
This PR adds a check if ES security is enabled before creating the system_indices_superuser in the security service.

(cherry picked from commit befefc3347)

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
2022-02-08 10:02:40 -07:00
Robert Oskamp
b92f3ee293
Functional test runner creates system_indices_superuser (#124008) (#124669)
This PR fixes the functional test runner for execution against cloud (and other existing deployments) by making sure the system_indices_superuser exists.

(cherry picked from commit 8989ead2d6)

# Conflicts:
#	x-pack/test/rule_registry/common/services/cluster_client.ts
2022-02-04 05:08:15 -07:00
Spencer
d33e78f256
[ci-stats] send test results to ci-stats service (#123740) (#124650)
* [ci-stats] send test results to ci-stats service

* move export to export type

(cherry picked from commit cc0380a461)

# Conflicts:
#	packages/kbn-dev-utils/BUILD.bazel
2022-02-03 20:03:16 -07:00
Kibana Machine
66cbb5e2e1
[Fixtures/Newsfeed] Server-side importing public types (#123923) (#123949)
(cherry picked from commit 7dedc8871c)

Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2022-01-27 10:36:47 -07:00
Rudolf Meijering
9e8722039e
Log deprecations originating from Kibana on debug level (#123660) (#123799)
* Log deprecations originating from Kibana on debug level

* Surface debug level deprecation logs on CI

* Review feedback

(cherry picked from commit c64c766444)
2022-01-26 04:48:29 -07:00
Tyler Smalley
73708fda30
Support for superuser not having write access (#123337) (#123639)
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>
(cherry picked from commit 23739f5f4d)

# Conflicts:
#	src/core/server/saved_objects/migrations/integration_tests/batch_size_bytes_exceeds_es_content_length.test.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-24 14:34:08 -07:00
Baturalp Gurdin
4fcb10c20d
Performance Tests for Login and Home Pages by using Playwright (#119681) (#123619)
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.

(cherry picked from commit eeb5efcc62)

# Conflicts:
#	x-pack/test/performance/config.playwright.ts
2022-01-24 10:24:37 -07:00
Kibana Machine
5407543a57
[Dashboard] Clone ReferenceOrValueEmbeddables by value. (#122199) (#123473)
* 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>
(cherry picked from commit b1d7731afa)

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
2022-01-20 10:01:11 -07:00
Dmitry Tomashevich
085aac6ac9
[8.0] [Discover] Fix saved search hidden chart can't be opened when returning to Discover (#122745) (#123360)
* [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>
(cherry picked from commit 8b40fc2054)

# Conflicts:
#	src/plugins/discover/public/application/apps/main/components/chart/discover_chart.tsx
#	src/plugins/discover/public/application/apps/main/components/chart/use_chart_panels.test.ts
#	src/plugins/discover/public/application/apps/main/components/chart/use_chart_panels.ts
#	src/plugins/discover/public/application/apps/main/services/use_discover_state.test.ts

* [Discover] resolve missed conflicts
2022-01-19 21:01:43 +03:00
Matthias Wilhelm
b53f1fc942
fix conflicts (#123341) 2022-01-19 02:15:55 -07:00
Brian Seeders
3a1e95a395
[package-testing] Fix docker testing (#123249) (#123277)
(cherry picked from commit 7a70f857f3)

# Conflicts:
#	.buildkite/scripts/steps/package_testing/build.sh
2022-01-18 12:37:05 -07:00
Matthias Wilhelm
c2846881e5
[Discover] Unskip and improve runtime field test (#123054) (#123161)
(cherry picked from commit b6473c9aa3)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-18 04:48:08 -07:00
Kibana Machine
e4a62a16dd
[sample data] handle index aliases when installing/uninstalling datasets (#122689) (#123121)
* 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>
(cherry picked from commit 683ab102ae)

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2022-01-17 03:50:50 -07:00
Tim Sullivan
29165d5414
[8.0] [Screenshotting] Add functional test for report generation of dashboard with Maps embeddable (#122887) (#123008)
* [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>
(cherry picked from commit fddd1aafb4)

* update layerListJSON for map
2022-01-14 11:52:32 -07:00
Dmitry Tomashevich
87c0f1184a
[8.0] [Discover] Fix context view for document ids containing special characters (#122737) (#123034)
* [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>
(cherry picked from commit 6956d9c1fe)

# Conflicts:
#	src/plugins/discover/public/application/apps/context/context_app_route.tsx

* [Discover] fix linting
2022-01-14 09:58:33 -07:00
Kibana Machine
ab38a7073c skip failing test suite (#116059) 2022-01-14 10:19:37 -05:00
Dmitry Tomashevich
4f9f54c81b
[8.0] [Discover] Add kibana services provider for embeddable (#121621) (#122702)
* [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>
(cherry picked from commit f5aa068ef2)

# Conflicts:
#	src/plugins/discover/public/application/embeddable/saved_search_grid.tsx

* [Discover] fix imports

* [Discover] return data grid expand action

* [Discover] fix functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-13 11:24:58 +03:00
Kibana Machine
bff8b5cb9b
Cleaning up after DLS functional tests. (#122426) (#122628)
(cherry picked from commit 2ba281b8aa)

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
2022-01-11 03:16:31 -07:00
Kibana Machine
9661789215 skip failing test suite (#116059) 2022-01-10 13:52:22 -05:00
Alejandro Fernández Haro
927cc4d48e
[Telemetry] Use server's lastReported on the browser (#121656) (#122525)
(cherry picked from commit 2d1755439d)
2022-01-10 05:17:27 -07:00
Matthias Wilhelm
dc12009833
[Discover] Unskip flaky histogram time range test (#122324) (#122517) 2022-01-10 04:50:33 -07:00
Brian Seeders
f10023ff16 skip flaky suite (#121051) 2021-12-26 15:11:11 -05:00
Kibana Machine
cb49e23764
[TSVB] "Bucket script" and "Series Agg" should be active for "timerange" mode (#121301) (#121937)
* [TSVB] Bucket script is disabled for timerange mode

Closes: #121270

* fix PR comments

* fix serias aggs for table

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-12-23 02:44:42 -07:00
Kibana Machine
4cf503dae1
[Discover] Unskip indexpattern without timefield functional tests (#121505) (#121862)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-12-22 04:31:09 -07:00
Kibana Machine
a037adbe6a
Fix flaky sample dataset FTR test (#121726) (#121852)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2021-12-22 02:49:14 -07:00
Hannah Mudge
1fc3b5a3a5
[Dashboard] Fix blank panel save and display issue. (#120815) (#121660)
* Added special case to panel comparison.

* Fixed panel title behaviour when linking/unlinking to/from the library.

* Added panel title test suite.

* Made the injection of the 'savedSearchId' key conditional on if it is defined when unlinking.

* Adjusted use of 'setValue()' based on feedback from @dmlemeshko

* Refractor test suite.

* Improved code for removal of title on library link.
# Conflicts:
#	src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx
2021-12-20 10:50:21 -07:00
Kibana Machine
6e8807655c
Fix WebElementWrapper.findByTestSubject passing css selector to the created wrapper (#121493) (#121650)
* Fix WebElementWrapper.findByTestSubject incorrectly passing a css selector to created wrapper

* lint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2021-12-20 09:29:11 -07:00