Commit graph

4154 commits

Author SHA1 Message Date
Anton Dosov
26cb5b90a3
Fix importing dashboards created before ~6.1.0 (#94332) (#94565) 2021-03-15 11:13:39 -04:00
Matthew Kime
6e657baac7
Add runtime field functional test (#93710) (#94373)
Add runtime fields editor functional test
2021-03-10 19:06:37 -05:00
Rashmi Kulkarni
f6e139f1af
Unskipping Dashboard listing functional test (#93843) (#94208)
* fixes https://github.com/elastic/kibana/issues/74449

* unskipping to check the flakiness
2021-03-09 20:35:19 -08:00
Wylie Conlon
5c001f8443
Support for number, date and IP range data types (#76971) (#94001)
* Support for number, date and IP ranges

* Update tests

* Ranges don't work with range agg

* Fix test case

* Allow Discover to create range filters

* Supports ranges in Visualize, KQL, remove Lens support

* Fix test mappings

* Bring back field cache to work around bug

* Fix some tests

* Fix test expectation

* Respond to review comments

* Fix type error

* Remove added sample data

* Fix api_docs

* Fix test
2021-03-08 18:03:26 -05:00
Lukas Olson
6d762717d1
[KQL] Use cache and other performance improvements (#93319) (#93972)
* [KQL] Use cache and other performance improvements

* Fix test

* Fix jest tests

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 14:36:14 -05:00
Kibana Machine
2c3efd35a5
Enable APM storybook publishing (#93353) (#93964)
Changes to fix APM's Storybook setup were made in #93087 and #93294. This re-enables it and fixes a couple places where we weren't using a theme provider.

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-03-08 13:57:11 -05:00
Kibana Machine
564079e00b
wait for index pattern button to be enabled (#93677) (#93842)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2021-03-05 19:47:39 -05:00
Kibana Machine
c7504737fd
[Telemetry] Fix flaky "after" delete (#93636) (#93753)
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2021-03-05 07:23:09 -05:00
Nick Partridge
3c3e63f975
[XY Charts] fix partial histogram endzones annotations (#93091) (#93640) 2021-03-04 14:16:59 -05:00
Wylie Conlon
fd98aca6c3
[Discover] Fix link from dashboard saved search to Discover (#92937) (#93499)
* [Discover] Fix link from dashboard saved search to Discover

* Fix tests that weren't fully testing the navigation

* Fix snapshot

* Fix test navigation to context app by reverting to previous

* Unskip functional test and fix issue in data grid

* Respond to review comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-03 21:52:46 -05:00
Wylie Conlon
2faf3f428b
Fix expanding document when using saved search data grid (#92999) (#93522)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-03-03 19:00:41 -05:00
Wylie Conlon
ab13e4c9fa
[7.x] [Index patterns] Guarantee order of fields in flattenHits (#93344) (#93483)
* [Index patterns] Guarantee order of fields in flattenHits (#93344)

* [Discover] Guarantee order of fields in table preview

* Remove comments

* Fix test that relied on discover ordering

* Fix ordering of test
# Conflicts:
#	test/functional/apps/discover/_large_string.ts
#	x-pack/test/functional/apps/security/doc_level_security_roles.js
#	x-pack/test/functional/apps/security/field_level_security.js

* Update tests

* Fix whitespace
2021-03-03 17:17:11 -05:00
Rashmi Kulkarni
51bab14d9a
Test huge fields functional test (#93334) (#93461)
* fixes https://github.com/elastic/kibana/issues/74449

* fix for unskipping test huge fields functional test

* fix eslint
2021-03-03 14:18:33 -05:00
Kibana Machine
447a04c704
[ci] separate checks done in bootstrap as individual tasks (#93329) (#93446)
(cherry picked from commit b790f4ca1761bc1fab7818318213833a9c7d092f)

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-03-03 13:03:00 -05:00
Maja Grubic
9f002eda06
[Search Embeddable] Add highlighting when searching (#93178) (#93372)
* [Search Embeddable] Add highlighting when searching

* Adding a functional test
2021-03-03 05:03:55 -05:00
Devon Thomson
870a529d34
[Time to Visualize] Disable Visualize URL Tracker When Linked to OriginatingApp (#92917) (#93251)
* changed url tracker for visualize to not save when linked to originating app
2021-03-02 13:20:14 -05:00
Alejandro Fernández Haro
dfb217bf2e
[7.x] [Telemetry] Full schema definition (#90273) (#93187)
* [Telemetry] Full `schema` definition (#90273)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/api_integration/apis/telemetry/telemetry_local.ts

* Normalize test arguments with `master`

* Normalize to `master` the `/api/settings` FTR tests
2021-03-02 12:55:20 -05:00
Uladzislau Lasitsa
0772e207a2
Control round and decimal places in Gauge Visualization when using aggregate functions like average (#91293) (#93014)
* Add field for providing format in percentage mode

* Fix CI

* Add tests

* Fix ci

* Fix some remarks

* Fix ci

* Fix some remarks

* Fix ci

* Fix width

* Fix some remarks

* Fix text

* Fix i18n

* Remove unneeded import

* Remove unneeded code

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-01 09:42:53 -05:00
Kibana Machine
f6e6149e66
[kbn/test] add import/export support to KbnClient (#92526) (#92935)
Co-authored-by: Tre' Seymour <wayne.seymour@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: Tre' Seymour <wayne.seymour@elastic.co>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-25 20:34:11 -05:00
Rashmi Kulkarni
357cbe0a2f
Test fix management scripted field filter functional test and unskip it (#92756) (#92924)
* fixes https://github.com/elastic/kibana/issues/74449

* unskipping the functional test, removing the unload and adding an empty kibana in the after method
2021-02-25 19:21:09 -05:00
Wylie Conlon
953b9ad5fe
[Discover] Fix persistence of "hide/show chart" in saved search (#92731) (#92894) 2021-02-25 16:28:14 -05:00
Anton Dosov
9ef5f01872
Fix navigating from discover single document view back to discover (#92463) (#92637) 2021-02-24 12:20:12 -05:00
Devon Thomson
d0d6d3923c
[Dashboard] Remove Multiple History Entries & Stay in Edit Mode on Save As (#92105) (#92440)
* made save as stay in edit mode when not navigating to another dashboard. Removed extra history entires from save
2021-02-23 13:14:05 -05:00
Wylie Conlon
7b835f980c
[TSVB] Stop inserting zeroes for null series (#90861) (#92432)
* [TSVB] Stop inserting zeroes for null series

* Replace empty default value with hyphen

* Stop treating 0 as false

* Fix test cases

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 12:42:56 -05:00
Rudolf Meijering
d381d48645
v1 migrations: drop fleet-agent-events during a migration (#92188) (#92371)
* v1 migrations: drop fleet-agent-events during a migration

* Add TODO to fleet to make it clear that fleet-agent-events should not be used

* Fix test
2021-02-23 07:54:57 -05:00
Daniil
76ca536537
[Data Table] Fix visualization layout in split mode (#91799) (#92263)
* Fix table vis layout in split mode

* Stick pagination at the bottom

* Fix functional tests

* Fix jest test

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 03:27:20 -05:00
Daniil
0a4f2a2548
Use EuiResizableContainer in visualize (#86934) (#92183)
* Use EuiResizableContainer

* Code cleanup

* Memoize the sidebar for performance boost

* Prevent mouseLeave event

* Downgrade eui to 30.6.0

* Revert eui downgrade

* Update styles

* Render embeddable after a timeout

* Fix printing

* Fix resizer functional test

* Create an explicit layout breakpoint

* Remove extra code

* Update layout styles

* Add a note of using height: 1px

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-23 03:26:02 -05:00
Michail Yasonik
41fa5f6909
Enabling Uptime and Dashboard a11y test (#91017) (#92325)
# Conflicts:
#	x-pack/test/accessibility/apps/uptime.ts
2021-02-22 23:08:12 -05:00
Wylie Conlon
e9639ef839
[Discover] Show correct data for top level object columns (#91954) (#92268)
* [Discover] Show correct data for top level object columns

* Fix bug with missing fields

* Fix bug in data grid

* Fix remaining bug in datagrid

* Change use of API to work with any type

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 16:34:56 -05:00
MadameSheema
e7e5c73aad
[Security Solution] Cypress tests executed on Firefox (#91524) (#92233)
* allows Cypress tests to be executed on Firefox

* fixes failing tests

* fixes issues

* fixes exceptions table failing test

* updates readme

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 14:01:11 -05:00
Pierre Gayvallet
3c6bdca1c3
Implement ScopedHistory.block (#91099) (#92150)
* implements ScopedHistory.block

* add FTR tests

* fix test plugin id

* update generated doc

* deprecates AppMountParameters.onAppLeave

* typo fix

* add new FTR test

* fix added test
2021-02-22 14:59:14 +01:00
Maja Grubic
391b3a827f
[Discover] Always show unmapped fields (#91735) (#92070)
* [Discover] Always show unmapped fields

* Updating the functional test

* Remove unmapped switch toggle

* Some more code cleanup

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 10:09:12 +00:00
Dmitry
b164ae4a42
[load testing] add env vars to pass simulations and repo rootPath (#89544) (#92049)
* [load testing] add env vars to pass simulations and repo rootPath

* pass simulation to sript as argument

* export GATLING_SIMULATIONS

* fix export

* add validation
2021-02-20 13:03:23 +03:00
Devon Thomson
ee7cb03a25
[Time to Visualize] Stay in Edit Mode After Dashboard Quicksave (#91729) (#92053)
* Make quicksave function stay in edit mode
2021-02-19 14:44:28 -05:00
Joe Reuter
980ff31c6b
[7.x] Discover: Add handling for source column (#91815) (#91980)
* Discover: Add handling for source column (#91815)

* enable by default

* fix conflicts

* fix search_after

* fix test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-02-19 10:50:41 -05:00
Ahmad Bamieh
ce22a9e769
[7.x] [SOM] fix flaky suites (#91809) (#91880)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 12:02:55 +02:00
Bhavya RM
d2a5a51eec
Unskip import saved objects test (#91834) 2021-02-18 17:25:21 -05:00
Alejandro Fernández Haro
6da1e935bd
[7.x] [HTTP] Apply the same behaviour to all 500 errors (except from custom responses) (#85541) (#91892)
* [HTTP] Apply the same behaviour to all 500 errors (except from `custom` responses) (#85541)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/security/server/routes/authentication/saml.ts

* Fix deprecated route

* Mock before calling the method
2021-02-18 17:17:02 -05:00
Kibana Machine
854e833cf0
[CI] Build and publish storybooks (#87701) (#91917)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-02-18 16:26:10 -05:00
Devon Thomson
8537f25996
[Time to Visualize] Dashboard Save As New by Default (#91761) (#91905)
* changed dashboard save as to have save as new switch on by default
2021-02-18 16:03:15 -05:00
Matthew Kime
8dff16a0a6
Index pattern field editor (#88995) (#91896)
Index pattern field editor

Co-authored-by: Sébastien Loix <sabee77@gmail.com>
2021-02-18 14:24:38 -06:00
Nick Partridge
a4a74c81ef
Enable new chart library setting (#86538) (#91705) 2021-02-17 13:31:03 -06:00
Rashmi Kulkarni
1d8f36249c
unskip navigation test (#91306) (#91586)
* fixes https://github.com/elastic/kibana/issues/74449

* unskip navigation test

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-16 17:18:20 -08:00
Spencer
fedc100d4c
[7.x] ship @kbn/ui-shared-deps metrics in separate step (#91504) (#91539)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-16 16:01:26 -05:00
Devon Thomson
f81cdc3ff7
[Time to Visualize] Unsaved Changes Badge (#91073) (#91540)
* Added unsaved changes badge to dashboards. Removed (unsaved) from the dashboard title
2021-02-16 16:01:01 -05:00
Devon Thomson
04eca9683c
[Time to Visualize] Combine Discard & Cancel (#91267) (#91533)
* recombined discard and cancel button functionality
# Conflicts:
#	test/functional/apps/dashboard/view_edit.ts
2021-02-16 15:17:31 -05:00
Maja Grubic
8485edc50a
[Discover] Making source filters test run with fields API (#91404) (#91482) 2021-02-16 17:38:09 +00:00
Rudolf Meijering
1fc8122c6d
[7.x] Unrevert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)" (#89992) (#90839)
* Unrevert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)" (#89992)

* Revert "Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)""

This reverts commit f97958043f.

* Fix flaky saved objects management test #89953

* If a clone target exists, wait for yellow, not green, index status

* Fix test after master merge

* Fix types

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

* Fix visualize fixture after backport

* Disable monitoring plugin email notifications in functional tests

* Disabling monitoring emails doesnt disable it, configure instead

* Fix monitoring test

* Remove debug logging from FTR config

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-16 06:56:59 -05:00
Ahmad Bamieh
004b1dfc2e
[7.x] fix ui counters flaky test (#91372) (#91433) 2021-02-16 01:32:28 +02:00
Tiago Costa
f8eef635e5
skip flaky suite (#86948) 2021-02-15 13:40:36 +00:00