Commit graph

702 commits

Author SHA1 Message Date
Stacey Gammon
4cdfc9a526
Tests: Wait for dashboard save button to be enabled before clicking. (#23539) (#23838)
* Fixes #21446

An attempt to fix the above by making sure the click only happens when the button is enabled.

* Fix wrong function name

* Fix mistakes
2018-10-04 17:22:29 -04:00
Alex F
8a442ac4a7
eCommerce Sample Data (#23214) (#23788)
:shipit:
2018-10-03 15:38:08 -04: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
Caroline Horn
4beb2c604e
Vis LESS to SASS (cont.) (#23199) (#23330) 2018-09-19 16:28:33 -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
Rashmi Kulkarni
4766de8e19
Mgmt saved object test (#22564) (#22744)
merging into 6.x
2018-09-05 16:25:17 -07: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
Stacey Gammon
fd40428a18
skip filtering flaky tests (#22193) (#22201) 2018-08-21 08:45:58 -04:00
Tim Roes
a5f8740656
Make panel action tests more generic (#22174) (#22196)
* Make panel action tests more generic

* Remove test file

* Add simple app tests

* Shorten/fix import

* Remove unneeded task

* Add debug output

* Allow duplicate --plugin-path params

* Remove debugging options

* Add README
2018-08-20 23:50:07 +02:00
liza-mae
ef00f13d2c
Add option to run chrome headless. (#21972) (#22086)
* Add opton to run chrome headless. Mainly for windows tests which can't use xvfb.

* Update from review comments

Make environment variable Boolean, remove single quotes from keys, remove window size.
2018-08-20 15:19:35 -06:00
Stacey Gammon
eb2797f611
unskip filtering tests (#21804) (#22172)
* unskip filtering tests

* always navigate to landing page when trying to load a dashboard up

* more post test clean up - unpin the filter or it'll stick around for other tests.
2018-08-18 10:41:14 -04:00
Chris Davies
8b1ecbb804
Add a welcome screen for new Kibana instances (#21353) (#22164)
Add a welcome screen to Kibana home if this is a new Kibana instance.
New is determined by whether or not there are any index patterns
defined. Local storage is used to retain the user's decision to hide
the welcome screen.
2018-08-17 18:32:56 -04:00
Marco Vettorello
6b4c015530
[test] Fix wrong waiting on toast message (#22131) (#22153) 2018-08-17 22:36:11 +02:00
Aleh Zasypkin
8e696b7369
[6.x] [Tests] Add http integration test setup (#22114)
* [Tests] Add http integration test setup

* Base path tests

* SSL tests

* Eslint fixes

* Remove env from config schema

* Rename folders so no_rewrite and rewrite match configs/tests

* wip

* Use self-signed cert for SSL test

* Improve basepath tests

* Run base path proxy server in dev mode for now

* Remove env from x-pack reporting config

* Remove redundant base-path tests

* Test SSL with redirectHttpFromPort set

* Test SSL with redirectHttpFromPort set

* Flesh out comments

* Remove some cruft

* Add SSL tests to CI run
2018-08-17 10:42:38 +02:00
Nathan Reese
ddc5b554a6
ReactVisType VisFactory - pass appState to Component (#21974) (#22058)
* pass appState to Component

* get appState from vis.API within TSVB component

* add functional test for Visual Builder in dark mode
2018-08-16 07:35:43 -06:00
Tim Roes
daa740a5c5
Fix selecting time range in embedded mode (#22053) (#22060)
* Fix selecting time range in embedded mode

* Add data-test-subj for table vis
2018-08-16 15:27:05 +02:00