Commit graph

1796 commits

Author SHA1 Message Date
Tiago Costa
207078ab50
skip failing es promotion suite (#104467) 2021-07-06 15:35:13 +01:00
Tiago Costa
71230bbe8a
skip failing es promotion suite (#104466) 2021-07-06 15:27:18 +01:00
Tiago Costa
910ef66957
skip failing es promotion suite (#104413) 2021-07-06 12:08:24 +01:00
Tiago Costa
66dcdc3bee
skip failing es promotion suite (#104409) 2021-07-06 11:59:07 +01:00
Tiago Costa
7d2a9ab2ee
skip failing es promotion suite (#104366) 2021-07-06 02:30:14 +01:00
Tiago Costa
2b1575b197
skip failing es promotion suite (#104365) 2021-07-06 02:26:07 +01:00
Tiago Costa
f0603aca21
skip failing es promotion suite (#104364) 2021-07-06 02:20:15 +01:00
Tiago Costa
b795036576
skip flaky suite (#103252) 2021-07-05 15:00:25 +01:00
Stratoula Kalafateli
e4c21ebf07
[TSVB] Add retry to remove flakiness (#104046) (#104277)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-05 06:52:28 -04:00
Dave Snider
5a4a08d80e
[Page layouts] Some light fixes (#103197) (#103885)
* [Solution Toolbar] Fixing button border on non-text color versions

* [Alerts] Removed extra wrappers and use EuiPageHeader

* [Logstash] Basic conversion to template

* [Reporting] Adding bottomBorder to page header

* [ML] Fix display of main navigation tabs

* [Stack Management] Fix side nav not updating when going back to landing page

* [Tags] Add spacing after page header

* [License Management] Full width on file uploader

* [Page Template] Fixed `emptyState` default template for pages with side nav

* [Infra] Removing some page header displays in empty states

* [Enterprise Search] Fix some error layouts

* [Index Patterns] Quick fix for empty state

* snaps

* [Page Template] Remove forced padding when `centeredBody`

* small hack for tab padding for ml

* scroll ML page to fix test

* fix test method type signature

Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
2021-06-30 16:05:20 -04:00
Kibana Machine
cd3063ac93
[Discover] Improve brushing test (#97830) (#103713)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-29 14:49:42 -04:00
Larry Gregory
5a84eb57ef
[7.x] Role Management: improve editing experience for DLS queries (#99977) (#103513)
* Role Management: improve editing experience for DLS queries (#99977)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/security/public/management/roles/roles_management_app.tsx

* fix eslint error
2021-06-28 15:29:34 -04:00
Tiago Costa
8bc10abb95
skip flaky suite (#89031) 2021-06-25 12:16:16 +01:00
Stratoula Kalafateli
74cd25d7a0
[VisTypePie] Use a different advanced setting for pie charts (#103049) (#103222)
* Different switch for pie

* Remove unused translations

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-24 07:40:58 -04:00
Kibana Machine
bcd1489237
[Discover] Add right permission for unmapped field test in cloud env (#102853) (#103221)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-24 07:33:01 -04:00
Matthias Wilhelm
2d0615af3a
[Discover] Unskip and improve sidebar filter functional test (#102986) (#103220) 2021-06-24 07:27:29 -04:00
Greg Thompson
e4c7b099e9
[7.x] Upgrade EUI to v34.3.0 (#101334) (#103175)
* Upgrade EUI to v34.3.0 (#101334)

* eui to v34.1.0

* styled-components types

* src snapshot updates

* x-pack snapshot updates

* eui to v34.2.0

* styled-components todo

* src snapshot updates

* x-pack snapshot updates

* jest test updates

* collapsible_nav

* Hard-code global nav width for bottom bar’s (for now)

* Update to eui v34.3.0

* flyout unmock

* src flyout snapshots

* remove duplicate euioverlaymask

* xpack flyout snapshots

* remove unused import

* sidenavprops

* attr updates

* trial: flyout ownfocus

* remove unused

* graph selector

* jest

* jest

* flyout ownFocus

* saved objects flyout

* console welcome flyout

* timeline flyout

* clean up

* visible

* colorpicker data-test-subj

* selectors

* selector

* ts

* selector

* snapshot

* Fix `use_security_solution_navigation` TS error

* cypress

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>

* fix bad merge resolution

* fix bad merge resolution

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
2021-06-24 01:30:59 -04:00
Kibana Machine
824fd4f8eb
[test] Migrates visualize esArchive to kbnArchiver (#102850) (#103195)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-23 23:16:53 -04:00
Kibana Machine
0d508191a0
Lens on Dashboard 7.12.1 Smoke Tests (#102667) (#103128)
* added smoke tests for lens by value panels on dashboard

Co-authored-by: Devon Thomson <devon.thomson@hotmail.com>
2021-06-23 18:38:23 +00:00
Kibana Machine
eea0addbb7
[Discover] Unskip and improve empty results query functional test (#102995) (#103110)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-23 16:59:02 +00:00
Kibana Machine
9abcf6e1e8
[Discover] Improve flaky test - doc navigation (#102859) (#103108)
* [Discover] test flakiness

* [Discover] wait for doc loaded

* [Discover] update related test

* [Discover] clean statement

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2021-06-23 12:47:31 -04:00
Kibana Machine
c73473ed92
[Discover] Unskip Discover large field number test (#100692) (#103050)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-23 06:03:36 -04:00
Maja Grubic
0e28661990
[Discover] Add source to doc viewer (#101392) (#102962)
* [Discover] Add source to doc viewer

* Updating a unit test

* Fix typescript errors

* Add unit test

* Add a functional test

* Fixing a typo

* Remove unnecessary import

* Always request fields and source

* Remove unused import

* Move initialization of SourceViewer back to setup

* Trying to get rid of null value

* Readding null

* Try to get rid of null value

* Addressing PR comments

* Return early if jsonValue is not set

* Fix loading spinner style

* Add refresh on error

* Fix error message

* Add loading indicator on an empty string

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-22 14:44:35 -04:00
Kibana Machine
c735215051
unksip functional test (#102633) (#102860)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2021-06-22 06:01:54 -04:00
Pierre Gayvallet
9cf01f1da5
[7.x] add isExportable SO export API (#101860) (#102698)
* add `isExportable` SO export API (#101860)

* add `isExportable` SO export API

* add warning when export contains excluded objects

* add FTR test

* fix API integration assertions

* lint

* fix assertions again

* doc

* update generated doc

* fix esarchiver paths

* use maps instead of objects

* SavedObjectsExportablePredicate is no longer async

* more docs

* generated doc

* use info instead of warning when export contains excluded objects

* try/catch on isExportable call and add exclusion reason

* add FTR test for errored objects

* log error if isExportable throws

* fix dataset for 7.x
2021-06-21 06:15:45 -04:00
Tyler Smalley
6977be0140
Revert "Revert: [7.x] [FTR][CI] Use default distribution for all tests (#102019) (#102580)
* Revert "Revert: [7.x] [FTR][CI] Use default distribution for all tests (#102019)"

This reverts commit c272bdbc25.

* [FTR] Stabilize SSLP functional tests (#102553)

* Removes spaces check, since spaces should always be available
* Disables Monitoring, SecuritySolutions, and Reporting in SSPL tests
until #102552 is completed

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-21 03:28:12 -04:00
Caroline Horn
b3a59f504c
[7.x] [K8] Added Inter font files for new theme (#102359) (#102579)
* [K8] Added `Inter` font files for new theme (#102359)

Updated the `Fonts` file to accept a `themeVersion` and only use the old Beta files if `v7`.
# Conflicts:
#	test/functional/screenshots/baseline/tsvb_dashboard.png
#	test/interpreter_functional/screenshots/baseline/metric_multi_metric_data.png

* Update baseline snapshot

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-20 19:12:00 -04:00
Kibana Machine
b85a234d54
[TSVB] Replaces EuiCodeEditor 👉 Monaco editor (#100684) (#102665)
* Сhanged EuiCodeEditor to CodeEditor (monaco) at markdown_editor.js

* Added css lang support for monaco-editor.

* Added .d.ts for css lang import directly from monaco.

* Moved handlebars_url language to the code_editor.

Moved handlebars_url language registration to the code_editor.
Changed the way of registration of languages.

* Added merge for markdown_handlebars lang.

* Changed to simple markdown syntax.

Handlebars syntax breaks highlighting of special chars in markdown syntax.

* Removed useless mergeConfig function.

* Removed legacy import.

* Refactor export from monaco-editor.

* Fixed 'Could not find a declaration file for module'

* Fixed tests.

* Fixed typings errors.

* Added comment to typings.

* Fixed clearMarkdown for Monaco editor.

* Made changes based on suggestions.

* Fixed types errors.

* Fixed function tests types errors.

* Fixes, based on nits.

* Fixes based on nits.

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

Co-authored-by: Yaroslav Kuznietsov <kuznetsov.yaroslav.yk@gmail.com>
2021-06-18 16:33:05 -04:00
Kibana Machine
4115b2d8f4
Display Kibana overall status in the logs and have FTR wait for green status before running tests (#102108) (#102511)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-06-17 12:28:01 -04:00
Steph Milovic
3bba37ff68
[7.x] [Observability] [Cases] Cases in the observability app (#101487) (#101971)
* [Observability] [Cases] Cases in the observability app (#101487)

* Fix archive

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

* fix data

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-15 17:33:45 -04:00
Kibana Machine
6114d5415e
[Fleet] Adjust add integration flow (#101714) (#102152)
* Initial commit, very WIP

- added link to the integrations UI instead of add integration
  in fleet
- added a new piece of route state that gets passed to integration
  from fleet when browsing integrations for a policy
- when the integration is being added the page will send the user
  back to the policy overview instead of back to integrations UI

* remove unnecessary agent policy clear function

* added # to path so that navigation is correctly handled

* added logic to read the forward agent policy id

* remove inline select integration package from fleet add integration

* updated toast notification

* using query parameter to pass policy id back to create policy package page

* removed policyId from route path

* fix type issue

* updated the select agent field layout per the designs

* simpified item rendering in combobox and fixed combobox z-index issue

* added comment

* fix types and i18n

* updated icon and removed unused i18n

* refactor to using styled components for cusomt z-index styling

* attempt to fix integration test

* added scroll functionality for dealing with fixed footers that might be obstructing content

* fix scroll direction!

* attempting another scroll algorithm

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

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2021-06-15 09:33:09 +00:00
Kibana Machine
04d7498792
[Discover] Improve functional test wording for responsive tests(#101744) (#102151)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-15 05:20:23 -04:00
Stratoula Kalafateli
815c3cee6d
[Tagcloud] Replaces current implementation with elastic-charts (#100017) (#102150)
* WIP - Replace tagcloud with es-charts wordcloud

* Cleanup and add unit tests

* Fix interpreter test

* Update all tagcloud snapshots

* Partial fix tagcloud test

* Fix some other functional tests, add migration script, update sample data

* Replace getColor with getCategorixalColor

* Fix functional test

* Apply clickhandler event for filtering by clicking the word

* Fix weight calculation

* Add a unit test and fix functional

* Change the cursor to pointer

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 04:36:41 -04:00
Kibana Machine
a134c9e278
[Discover] Unskip runtime field editor test (#101059) (#102111)
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-06-14 16:33:43 -04:00
Kibana Machine
a1705f0bc4
Fix delayed status API updates in alerting and task_manager (#101778) (#102084)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-06-14 13:23:02 -04:00
Anton Dosov
99e7c9058e
[Index Patterns] Cover field editor with a11y tests (#101888) (#102074) 2021-06-14 12:44:36 -04:00
Tyler Smalley
c272bdbc25
Revert: [7.x] [FTR][CI] Use default distribution for all tests (#102019)
* Revert "[FTR] Use importExport for saved_object/basic archive (#100244) (#102016)"

This reverts commit 9851b7bcfa.

* Revert "[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#101118)"

This reverts commit 73225daa87.
2021-06-13 23:29:03 -07:00
Tyler Smalley
73225daa87
[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#101118)
* [FTR][CI] Use default distribution for all tests (#94968)
* [FTR] Use importExport for saved_object/basic archive (#100244)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-12 09:53:10 -07:00
Tyler Smalley
32b7329c62 skip flaky suite (#101449) 2021-06-11 12:18:26 -07:00
Tyler Smalley
5c18bedd49
[esArchives] Persist migrated Kibana archives (#101951)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-10 20:47:22 -07:00
Spencer
34c5979eeb
[kbnArchiver] convert archive names to root-relative paths (#101839) (#101936)
* [kbnArchiver] convert archive names to root-relative paths

* ensure that newly multiline hooks are explicitly async

* missed a newly multiline hook

* fix exists check

* avoid extra lines by wrapping arrow body in {}

* one block more

* fix errant `name` variable

Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	test/api_integration/apis/kql_telemetry/kql_telemetry.ts
#	test/api_integration/apis/saved_objects/bulk_create.ts
#	test/api_integration/apis/saved_objects/bulk_get.ts
#	test/api_integration/apis/saved_objects/bulk_update.ts
#	test/api_integration/apis/saved_objects/create.ts
#	test/api_integration/apis/saved_objects/delete.ts
#	test/api_integration/apis/saved_objects/export.ts
#	test/api_integration/apis/saved_objects/find.ts
#	test/api_integration/apis/saved_objects/get.ts
#	test/api_integration/apis/saved_objects/import.ts
#	test/api_integration/apis/saved_objects/resolve.ts
#	test/api_integration/apis/saved_objects/resolve_import_errors.ts
#	test/api_integration/apis/saved_objects/update.ts
#	test/api_integration/apis/saved_objects_management/find.ts
#	test/api_integration/apis/saved_objects_management/get.ts
#	test/api_integration/apis/saved_objects_management/relationships.ts
#	test/api_integration/apis/shorten/index.js
#	test/api_integration/apis/stats/stats.js
#	test/api_integration/apis/suggestions/suggestions.js
#	test/functional/apps/discover/_discover.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-10 16:54:10 -04:00
Jonathan Budzenski
0e25a90b62 skip flaky runtime fields test. #100966 2021-06-10 12:01:48 -05:00
Dzmitry Lemechko
bc6bc5af2c
remove non-valid code (#100144) (#101885)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/functional/page_objects/common_page.ts
2021-06-10 10:31:10 -04:00
Spencer
bcdeccb39b
[7.x] [esArchiver] drop support for --dir, use repo-relative paths instead (#101345) (#101676)
* [esArchiver] drop support for --dir, use repo-relative paths instead (#101345)

Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	test/api_integration/apis/suggestions/suggestions.js
#	test/functional/apps/discover/_large_string.ts
#	test/functional/apps/visualize/index.ts
#	x-pack/test/functional/apps/infra/feature_controls/logs_security.ts
#	x-pack/test/functional/apps/saved_objects_management/import_saved_objects_between_versions_6.x_7.x.ts
#	x-pack/test/functional/apps/upgrade_assistant/upgrade_assistant.ts

* convert references to `saved_objects/basic` archive

* adapt other `saved_objects/*` archives

* update management/saved_obejcts/relationships archives

* replace old monitoring setup() usage

* remove reference to `empty_kibana` archive

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-06-08 22:45:04 -04:00
Kibana Machine
1591f39070
[es-archiver] Use alias for Kibana mappings (#101537) (#101626)
In 7.x, when saved objects point to an index and not an alias it will
assume it's pre-6.8 and perform a legacy migration. This causes issues
with the removal of oss builds. This update prevents that from happening
by using an alias.

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

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-08 12:21:54 -07:00
Kibana Machine
6727afe9d1
Upgrade cheerio from v0.22.0 to v1.0.0-rc.9 (#101394) (#101622)
Co-authored-by: Thomas Watson <w@tson.dk>
2021-06-08 13:46:59 -04:00
Caroline Horn
b118e40753
[Stack Management] Converted to use KibanaPageTemplate (sort of) (#101335) (#101617)
* Just replace the old wrapper and uses the `solutionNav` prop
* Examples of: Empty Page, Error state, Page Header, and Split Panel
2021-06-08 13:28:27 -04:00
Matthias Wilhelm
8064639fd9
[Discover] Deangularize discover controller (#96766) (#101566)
Co-authored-by: Tim Roes <mail@timroes.de>

Co-authored-by: Tim Roes <mail@timroes.de>
2021-06-08 07:29:14 -04:00
Stratoula Kalafateli
91b91356ba
[Visualize] Fixes functional tests to run for vislib and es-charts (#101461) (#101523)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-08 04:04:09 -04:00
Devon Thomson
f6f02aec8d
[Dashboard] Rebuild State Management (#97941) (#101524)
* Rebuilt dashboard state management system with RTK.
2021-06-07 17:14:44 -04:00