Commit graph

3807 commits

Author SHA1 Message Date
Brian Seeders 0ca8e99a9f
[CI] Add pipeline task queue framework and merge workers into one (#71268) 2020-08-04 13:13:51 -04:00
Marco Liberati c78da24708
[ Functional Tests ] TVSB charts flaky tests on index pattern switch fix (#74110)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-04 14:44:16 +02:00
Matthias Wilhelm 10f8beae8e
[Discover] Context unskip date nanos functional tests (#73781)
* Use _source value of timestamp for search_after since ES allows this now

* Unskip functional tests

* Remove unused convertIsoToNanosAsStr
2020-07-31 11:52:00 +02:00
Matthias Wilhelm 39cca0e55d
[Discover] Improve saveSearch functional test handling (#73626)
* Check for submit button to be disabled, before submitting the form to prevent occasional flakiness
2020-07-31 06:52:36 +02:00
Mikhail Shustov 585d58c202
[KP] Expose new es client (#73651)
* mark legacy ES client types as deprecated

* expose es client to plugins and update mocks

* ElasticSearchClientMock --> ElasticsearchClientMock

* expose es client mocks

* expose es client via RequestHandlerContext

* convert test/plugin_functional/config into ts

* convert top_nav test into ts

* add an integration test for the es client

* update comments to refer to the new es client

* fix import paths. do not use extensions

temp

* update docs

* fix other refs

* add test for a custom client

* fix context

* add test for scoped client

* update docs
2020-07-30 19:12:37 +02:00
Daniil Suleiman 6fc193ceb9
Fix visualize a field through discover app (#73652)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-30 16:36:13 +03:00
Mikhail Shustov 896e87a7ce
check that pathname has been updated. ignore other parts (#73689)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-30 08:51:56 +02:00
spalger c102c4fe18 skip failing suite (#58815) 2020-07-29 14:41:22 -07:00
Matthias Wilhelm 4f8e7baa3e
Set timeRange to default to trigger the error message (#73629) 2020-07-29 16:57:34 +02:00
Liza Katz 14144156f6
[Data] Query Input String manager (#72093)
* improve test stability

* query string input manager (needed for search demo)

* docs

* dashboard

* Fix jest

* mock fix

* Allow restoring a saved query

* sync url

* Luke's fix to test

* cleanup

* lens jest tests

* docs

* use queryStringManager.getDefaultQuery
Don't sync query to global state

* Update app.test.tsx

lens mock

* jest fix

* jest

* use new api in the example

* Rename state param to query to match url state

* Apply changes to discover

* Update src/plugins/data/public/query/query_string/index.ts

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>

* Improve query string state manager

* Cleanup dashboard code

* Handle refresh button

* Set initial dashboard state

* visualize state

* remove unused

* docs

* fix example

* fix jest

* fix filter app state in discover

* fix maps test

* jest

Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-29 10:48:23 +03:00
Stratoula Kalafateli 0dbfde4f4d
[Functional Tests] Increase the timeout on getting the legend value on timeseries (#73279) 2020-07-28 17:34:40 +03:00
Marco Liberati 8c710aae3a
[ Functional test ] Increase the waiting time for the filter bar request (#73424) 2020-07-28 14:21:24 +02:00
Mikhail Shustov c0826a3273
Fix App status flaky test (#72853)
* wait for link to be updated

* await, please!

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-28 10:37:37 +02:00
Stratoula Kalafateli 5ea28702f6
[Functional Tests] Increase the timeout when locating the tableview] (#73243) 2020-07-28 11:15:58 +03:00
Stratoula Kalafateli a696f6c79b
[Functional Tests] Increase waitTime for timelion to fetch the results (#73255)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-28 10:29:47 +03:00
Stratoula Kalafateli 7b29ecf0b5
[Functional Tests] Fix flakiness on TSVB chart on switching index patterns test (#73238) 2020-07-28 10:29:33 +03:00
liza-mae 88aebc9fe1
Remove ca cert path for cloud testing (#73317) 2020-07-27 15:10:33 -06:00
Spencer dd4796cfdd
Remove karma (#73126)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-07-27 11:07:58 -07:00
Tim Roes 9c2056d2ea
Remove flaky note from gauge tests (#73240) 2020-07-27 11:58:11 +02:00
Joe Reuter 6a53b0021e
Convert functional vega tests to ts and unskip tests (#72238)
* convert to ts and unskip tests

* relax tests and remove unused imports

* remove test exclusion

* remove inspector test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-27 10:45:23 +02:00
Mikhail Shustov 2a82ff9566
[KP] use new ES client in SO service (#72289)
* adapt retryCallCluster for new ES client

* review comments

* retry on 408 ResponseError

* remove legacy retry functions

* use Migrator Es client in SO migration

* update migration tests

* improve ES typings and mocks

* migrate decorate ES errors

* add repository es client

* use new es client in so repository

* update repository tests

* fix migrator integration tests

* declare _seq_no & _primary_term on get response. _source expect to be a string

* make _sourceIncludes and refresh compatible with the client

* add test for repository_es_client

* move ApiResponse to es client mocks

* TEMP: handle wait_for as true for deleteByNamespace

* add tests for migration_es_client

* TEMP: skip test for deleteByNamespace refresh

* pass ignore as transport option in mget

* log both es client and response errors

* fix update method test failures

* update deleteByNamespace refresh settings

es doesn't support 'refresh: wait_for' for `updateByQuery` endpoint

* update repository tests. we do not allow customising wait_for

* do not delegate retry logic to es client

* fix type errors after master merged

* fix repository tests

* fix security solutions code

SO doesn't throw Error with status code anymore. Always use SO error helpers

* switch error conditions to use SO error helpers

* cleanup

* address comments about mocks

* use isResponseError helper

* address comments

* fix type errors

Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
2020-07-25 11:59:56 +02:00
Matthew Kime 5a1972b834
Index patterns on alias - reenable functional tests (#71802)
* reenable test
* nav to management
2020-07-23 17:46:26 -05:00
Marta Bondyra f4bc846a03
unskip test to make sure if it passes (#73014)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-23 20:38:45 +02:00
Devon Thomson 0103cd3424
[Fix] Lose OriginatingApp Connection on Save As (#72725)
Reset originatingApp in lens and visualize when return to dashboard on saving is false
2020-07-23 12:21:31 -04:00
Daniil Suleiman 2d9eaf013b
Fix view saved search through a visualization (#73040) 2020-07-23 18:00:52 +03:00
Matthew Kime 2cf37a5326
Don't skip index pattern creation test (#73032) 2020-07-23 09:34:56 -05:00
Stratoula Kalafateli 1ee3cdb03d
[Functional Tests] Unskip tsvb timeseries test (#73011)
* [Functional Tests] Unskip tsvb timeseries test

* Add retry to dropdown selection when element is not found to headless mode
2020-07-23 17:00:16 +03:00
Pierre Gayvallet 2178a14519
Migrate status page app to core (#72017)
* move http.anonymousPaths.register('/status'); logic into core, remove status_page plugin

* move status_page to core & migrate lib

* migrate the status_app components to TS/KP APIs

* update rendering snapshots

* use import type syntax

* moves `/status` server-side route to core

* fix route registration

* update generated file

* change statusPage i18n prefix

* (temporary) try to restore legacy plugin to check behavior

* add some FTR tests

* do not import whole lodash

* update snapshots

* review comments

* improve / clean component unit tests

* change url for legacy status app

* set status app as chromeless

* fix FTR test due to chromeless app

* fix typings

* add unit test for CoreApp /status registration
2020-07-23 12:15:03 +02:00
Marco Liberati 6befacfc19
Fix Firefox TSVB flaky test with switch index patterns (#72882) 2020-07-23 10:40:21 +02:00
Lee Drengenberg e9ec039e8e
un-revert login_page change for SAML (#72892) 2020-07-22 14:00:57 -05:00
Matthias Wilhelm 0a3170ffa0
Unskip dashboard filter bar code coverage test (#72799) 2020-07-22 17:09:38 +02:00
Spencer 9655c87564
[kbn/es-archiver] move to a package (#72318)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-22 08:02:39 -07:00
Joe Reuter 78ea171a80
Stabilize closing toast (#72097)
* stabilize closing toast

* unskip test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-22 11:28:23 +02:00
Joe Reuter b9aede40d6
stabilize failing test (#72086) 2020-07-22 11:26:37 +02:00
Joe Reuter edaea1e341
Stabilize filter bar test (#72032) 2020-07-22 11:26:04 +02:00
Joe Reuter 1810dd1fe7
Unskip vislib tests (#71452) 2020-07-22 11:25:41 +02:00
Alexey Antonov e1ffcccb96
Add inspector for VEGA (#70941)
* [WIP] Add inspector for VEGA

Closes: #31189

* view -> dataset

* cleanup

* add spec viewer

* cleanup code

* use rx to retrieve data from adapters

* Make custom inspector adapters registerable from the visType

* fix flex-box size

* cleanup

* remove visTypesWithoutInspector from visualize_embeddable

* fix PR comments

* add vega folder to sass-lint

* fix jest

* Update src/plugins/vis_type_vega/public/vega_inspector/components/data_viewer.tsx

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* use addSignalListener

* cleanup

* add onColumnResize handler

* EuiCodeEditor -> CodeEditor

* fix type_check

* fix issue with pagination

* fix extra vertical scroll

* add area-label for EuiButtonIcon

* add area-label for EuiComboBox

* Design Commit

- Fixing up layout trying to remove any `.eui` classes and uses flex instead of percentage
- Fixing text to use `Sentence case` not `Title Case`

* Wrapper around signal viewer table

* fix Jest snapshot

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
2020-07-21 14:45:51 +03:00
Matthias Wilhelm 7f6cd5148a
[Discover] Improve histogram tests (#72235) 2020-07-21 07:09:25 +02:00
Spencer a1753ffffd
[ftr/webdriver] retry on all errors, use Rx so that timers are canceled (#72540)
* [ftr/webdriver] retry on all errors, use Rx so that timers are canceled

* throw if attemptToCreateCommand() aborts by resolving to undefined

Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-07-20 20:35:15 -07:00
spalger 5741a868bc Revert "skip flaky suite (#72146)"
This reverts commit 45a4393459.
2020-07-20 09:32:41 -07:00
Joe Reuter 96d965d4e3
Unskip dashboard embeddable rendering tests (#71824) 2020-07-20 17:55:27 +02:00
Tiago Costa 45a4393459
skip flaky suite (#72146) 2020-07-17 13:55:51 +01:00
Matthew Kime 9ba750e852
Move data stream index pattern creation test to xpack (#71511)
* Move data stream index pattern creation test to xpack
2020-07-15 20:18:34 -05:00
spalger 68d7f58b1b skip flaky suite (#71987) 2020-07-15 16:59:04 -07:00
spalger 7787d1e48c skip flaky suite (#71979) 2020-07-15 16:53:20 -07:00
Stacey Gammon 339e13bc53
Routing example plugin (#69581)
* Routing example plugin

* Routing example plugin

* address review comments

* consolidate route registration into single function

* ts fix

* Add functional tests

* typescript fix

* Fix typo

* check against HttpFetchError not Error

* fix ts

* fix unhappy ci

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-15 12:44:42 -04:00
Lee Drengenberg 0173ef3528
add short sleep before clicking Remove on sample data (#71104)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-15 09:35:37 -05:00
Thomas Watson fc5bc6b6a2
Add @elastic/safer-lodash-set as an alternative to lodash.set (#67452) 2020-07-15 10:29:57 +02:00
Tyler Smalley ced455e077 [test] Skips flaky Saved Objects Management test
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-07-14 23:49:27 -07:00
Tyler Smalley 3c8a66e2b3 Revert "re-fix navigate path for master add SAML login to login_page (#71337)"
This reverts commit 1f340969ee.
2020-07-14 21:01:19 -07:00