Commit graph

4318 commits

Author SHA1 Message Date
Felix Stürmer 238c61de07
[RAC] [Observability] Remove rac feature flags from default functional tests (#111942) 2021-09-15 11:17:52 +02:00
Brian Seeders f2a546aae8 skip flaky suite (#111812) 2021-09-14 21:25:18 -07:00
Tyler Smalley c6bc2b7048 skip flaky suite (#112194) 2021-09-14 21:17:24 -07:00
Tyler Smalley bfad0bda93 skip flaky suite (#112174) 2021-09-14 16:44:28 -07:00
Tyler Smalley 34581ff1ed skip flaky suite (#103430) 2021-09-14 13:20:59 -07:00
Spencer 2976f33618
[eslint] add rule to forbid async forEach bodies (#111637)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-14 13:20:53 -07:00
Tyler Smalley 378f2ed2f7 skip flaky suite (#112164) 2021-09-14 13:01:32 -07:00
Jonathan Buttner 2567c4f5fb
[Cases] Add import/export functionality (#110148)
* Working export but not import

* Adding user action import flag

* Adding a few integration tests

* Adding connector test

* Finishing integration tests

* Removing connector after each test to restore original state

* Bumping migration version for comment so

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 13:42:50 -04:00
Marco Liberati 2262cac584
[Lens] Fix add to dashboard functional test flakiness (#111887)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-14 18:53:17 +02:00
James Gowdy ee7e832489
[ML] Re-enabling skipped date nanos test (#112083) 2021-09-14 16:23:55 +01:00
Mikhail Shustov 4a2acad218
Functional tests for execution context propagation in alerting and task manager plugins (#111179)
* move execution context tests to x-pack folder

* add execution context tests for alerts and tasks

* cleanup tests

* remove obsolete test folder

* use ToolingLog instead of console.log
2021-09-14 11:52:33 +02:00
Chris Roberson 17150b245a
[Task Manager] Support excluding certain task types from executing (#111036)
* Support excluding certain action types

* Fix types

* Fix jest tests

* Flip this

* Add functional test

* Add to README

* Updated README

* Add startup log

* Update x-pack/plugins/task_manager/README.md

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

* Add telemetry

* Add test

* Rename internal to unsafe

* Update test config

* Fix tests

* Update x-pack/plugins/task_manager/README.md

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* PR feedback

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-09-13 16:02:23 -04:00
Jonathan Buttner a0af91e885
[Security Solution][Timeline] Migrate timeline ids to references (#111043)
* Starting migration class

* Fleshing out migrator

* Adding migration tests

* Refactoring

* Adding migrator to each client

* gzipping file

* Fixing cypress tests

* Cleaning up types and adding additional test

* Addressing feedback
2021-09-13 14:06:29 -04:00
Walter Rafelsberger 065701a0c3
[ML] APM Correlations: Chart for failed transactions correlations tab. (#110172)
* [ML] Fix tooltip text.

* Revert "[ML] Fix tooltip text."

This reverts commit ca86f769d7.

* [ML] Chart prototype.

* [ML] Hover support for failed transactions chart.

* [ML] Add p-value column.

* [ML] Code consolidation.

* [ML] Fix naming inconsistencies.

* [ML] Fix naming inconsistencies.

* [ML] Fix naming inconsistencies.

* [ML] Consolidate hooks.

* [ML] Consolidate hooks.

* [ML] Consolidate hooks.

* [ML] Use function overloads.

* [ML] Fix naming inconsistencies.

* [ML] Fix jest test.

* [ML] Fix chart loading behavior.

* [ML] Rename values to latencyCorrelations.

* [ML] Clean up types.

* [ML] Add function overloads.

* [Ml] Update API integration tests.

* [ML] Rename values to failedTransactionsCorrelations.

* [ML] Fix naming inconsistencies.

* [ML] Fix naming inconsistencies.

* [ML] Fix naming inconsistencies.

* [ML] Fix jest test.

* [ML] Fix API integration test

* [ML] Clean up chart data.

* [ML] Fix chart props.

* [ML] Tweak types for failed correlations.

* [ML] Improve FieldValuePair type usage.

* [ML] Remove 'async' from variable names.

* [ML] Fix typo.

* [ML] Simplify mock.

* [ML] Refactor code that used type guards.

* [ML] Comment about feature availability.

* [ML] Simplify check.

* [ML] Simplify selectedHistogram.

* [ML] Improve column type safety.

* [ML] Simplify selectedTerm.

* [ML] Simplify sorting.

* [ML] Fix regresssion when there's no data for failed transactions.

* [ML] Rename fieldFilter to termFilters.

* [ML] Update api integration test assertions.

* [ML] Fix failed transactions params.

* [ML] Tweak chart title.

* [ML] Tweak chart colors.

* [ML] Add translation.

* [ML] Tweak selectedTerm if statement.

* [ML] Fix types.

* [ML] Fix assertion text.

* [ML] Refactor replaceHistogramDotsWithBars.

* [ML] Refactor fetchFailedTransactionsCorrelationPValues.

* [ML] Fix score column width.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-13 17:08:43 +01:00
Robert Oskamp c01ff06cd2
[ML] Functional tests - stabilize import job test (#111929)
This PR stabilizes the import job tests by giving the `Import` button some time to be enabled before clicking it.
2021-09-13 17:23:28 +02:00
Marta Bondyra 15a31a19b3
[Lens] Make Lens saved object share-capable (#111403)
* [Lens] Make Lens saved object share-capable

Step 4 of https://www.elastic.co/guide/en/kibana/master/sharing-saved-objects.html#sharing-saved-objects-faq-changing-object-ids

* delete gzipped duplicate

* fix updating the document

* use create instead of update

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-13 09:33:22 +02:00
Brian Seeders d70ff6c3c3 Skip suite blocking ES snapshot promotion (#111907) 2021-09-10 17:38:15 -04:00
Aleh Zasypkin e4e8001269
Respect auth_provider_hint if session is not authenticated. (#111521) 2021-09-10 17:17:43 -04:00
Marshall Main caf5fe3fb6
[Security Solution] Add host.os.name.caseless mapping and runtime field (#111455)
* Add host.os.name.caseless field and runtime field

* Tests

* Only add backwards compatibility mappings to old indices by version

* Always update aliases_version field even if there are no compat mappings

* Add test for newest index version

* More comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-10 10:48:05 -04:00
Kerry Gallagher 7f6df4a575
[RAC] [Observability] Expand Observability alerts page functional tests (#111297)
* Regenerate data and add tests
2021-09-10 15:26:53 +01:00
Nathan Reese a779ea3818
[Maps] Remove * exports (#111003)
* [Maps] Remove * exports

* update extraPublicDirs

* clean up some more imports

* tslint

* eslint

* eslint

* fix import in functional tests

* eslint

* eslint take 2

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-10 06:16:37 -06:00
Uladzislau Lasitsa 70090e326c
Timelion App removal (#110255)
* Remove timelion app and stuff which related to it

* Fix CI

* Fix lint

* Fix tests

* Fix tests

* Fis tests

* Fix some comments

* Clean up

* fix CI

* fix some comments

* Fix deprecation examples

* Return `enabled` property in config for timelion vis

* Remove unused angular lib

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-09-10 14:53:07 +03:00
Kevin Logan 3c71408690
[Security Solution] Correct the default user notification messages and tooltip text for Memory and Behavior (#111806)
* [Security Solution] Correct the default user notification messages and tooltip text for Memory and Behavior
2021-09-10 07:30:38 -04:00
Tim Sullivan 297e4c365f
[Reporting/Tests] Use reporting default settings in test server config (#111626)
* remove custom kibana server settings for reporting in default x-pack test config

* have tests use the deprecated built-in role granting reporting access

* restore test user default privilege for canvas

* fix app privileges in tests

* fix test_user not able to access canvas in the dashboard test

* simplify some tests setup

* update csv export timerange and snapshot

* update fn tests for app privileges

* fix feature controls test

* Update discover_security.ts

* fix reporting tests

* test using defaults in the security privilege test

* fix read-only privileges with url_create Permalinks

* fix security api anonymous

* fix anonymous capabilities tests

* fix discover csv export tests

* Update screenshots.ts

* update discover csv fn tests

* update snapshots

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-09 22:13:37 -07:00
Paul Tavares 73540277e5
[Security Solution][Trusted Apps] New ArtifactEntryCard and refactor of Trusted Apps list to use it (#111051)
* New `ArtifactEntryCard` component
* Refactored ContextMenuItemNavByRouter and moved it to top-level components + new ActionsContextMenu component + add context menu to card
* Refactor Trusted App grid to use new ArtifactEntryCard
* new Trusted Apps generator + refactor existing of TA script to use it
* policy details support for custom back link
* bug fix: paginated content should not trigger a change to adjust paging settings unless loading is done
2021-09-09 18:47:40 -04:00
Greg Thompson 6803fb362a
Upgrade EUI to v37.6.0 (#110998)
* eui to 37.6.0

* update snapshots

* grid cell text

* update snapshot

* Revert "grid cell text"

This reverts commit 1721e83939.

* grid cell text

* update tsvb baseline

* update area_chart baseline

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-09 14:54:30 -05:00
Cauê Marcondes c51c92cd7a
[APM] Fix bucket size in alert previews (#111304)
* fixing preview charts

* using metrics

* fixing ts issues

* refactoring

* refactoring useServiceTransactionTypesFetcher

* addressing pr comments

* addressing pr comments

* addressing pr comments
2021-09-09 12:57:29 -04:00
Cauê Marcondes 6e9b1b57b8
[APM] Consistent "no data" screen with other Observability solutions (#111630)
* logic to show no data screen

* fixing i18n

* fixing ts

* addressing pr comments
2021-09-09 12:55:28 -04:00
Chris Roberson b9e6f935c4
[Actions] Treat failures as successes for Task Manager (#109655)
* Support retry with email as an example

* Fix tests

* Add logic to treat as failure if there is a retry

* Handle retry better

* Make this optional

* Tweaks

* Remove unnecessary code

* Fix existing tests

* Add some unit tests

* Add test

* Add doc note

* More docs

* PR feedback

* Update docs/management/action-types.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/management/action-types.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/management/action-types.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/management/action-types.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/management/action-types.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-09 12:51:39 -04:00
Robert Oskamp 7f441b49b3
[ML] Functional tests - skip color assertions in cloud (#111695)
This PR skips color assertions during functional tests in cloud environments.
2021-09-09 11:58:58 -04:00
Jonathan Budzenski 72dfb9c7e3 skip flaky suite, #109564 2021-09-09 09:29:27 -05:00
ymao1 334f129bcb
[Alerting] Fixing flaky tests (#111366)
* Unskipping test

* Retrying deletes

* Unskipping test

* Changing fn signature

* hmm

* Removing unnecessary code

* Unskipping test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-09 09:43:42 -04:00
Søren Louv-Jansen d3f6303014
[APM] Show badge for failed spans in waterfall (#109812)
Co-authored-by: Casper Hübertz <casper@formgeist.com>
2021-09-08 23:37:28 +02:00
Rudolf Meijering 5464af6923
legacy dashboards import/export API: deprecation logs and usage data (#111283)
* Move legacy dashboards API to core and adds usage data

* More legacy_export plugin removal

* Log a warning for deprecated dashboard import/export API

* Review comments
2021-09-08 16:15:52 -04:00
spalger 32e98730b5 skip flaky suite (#111628) 2021-09-08 12:56:46 -07:00
spalger b328fb3981 skip flaky suite (#108352) 2021-09-08 12:53:37 -07:00
Walter Rafelsberger 28af11a601
[ML] APM Correlations: Fix API integration tests. (#111532)
A bugfix for significant terms on the ES side resulted in changes to assertions we have for api integration tests for APM correlations. This PR updates the affected tests.
2021-09-08 21:33:16 +02:00
Marco Liberati b36ffc98fc
[Lens] Fix Heatmap in dashboard with numeric color stops (#111117)
* 🐛 Fix heatmap numeric stops problem + tests

* 🏷️ Fix type issue

*  Add dashboard functional tests for this issue

*  Simplify functional test

*  fix functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-08 19:02:10 +02:00
Stratoula Kalafateli 6f4d8a52dc
[Vislib] Removes old implementation of xy chart (#110786)
* [Vislib] Remove xy chart

* Update i18n

* Remove uncecessary file

* Fix types

* More fixes

* Fix functional tests part 1

* Fix functional tests part 2

* Fix bug with shard-delay

* Fix functional tests part 3

* fix functional tests part4

* Fix async_serch FT

* Fix functional dashboard async test

* REplace screenshot area chart image

* Cleanup vislib from xy charts

* Remove unused fixtures

* Address PR comments

* Remove miaou :D

* Address PR comments

* Fix i18n

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-08 18:35:51 +03:00
Robert Oskamp dc8f557d3b
[ML] Functional tests - omit node_name in job message assertions (#111529)
This PR removes the node_name from job audit message assertions as it can vary depending on test environments, particularly in cloud.
2021-09-08 11:21:14 -04:00
Jonathan Budzenski 55b0d535ff skip flaky test. #111496 2021-09-08 09:30:53 -05:00
Walter Rafelsberger f1fbe8e06d
[ML] APM Latency Correlations: Code consolidation. (#110790)
Code deduplication:
- combine 3 existing client side hooks into useSearchStrategy
- combine server side multiple search strategy files into shared search_strategy_provider.ts
- Clarified naming (client/server params, strategy naming etc.), improved types.
- None of the actual deeper internal logic changed, larger chunks of code that show up as new lines is mostly just moved code + additional types (e.g. function overloads) to support the different search strategies with the same server side code and client side hook.
2021-09-08 09:47:07 +02:00
Devon Thomson 70632e2a9e
[Dashboard] Retain Tags on Quicksave (#111015)
* fixed missing tags api when loading saved dashboard. Added tests
2021-09-07 14:20:15 -04:00
Nathan Reese daf860c701
[sample data] update web log geo.src field to match country code of geo.coordinates (#110885)
* [sample data] update web log geo.src field to match country code of geo.coordinates

* fix functional tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-07 10:40:46 -06:00
Nicolas Chaulet b5f8d2e998
[Fleet] Set default settings in component template instead of the index template (#111197) 2021-09-07 12:09:08 -04:00
Felix Stürmer 2e31899bde
[RAC] [Observability] Disable RAC feature flags for now (#111296) 2021-09-07 13:07:16 +02:00
Søren Louv-Jansen c7394591cc
[APM] Mark old api test client as legacy (#110974)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-07 00:39:45 +02:00
Felix Stürmer e145ccdb87
Add test service to manage observability test users (#110849)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-06 16:18:09 +02:00
Marco Liberati 1a88d34ea2
[Lens] Reverse colors should not reverse palette picker previews (#110455)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-06 14:27:53 +02:00
Tiago Costa 907a34076f
skip failing es promotion suites (#111240) 2021-09-06 01:17:07 +01:00