Commit graph

4310 commits

Author SHA1 Message Date
Ahmad Bamieh 3e755ccf1f
[7.x] [Deprecations service] make correctiveActions.manualSteps required (#100997) (#101156)
* merge conflicts

* update deprecation message
2021-06-02 11:28:22 -04:00
Anton Dosov 4202cb42dc
[7.x] [Index Patterns] Fix return saved index pattern object (#101051) (#101134)
* [Index Patterns] Fix return saved index pattern object (#101051)

* update docs
2021-06-02 07:38:47 -04:00
Kibana Machine 4f0781737c
[CI] For PRs, build TS refs before public api docs check (#100791) (#101128)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-06-01 23:20:47 -04:00
Jean-Louis Leysens 09129c8e38
[Reporting/Telemetry] Do not send telemetry if we are in screenshot mode (#100388) (#101076)
* do not send telemetry if isScreenshotMode

* Implement PR feedback:

* added another Jest test
* move Boolean() to make the opt-in value always boolean

* remove unused import and convert to import type

* fix type issues

* update jest snapshot

* Expanded test coverage

- added plugin functional test
- added jest test to check TelemetrySender behaviour
- exported the localStorage/window value that flags screenshot
  mode

* fix test plugin name in package.json and make sure to opt out of telemetry when the test finishes

* added missing type file to plugin_functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	src/plugins/telemetry/kibana.json
2021-06-01 15:27:05 -04:00
Greg Thompson 0480fbc945
Upgrade EUI to v33.0.0 (#99382) (#101067)
* eui to 33.0.0

* resize observer type inclusion - revisit

* src snapshot updates

* x-pack snapshot updates

* table sort test updates

* code block language sh -> bash

* datagrid datetime sort inversion

* types

* kbn-crypto

* refractor yarn resolution

* refractor yarn resolution

* update cypress tests

* url state test

* trial

* Revert "trial"

This reverts commit adc3538145.

* trial anomaly timeout

* Revert "trial anomaly timeout"

This reverts commit 9a11711ba8.

* kbn-telemetry-tools

* Change a useMemo to useCallback so the code executes when intended

* Removed no-longer-used import

* exitOrFail already retries for longer than tryForTime

* Wait for loading indicator to disappear

* Intentionally adding `.only`

* Revert .only

* Increase wait time for the ML chart to load

* Remove unused var

* overflow

* chartWidth

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
2021-06-01 13:56:37 -04:00
Kibana Machine 3295128346
[Deprecations service] add deprecationType and use it in configs deprecations (#100983) (#101039)
Co-authored-by: Ahmad Bamieh <ahmadbamieh@gmail.com>
2021-06-01 09:05:09 -04:00
Liza Katz 157e2cf140
[bfetch] compress stream chunks (#97994) (#101027)
* Move inspector adapter integration into search source

* docs and ts

* Move other bucket to search source

* test ts + delete unused tabilfy function

* hierarchical param in aggconfig.
ts improvements
more inspector tests

* fix jest

* separate inspect
more tests

* jest

* inspector

* Error handling and more tests

* put the fun in functional tests

* delete client side legacy msearch code

* ts

* override to sync search in search source

* delete more legacy code

* ts

* delete moarrrr

* deflate bfetch chunks

* update tests
use only zlib

* ts

* extract getInflatedResponse

* tests

* Use fflate in attempt to reduce package size

* use node streams, fflate and hex encoding.

* DISABLE_SEARCH_COMPRESSION UI Settings
Use base64 and async compression

* i18n

* Code review
Use custom header for compression
Promisify once

* use custom headers

* Update jest

* fix tests

* code review, baby!

* integration

* tests

* limit

* limit

* limit

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	packages/kbn-optimizer/limits.yml
2021-06-01 05:13:52 -04:00
Tiago Costa 72e71ad750
skip flaky suite (#98240) 2021-05-31 16:38:05 +01:00
Matthias Wilhelm 70543ade3a
[Discover] Fix infinite scrolling using Classic table (#97634) (#101003)
* Fix infinite scrolling

* Add functional tests
2021-05-31 11:21:48 -04:00
Tyler Smalley 52dd72e0a2 Revert "[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#99980)"
This reverts commit be40e96806.
2021-05-28 17:21:51 -07:00
Tyler Smalley be40e96806
[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#99980)
* [FTR][CI] Use default distribution for all tests (#94968)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Use default output

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [FTR] Use importExport for saved_object/basic archive

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Update suggestions tests

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Fix build

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* More migrations to kbnArchiver

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-05-28 15:25:52 -04:00
Spencer 3ccadb4100
[ftr] migrate screenshots and snapshots services to FtrService class (#100514) (#100921)
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	test/functional/services/index.ts
2021-05-28 14:24:04 -04:00
Spencer 2d9dd6aa08
[7.x] [ftr] migrate "browser" to FtrService class (#100507) (#100919)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-28 14:21:29 -04:00
Kibana Machine e8039e188b
[ftr] migrate "savedObjectManagementComponent" service to FtrService class (#100614) (#100849)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-28 05:01:16 -04:00
Kibana Machine f1f56d0bd6
[ftr] migrate "queryBar" service to FtrService class (#100612) (#100848)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-28 03:10:31 -04:00
Kibana Machine bc7adfa40b
[ftr] migrate "MenuToggle" service to FtrService class (#100608) (#100847)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-28 03:06:04 -04:00
Kibana Machine c95c60177c
[ftr] migrate "embedding" and "renderable" services to FtrService class (#100596) (#100846)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-28 03:00:14 -04:00
Kibana Machine 6b6c48dbcb
Automated package testing (#88900) (#100812)
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
2021-05-27 20:33:04 +00:00
Anton Dosov 64017d65cc
[Index patterns] Default index pattern REST API (#100691) (#100798) 2021-05-27 14:00:43 -04:00
Anton Dosov b9115a6122
[Index Patterns] Migrate tests to the new es client (#100760) (#100782) 2021-05-27 11:43:58 -04:00
Kibana Machine 4c6d3c9de9
[ftr] migrate "comboBox" service to FtrService class (#100592) (#100761)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-27 13:13:03 +00:00
Kibana Machine df8ba923c4
[ftr] migrate AppsMenuService to FtrService class (#100588) (#100745)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 19:33:14 -04:00
Kibana Machine b6a231621c
[ftr] migrate "flyout" and "inspector" services to FtrService class (#100602) (#100739)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 18:52:52 -04:00
Kibana Machine 9479eaa067
[ftr] migrate "toasts" service to FtrService class (#100613) (#100729)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 17:35:35 -04:00
Kibana Machine 55651f9abe
[7.x] [ftr] migrate "testSubjects" to FtrService class (#100512) (#100656)
* [ftr] migrate "testSubjects" to FtrService class (#100512)

Co-authored-by: spalger <spalger@users.noreply.github.com>

* fix clickAndValidate() fn

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 17:08:14 -04:00
Kibana Machine fb74e7204a
[ftr] migrate management services to FtrService class (#100521) (#100723)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 17:03:51 -04:00
Kibana Machine 483f2b89a1
[ftr] migrate visualizations service to FtrService classes (#100522) (#100721)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 16:54:31 -04:00
Spencer 9693644fdd
[ftr] migrate dashboard services to FtrService class (#100519) (#100720)
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	test/functional/services/dashboard/add_panel.ts
#	test/functional/services/index.ts
2021-05-26 16:52:43 -04:00
Tre 35a193d8d6
[QA] Add saved objects info svc (#96364) (#100700)
Add svc and fn to return saved object types in a given index,
defaulted to ".kibana" index.
2021-05-26 14:00:21 -04:00
Kibana Machine 2fe74fe817
[ftr] migrate "globalNav" service to FtrService class (#100604) (#100665)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 14:11:34 +00:00
Kibana Machine 2aa49fd513
[ftr] migrate "find" service to FtrService class (#100509) (#100644)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 06:58:10 -04:00
Kibana Machine 94d1c48cd8
[ftr] migrate "docTable" service to FtrService class (#100595) (#100640)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 06:37:39 -04:00
Kibana Machine f43da37f87
[ftr] migrate "listingTable" service to FtrService class (#100606) (#100637)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 10:32:32 +00:00
Kibana Machine 9992e63e75
[ftr] migrate "dataGrid" service to FtrService class (#100593) (#100633)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 05:58:14 -04:00
Kibana Machine 58f7eff1ce
[ftr] migrate "fieldEditor" to FtrService class (#100597) (#100627)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 00:06:13 -04:00
Kibana Machine a6e01e0356
[ftr] migrate "filterBar" service to FtrService class (#100601) (#100626)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-26 00:03:04 -04:00
Kibana Machine 88d2f6480b
refact(NA): remove extra pkg_npm target and add specific target folders for @kbn/analytics on Bazel (#100569) (#100620)
* refact(NA): remove extra pkg_npm target and add specific target folders on @kbn/analytics

* chore(NA): update import on target_types

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-05-25 21:50:27 -04:00
Spencer b601c5c3b4
[ftr] implement FtrService classes and migrate common services (#99546) (#100585)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/common/services/deployment.ts
#	test/common/services/index.ts
#	test/common/services/saved_object_info.ts
#	test/functional/apps/visualize/index.ts
2021-05-25 16:31:02 -04:00
Kibana Machine b25c577ec1
[test/functional/context] include missing await (#100422) (#100529)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-25 04:56:01 -04:00
Kibana Machine 0f5a32c429
Ban use of lodash.template (#100277) (#100332)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2021-05-21 18:39:20 +00:00
Kibana Machine e0e106516e
Remove PEG.js generator from the timelion runtime (#100327) (#100380)
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2021-05-20 07:39:22 -04:00
spalger 8fa93a225d skip flaky suite (#100372) (#96997)
(cherry picked from commit be97fae12e)
2021-05-19 15:51:47 -07:00
Kibana Machine 4b712fda4b
[kbn/test] move types/ftr into src (#99555) (#100228)
* [kbn/test] move types/ftr into src

* Apply eslint updates

* fix import of Lifecycle type

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

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-05-17 14:49:48 -04:00
Catherine Liu 3124344357
[Dashboard] Fixes dashboard_save functional test (#98830) (#100227)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-17 14:41:02 -04:00
Kibana Machine e1cc66b17b
[QA] fix dashboard lens by value test (#100196) (#100222)
* [functional test] remove redundant navigation, wait for lens to be loaded

* fix navigation to new viz

* update test title

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

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2021-05-17 13:13:21 -04:00
Kibana Machine 1824ef8f77
Sharing saved objects phase 3 (#94383) (#100158)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-05-14 16:43:17 -04:00
Kibana Machine 1d6e26b2b3
[Uptime] Fix overview flaky tests (#99781) (#100157)
* add retry logic and add describe.only to prepare for flaky test runner

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

Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-05-14 16:28:18 -04:00
Stratoula Kalafateli 7571a10615
[TSVB] Filter by clicking on the timeseries chart (#97426) (#99927)
* WIP TSVB filter by click

* Disable filter click when showBar is set to false

* Exclude metric columns as they are not filtered

* Allow filters group by filter click event

* Fix CI and unit tests

* Add some comments

* Move to separate function for easier testing

* Add more unit tests

* Add a functional test

* Improve types

* Fix bug with group by filters and user applies custom labels

* fix time filter bug

* Address PR comments

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-12 11:52:07 -04:00
Kibana Machine 2c5e4b8292
[Bug] Fixes #9184 (#99099) (#99839)
* code review

* test

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-05-11 22:00:09 +00:00
Tiago Costa 7b00bba260
skip flaky suite (#98974) 2021-05-10 14:28:15 +01:00