Commit graph

2674 commits

Author SHA1 Message Date
Alex F
8a442ac4a7
eCommerce Sample Data (#23214) (#23788)
:shipit:
2018-10-03 15:38:08 -04:00
Josh Dover
78b2159f33
[6.x] Add jenkins:report task for test failures (#22682) (#23659)
* Add jenkins:report task for test failures (#22682)

* Add jenkins:report task

* PR comments

* Handle different junit XML formats (#23617)
2018-10-01 14:52:48 -05:00
Larry Gregory
632c63ab21
[6.x] Spaces Phase 1 (#21408) (#23639)
Backports the following commits to 6.x:
 - Spaces Phase 1  (#21408)
2018-10-01 09:53:43 -04:00
liza-mae
b54cac72bf
Add argument passing to jenkins cloud job (#23538) (#23549) 2018-09-26 17:46:11 -06:00
Brandon Kobel
de2863ae9f
Saved Object Namespaces (#23378) (#23536)
* Use an instance of SavedObjectsSerializer for migrations and the repository

* Fixing spelling of serialization

* Making the serializer conditionally include and prepend id with ns

* Adding repository tests for the namespaces

* Implementing find

* Modifying the SOCs to pass the options with the namespace

* Centralizing omitting the namespace when using serializer.rawToSavedObject

* Passing the schema through to the SavedObjectRepositoryProvider

* Changing the schema to work with undefined ui exports schemas

* Adding schema tests

* Making the complimentary serialization test use the namespace

* Fixing uiExports

* Fixing some tests

* Fixing included fields for the find

* Fixing include field tests, they're checking length also...

* Updating Repository test after adding namespace to always included
fields

* Renaming UIExportsSavedObjectTypeSchema to SavedObjectsSchemaDefinition

* Completing rename... forgot to save usages

* Fixing issue with the serialization.isRawSavedObject and the trailing :
2018-09-26 10:12:09 -07:00
Tim Roes
2cb1f3e9db
Remove last mentions of spy panels (#23527) (#23533) 2018-09-26 19:08:12 +02:00
pavel06081991
4c331b1348
Update versions of @babel/parser and @babel/types (#23268) (#23469)
Update versions of @babel/parser, @babel/types, eslint, babel-eslint
2018-09-25 16:18:05 +03:00
Nathan Reese
a5950b7db6
display hits and total hits for courier inspector requests (#23434) (#23449)
* display hits and total hits for courier inspector requests

* update Hits help text to explain difference between total hits

* fix functional test
2018-09-24 13:46:22 -06:00
Stacey Gammon
5cbc278614
Use concrete assertions, not exists (#23271) (#23392) 2018-09-24 07:36:58 -04:00
Caroline Horn
e4553de816
Timelion less to sass (#23339) (#23405) 2018-09-21 23:17:43 -04:00
Nathan Reese
fe1b90faa5
Migrate save top nav in Discover and Visualize to EUI (#23190) (#23380)
* extract reusable save component from DashboardSaveModal

* update discover search to use SavedObjectSaveModal

* create generic show_save_model that works for both discover and dashboard

* fix last bits of discover save

* remove old save functionallity

* migrate visualize save to EUI

* fix functional tests

* disable save button if title is empty

* mark title input as invalid when title is not provided

* fix funtional tests
2018-09-20 19:40:06 -06:00
Nathan Reese
f750ab71c1
Convert Discover open top nav to EUI flyout (#22971) (#23376)
* move find logic to SavedObjectFinder component since savedObjectClient is no longer coupled to angular

* implement flyout open saved searches

* remove old open stuff

* add jest test for OpenSearchPanel and simplify panel title

* fix functional tests

* fix _lab_mode functional test
2018-09-20 15:05:17 -06:00
Tim Roes
c3e516e952
add support for 'format:number:defaultLocale' setting in TSVB (#21444) (#23354) 2018-09-20 16:10:07 +02:00
Spencer
802a4fa77d
[migrations/tests] sort results before assertion (#23347) (#23350)
There have been several failures in this test, seemingly caused by a lack of sorting in the results. It makes sense that since both migrations are run simultaneously that sometimes one would succeed and sometimes another would, so I've just sorted the results before checking.

![image](https://user-images.githubusercontent.com/1329312/45791153-44e9cc80-bc3d-11e8-88c4-760d4c7b35bd.png)

cc: @chrisdavies
2018-09-20 00:10:49 -07:00
Caroline Horn
4beb2c604e
Vis LESS to SASS (cont.) (#23199) (#23330) 2018-09-19 16:28:33 -04:00
Nathan Reese
d704b4247c
fix merge conflict - 6.x needs _type in index create command (#23321) 2018-09-19 11:18:42 -06:00
Larry Gregory
afd9e6602e
[6.x] Remove ability to implicitly find across all types (#23198) (#23312)
Backports the following commits to 6.x:
 - Remove ability to implicitly find across all types  (#23198)
2018-09-19 09:03:59 -04:00
Chris Davies
c67791803f
[6.x] Add saved object index migrations (#20243) (#23262) 2018-09-18 09:46:58 -04:00
Caroline Horn
acd01a4881
Resolve conflicts (#23197) 2018-09-14 15:28:25 -04:00
Stacey Gammon
3983f30d38
Bring back most of the filtering tests, only bypass the known current issues (#22787) (#22996)
* Bring back most of the filtering tests, only bypass the known current issues.

* Clean up after the test suite run so it can be run multiple times in a row.

* goal and guage issues were because of a bad cache
2018-09-13 12:37:29 -04:00
Stacey Gammon
5a65d1e8ea
Capture browser logs on test failure (#22670) (#22983)
* Capture browser logs

* spit out in logs, simulate failure to test

* remove leftover code

* simulate failure

* Remove forced failure
2018-09-13 07:28:02 -04:00
Peter Pisljar
cb36eebb96
fixed editor state updates for parent pipeline aggs (#22874) (#22961) 2018-09-12 16:00:11 +02:00
Peter Pisljar
2b1dacccfd
fixing sorting of terms bucket (#22919) (#22926) 2018-09-12 12:22:06 +02:00
Nathan Reese
eadf7e847b
backport (#22949) 2018-09-11 17:07:48 -06:00
Lee Drengenberg
4b26d3fe3b
Fix rbac test (#22912) (#22933)
* conditionalize Monitoring tests for Cloud testing

* make security_page/login wait

* revert these files from another PR

* revert these files from another PR
2018-09-11 15:15:04 -05:00
Marco Vettorello
e4c7e21324
Fix _source formatting (#22800) (#22864)
* Fix _source formatting

* Update unit test

* Add functional test

* Fix CI error, move functional test to the end
2018-09-10 12:07:05 +02:00
Spencer
0161da81b2
[6.x] Migrate base path APIs and UiSettings client to new platform (#22694) (#22848)
Backports the following commits to 6.x:
 - Migrate base path APIs and UiSettings client to new platform  (#22694)
2018-09-08 03:42:10 -07:00
Stacey Gammon
2fed0dc349
Investigate flaky override colors dashboard test (#22726) (#22825)
* Run 30x

* attempt a fix

* go back to a single run
2018-09-07 14:52:17 -04:00
Stacey Gammon
64db863761
Generalize dashboard panel actions to not be dashboard specific (#22775) (#22829) 2018-09-07 14:52:09 -04:00
Tyler Smalley
31ad5530b3
[ci] Run ES snapshot when possible (#22663) (#22788)
For instances where we would otherwise be running from source in a tracked elastic/elasticsearch branch, let's use a snapshot instead. This will eliminate some gradle issues we are experiencing in master.
2018-09-06 19:12:51 -07:00
Rashmi Kulkarni
4766de8e19
Mgmt saved object test (#22564) (#22744)
merging into 6.x
2018-09-05 16:25:17 -07:00
Tim Roes
46709c62b0
Move timezone settings into autoload file (#22623) (#22706)
* Move timezone settings into autoload file

* Remove applying setting from timelion

* Remove manual set from ML

* Remove manual set from monitoring

* Remove now obsolete code from embedding test plugin
2018-09-05 12:03:59 +02:00
Tim Roes
9f37b1fe51
Add functional tests for visualize loader API (#22595) (#22649)
* Initial visualize loader functional tests

* Extend plugin test README

* Add temporary tz work around

* Switch to Australia/North timezone

* Add filtering tests

* Add all tests

* Remove unneeded uiExports

* Improve explanation

* Add saved object test, add retry
2018-09-04 15:09:57 +02:00
Marco Vettorello
6b504ed8af
Fix possible flakiness of saveVisualization action (#22356) (#22546)
* Updated saveVisualization to wait for toast instead of global indicator

* Fix RBAC tests.

The saveVisualization now fails directly if the visualization is not correctly saved.

* Change editor to use toast for errors

* Change saveVisualization method to new saveVisualizationExpectSuccess

For RBAC tests used also saveVisualizationExpectFail

* Fix wrong exists method call

* Fix missing exist function
2018-09-03 14:14:31 +02:00
Bhavya RM
1e3ca94a68
Functional test to surface index version conflicts (#22509) (#22548) 2018-08-30 13:51:39 -04:00
Lee Drengenberg
3f3397ace5
Fix flaky dashboard color legend (#22341) (#22545)
* Rebuild modulePath correctly if on Windows

* Adding 1 second sleep to fix flaky test

* Wait to find a gear in the visualization after clicking Edit

* Revert "Wait to find a gear in the visualization after clicking Edit"

This reverts commit 8dac3fbd63.

* use waitForRenderComplete and change that to 1s timeout

* Use sleep until TagCloud data-render-complete is fixed

* Different getIsInEditMode courtesy of @chrisdavies

* combine switchToEditMode into one method
2018-08-30 12:41:25 -05:00
Alex F
df8b8304b5
[WIP] Logs Sample Data (#22276) (#22530)
Log sample data, check 
2018-08-30 08:52:22 -04:00
Nathan Reese
517947765a
Implement inspector for Saved Searches (#22376) (#22511)
* Implement inspector for Saved Searches

* add inspect top nav to discover app

* add functional test, add support for empty results

* clean up functional test names

* create inspector request before processing response
2018-08-29 14:23:20 -06:00
liza-mae
0cf13f6a30
Fix gauge test (#22472) (#22475) 2018-08-29 14:07:41 -06:00
Nathan Reese
27dd8c2919
Eui sharing top nav (#21997) (#22468)
* just getting the popover to open and start laying out the context menu

* pass getUnhashableStates to ShareMenu

* generate original and snapshot ids

* move state into ShareUrlContent

* start working on form

* use radio group

* add input for creating short URL

* display URL in alert until copy functionallity gets migrated to EUI

* allowEmbed prop

* replace share directive with showShareContextMenu

* fix button styling

* add jest test for share_context_menu

* use EuiCopy to copy URL, add jest test for ShareUrlContent component

* clean up

* display short URL create error message in form instead of with toast

* switch option order so disbaled option can not be first

* fix discover share functional tests

* add functions required by reporting

* typescript

* remove empty file

* fix typescript compile error

* move import so jest tests work

* fix Failed prop type: The proptextToCopyis marked as required inEuiCopy, but its value isundefined

* move shortUrl out of react state and into Component object

* getUnhashableStates type from any[] to object[]

* add comment about type change once EUI issue is solved

* add functional test for saved object URL sharing

* remove commit
2018-08-28 14:52:16 -06:00
Lee Drengenberg
4a8fe9b0b8
Fix "visualize app linked saved searched should allow adding filters while having a linked saved search" (#22380) (#22417)
* Rebuild modulePath correctly if on Windows

* Adding 1 second sleep to fix flaky test

* Wait to find a gear in the visualization after clicking Edit

* Revert "Wait to find a gear in the visualization after clicking Edit"

This reverts commit 8dac3fbd63.

* use waitForRenderComplete and change that to 1s timeout

* Add retry.waitFor

* use waitFor and return === result

* Revert to files from another PR

* Remove a debug console.log
2018-08-27 21:02:25 -05:00
Nathan Reese
31a9ca74eb
Refactor Sample Data Home section which also fixes flaky sample data functional test (#21655) (#22425)
* add retry to sample data unstall test

* fix flaky sample data test

* remove retry around expect

* simplify solution

* remove onRequestComplete and just track status in state

* move all state into new SampleDataSetCards

* track processing status in seperate object than sampleDataSets

* display toast notifications from SampleDataSetCards component

* remove checks for toast notifications, just causing flakyness

* only load sample data set status on initial component load

* set processing to false when there is an install failure
2018-08-27 15:24:12 -06:00
Peter Pisljar
f4cc99ac76
fixing flaky vsualize data_table_nontimeindex test (#22288) (#22401) 2018-08-27 17:03:27 +02:00
Lee Drengenberg
1b408edcb0
Speed up dashboard add panel (#22278) (#22339)
* Rebuild modulePath correctly if on Windows

* Change how we find dashboard add panel is loaded

* Add and use find.byClassName instead of remote

* cleanup a comment
2018-08-27 09:36:33 -05:00
Marco Vettorello
b6a2ca4795
Skipping vertical bar chart with index without time filter (#22337) (#22345) 2018-08-24 10:07:59 +02:00
Brandon Kobel
7529ac90a9
Skipping Visualize "data table with index without time filter" (#22323) (#22324) 2018-08-23 14:09:49 -04:00
Rashmi Kulkarni
1c22214b87
added log info for clarity while running the test with additional parameters (#22277) 2018-08-23 09:15:45 -07:00
Spencer
138f45698c
[accessibility] implement no-animation mode, auto enable for functional tests (#21629) (#22203) 2018-08-22 14:53:58 -07:00
liza-mae
00c0478c74
Emit error if api is not stopped and exit code is greater than zero (#22224) (#22257) 2018-08-22 12:26:59 -06:00
Peter Pisljar
704bd1ffed
fixing date_histogram to correctly work inside plugins without global time picker (#21955) (#22246) 2018-08-22 14:49:22 +02:00