Commit graph

548 commits

Author SHA1 Message Date
Felix Stürmer
1404c68dc8
[7.x] [Logs UI] Allow for jumping to the previous and next hig… (#41869)
Backports the following commits to 7.x:
 - [Logs UI] Allow for jumping to the previous and next highlight (#40010)
2019-07-24 20:30:41 +02:00
Jean-Louis Leysens
1d07bc5f73
[SearchProfiler] Parse triple quotes JSON in SearchProfiler editor (#41282) (#41871)
* Initial pass at introducing XJsonWorker for searchprofiler app:

- Added some copy pasted logic from console (json rules)
- Copied and modified brace's json worker/parser. Added the ability to take """
- Updated existing controller and logic to work with new files

* Added comment

* Fixed type worker.js type issue
Added some more clarifying comments

* semi-colon

* Brought OO inheritance more in line with what ace expects (no `class`)
Added tests

* Clarify ts module declaration for raw loaded worker.js file

* Minor refactor

* Added comment

* Added safe apply mechanism to notify ng about changes to editor content
2019-07-24 17:30:58 +02:00
Felix Stürmer
f16855a9b4
[7.x] Comment out flakey test steps (#41743) (#41794)
Backports the following commits to 7.x:
 - Comment out flakey test steps (#41743)
2019-07-23 20:04:48 +02:00
Zacqary Adam Xeper
2f31e58ee8
[Logs UI] Make column configurations reorderable (#41035) (#41697)
* [Logs UI] Make column configurations reorderable

* Improve typing aand memoize callback

* Guard against index bounds and rename reorderLogColumns

* Fix useCallback memoization

* Add functional test for reordering log columns

* Use browser.keys instead of Key in functional test
2019-07-23 09:56:51 -05:00
Liza Katz
8804085a9c
hide top nav menu in full screen mode of maps and dashboard (#41672) (#41731)
* hide top nav menu in full screen mode of maps and dashboard

* Fixed dashboard full screen mode and added full screen mode test to maps
2019-07-23 11:25:42 +03:00
Spencer
68f14413a7
[7.x] [jest] disallow invalid describe calls (#41378) (#41483)
* [jest] disallow invalid describe calls

* correct other describe calls

* remove unnecessary glob

* cast decribe names to strings

* remove new async describe function

# Conflicts:
#	x-pack/legacy/plugins/index_management/__jest__/client_integration/home.test.ts
#	x-pack/test/functional/apps/uptime/monitor.ts
2019-07-18 15:25:50 -07:00
Alison Goryachev
4dcc99fe34
[IM] Index Templates UI list view (#39922) (#41451) 2019-07-18 13:57:40 -04:00
Andrew Cholakian
f8aed87355
[7.x] [Uptime] Handle mode: all in uptime snapshot calculation (#41335) (#41424)
* [Uptime] Handle `mode: all` in uptime snapshot calculation (#41335)

Patching this function in #41210 fixed performance but was missing this filter clause. We depend on only processing summary info. This fixes errors around missing destructured data where we expect summary fields to be present.

* Update snapshot to use heartbeat7.0.0 index for backport
2019-07-18 11:07:48 -05:00
spalger
33c373840e skip two failing tests (#41453) (#41452)
(cherry picked from commit 75391329a0)
2019-07-18 08:45:18 -07:00
Dmitry Lemeshko
a5c5901fd2
Fix/re enable skipped functional tests (#41238) (#41442)
* [home/_sample_data] unskip tests

* [visualize/_tsvb_chart] unskip switch index pattern test

* unskip nodes filter test

* run specific groups 10x times

* Revert "run specific groups 10x times"

This reverts commit ad7302f33f.
2019-07-18 14:29:14 +02:00
Chris Cowan
a684c6c419
Fixes #40493 - Inventory should display nodes without names (#40804) (#41388) 2019-07-17 19:01:23 -07:00
Mengwei Ding
91f581d862
[Code] Use seq_no and primary_term to do ES concurrency control for EsQueue and reenable code tests (#41377) (#41398)
* Revert "disable all code tests (#41363)"

This reverts commit 771d70c334.

* Revert "[code] disable failing tests (#41336) (#41338) (#41337)"

This reverts commit 62fedccad5.

* [Code] Use seq_no and primary_term to do ES concurrency control for queue
2019-07-17 14:00:37 -07:00
John Dorlus
e302071216
Added app load test for Remote Clusters. (#40932) (#41260) 2019-07-17 17:06:58 +00:00
spalger
5e3281f8d3 disable all code tests (#41363)
(cherry picked from commit 771d70c334)
2019-07-17 08:18:36 -07:00
spalger
779dca3c27 [code] disable failing tests (#41336) (#41338) (#41337)
(cherry picked from commit 62fedccad5)
2019-07-17 06:10:28 -07:00
Walter Rafelsberger
0344e92b16
[ML] Data Frames: Rename job to transform. (#41219) (#41324)
This PR renames directories and variables of occurrences of job in the context of data frames to transform across the code.
2019-07-17 11:51:18 +02:00
Patrick Mueller
e403460f25
Change action config / params schema from joi to @kbn/config-schema (#40694) (#41161)
* Adds actionTypeConfig to AAD exclusion for action ESOs

fixes https://github.com/elastic/kibana/issues/40177

Prior to this, the `actionTypeConfig` was not excluded from AAD when using
encrypted saved objects in actions.

d0da71c2b4/x-pack/legacy/plugins/actions/server/init.ts (L31-L35)

This caused a problem when updating values in the `actionTypeConfig`, as per
issue https://github.com/elastic/kibana/issues/40177

Also added `x-pack/test/functional/es_archives/actions/README.md` to explain
how to get the id and encrypted value string, if this needs to be done again
later, since it's a little tricky.

* change alertings reference to actions archived action

Alert happened to reuse the archived action, so it's reference to the
action also had to be updated.
2019-07-15 15:16:16 -04:00
spalger
dd681db688 skip flaky test (#41112)
(cherry picked from commit dae65d6fe6)
2019-07-15 11:38:26 -07:00
spalger
99a2def5ed skip flaky test (#41112)
(cherry picked from commit 86b533feea)
2019-07-15 09:49:24 -07:00
WangQianliang
0be2c41895
fix(code/frontend): should collapse folder if the subfolder of the subfolder open (#40836) (#41102) 2019-07-15 18:59:49 +08:00
spalger
fb3a33c486 skip flaky test (#41076)
(cherry picked from commit 97a0920c4e)
2019-07-13 14:21:24 -07:00
Stacey Gammon
458de86dd8
Use embeddable v2 (#39126) (#41042)
* Final Embeddable API V2 PR

* fix: import discover embeddable scss file

* address code review comments

* Add a functional test that would have caught the bug... will look to add a unit version once I discover the error.

* Fix bug cause by async loading calls and changes to parent input while child is being created. added jest test

* remove outdated readme in dashboard folder

* need to always refresh dashboard container, not just when "dirty"

* add a wait, this issue started appearing right when I added this to the test

* Remove test that kills kibana ci so it's not a blocker. jest test was added for this scenario

* fix issues when panel is added then removed before it completes loading

* fix logic error with maps embeddable and isLayerTOCOpen
2019-07-12 16:28:29 -04:00
John Dorlus
f19b157ed9
Added app load test for Cross Cluster Replication. (#40708) (#40799) 2019-07-10 21:54:30 +00:00
Tim Sullivan
3b9370560e
Fix Relative Date format in CSV export (#40544) (#40705)
* Fix Relative Date format in CSV export

* fix date nanos

* functional test
2019-07-10 12:52:38 -07:00
John Dorlus
c81132b5bf
Added index management app loading test. (#40219) (#40656) 2019-07-09 20:12:23 +00:00
Nathan Reese
4c73f89f19
[Maps] create visual regression test for vector styling point with icons (#39363) (#40671)
* [Maps] create functional test for vector styling point with icons

* clena up

* use full screen to hide kibana chrome

* collapse legend to limit UI surface area
2019-07-09 13:37:36 -06:00
John Dorlus
3fba213e7b
Added snapshot restore smoke test to ensure the app has loaded. (#39812) (#40459)
* Added snapshot restore smoke test to ensure the app has loaded.

* Fixed linting issues.

* Updated test to reflect changes to Snapshot and Restore's name.

* Fixed merge update.
2019-07-07 20:40:41 +00:00
John Dorlus
85c6b73402
Added ILM smoke test to ensure the app has loaded and a data test subject for the section header. (#39859) (#40457) 2019-07-06 07:37:23 +00:00
Dmitry Lemeshko
6d9e1f04ee
Run more tests in firefox (#40140) (#40381)
* [smoke suite] add code search tests

* run FF xpack tests 5x times

* [smoke suite] add more x-pack tests

* Revert "run FF xpack tests 5x times"

This reverts commit c59046f43d.
2019-07-05 09:21:54 +02:00
Dmitry Lemeshko
4cb5d4de17
[ftr] replace getProperty with getAttribute (#40358) (#40383)
* [ftr] replace getProperty with getAttribute

* fix failing tests

* [services/pipeline_editor] revert change
2019-07-05 09:21:41 +02:00
WangQianliang
359c9ad0ab
[Code] fix history functional test (#37332) (#40269)
* enable history functional test and fix flaky test
2019-07-04 10:59:26 +08:00
spalger
f663e18cb8 [7.x] [prettier] upgrade to 1.18.2 (#40229)
* [prettier] upgrade to 1.18.2

* autofix prettier violations

(cherry picked from commit a95ae8c037)
2019-07-03 13:00:44 -07:00
WangQianliang
7c0f5d1087
[Code] refactor file and repository reducer (#39422) (#40115)
* chore(code/frontend): refactor file and repository reducer

* chore(code/frontend): add types in actions and reducers
2019-07-03 21:19:24 +08:00
Clint Andrew Hall
3edd52d099
Enable Canvas URL Parameters (#40061) (#40112)
* Enable Canvas URL Parameters

* Update to use time interval strings

* Addressing feedback
2019-07-02 22:35:19 -05:00
Larry Gregory
0604fa4891
[7.x] Security - Allow roles to be cloned (#39303) (#40208)
* implement clone role

* fix CSS selector

* improve breadcrumbs when cloning

* adjust action column width

* additional cleanup

* don't allow reserved roles to be edited or cloned

* simplify route definition

* update tests

* update test role name
2019-07-02 17:14:14 -04:00
Thomas Neirynck
af0e157f99
[Maps] Hide feature when it has no corresponding term join (#36617) (#40145) 2019-07-02 15:30:13 -04:00
spalger
c1e822cf37 disable flaky test (#39163)
(cherry picked from commit c8e4f9c0b8)

# Conflicts:
#	x-pack/test/functional/apps/code/history.ts
2019-07-02 07:58:44 -07:00
Larry Gregory
59de7e8c32
[7.x] Feature Controls - only navigate to index pattern management i… (#40067) (#40125)
* Feature Controls - only navigate to index pattern management i… (#40067)

* only navigate to index pattern management if available

* fix tests entry template

* don't resolve capabilities until absolutely necessary

* remove unused translations
2019-07-02 08:09:52 -04:00
Andrew Cholakian
2f96c36233
[7.x] [Uptime] Add monitor summaries (#38895) (#40110)
* [Uptime] Add monitor summaries (#38895)

The main purpose of this PR is to allow the Uptime app's Overview page to leverage a new format for Heartbeat data that we've been referring to as States. The purpose here is to make it easy to query how many monitors there are right now, what their status is, etc., as well as add support for grouping monitors by location. This allows us to reference documents for a single host that many heartbeat instances are creating.

* Consistent default messages

* Remove unused translations

* Update snapshots
2019-07-01 23:41:20 -05:00
WangQianliang
304a59ec55
[Code] fix line number click (#39773) (#39986)
* fix(code/frontend): should update line number click handler after path changes
2019-07-01 15:29:55 +08:00
Alison Goryachev
41ac633007
[7.x] EUIfy Watcher (#35301) (#39970) 2019-06-29 10:52:59 -04:00
spalger
b37277c31a skip flaky test (#39958)
(cherry picked from commit c5b4e3264d)
2019-06-28 14:36:32 -07:00
Robert Oskamp
5b1cdfb592
[ML] Add basic navigation tests for ML pages to functional UI tests (#39525) (#39662)
Backports the following commits to 7.x:
 - [ML] Add basic navigation tests for ML pages to functional UI tests  (#39525)
2019-06-28 14:08:25 +02:00
John Dorlus
8cee64c980
[7.x] Added app load smoke test for License Management (#39750) (#39838)
* Added app load smoke test for License Management (#39750)

* Added app load smoke test for License Management

* Fixed linting issues.

* Moved assertion to test file and changed function to licenseText()

* Added es lint fixes.
2019-06-28 06:25:39 +00:00
Mengwei Ding
7a63599755
[Code] Use match query instead of term query (#39717) (#39867) 2019-06-27 21:14:19 -07:00
WangQianliang
0562b51b4a
[Code] source view page branch selector (#39238) (#39758)
* feature(code/frontend): source view page branch selector
2019-06-27 12:55:23 +08:00
Nathan Reese
a27fc68640
[Maps] add Where clause to terms joins (#39593) (#39694)
* [Maps] add Where clause to terms joins

* add functional test

* rename layerQuery to sourceQuery
2019-06-26 13:56:14 -06:00
Fuyao Zhao
df4dfdcb07
[Code]: re-enable all certificate checks (#39634) (#39651) 2019-06-26 01:54:51 -07:00
Lee Drengenberg
b05dcce7d6
convert timestamp in UTC to fix "InfraOps app Home page with metrics present renders the waffle map for dates with data" (#39124) (#39485)
* convert timestamp in UTC

* use moment-timezone

* switch from long unix time to strings
2019-06-25 12:51:07 -05:00
Nathan Reese
11a32ae452
[Maps] do not allow save when map has unsaved layer changes (#39529) (#39550)
* [Maps] do not allow save when map has unsaved layer changes

* fix jest test

* refactor add layer panel functional tests
2019-06-24 21:48:49 -06:00