Commit graph

477 commits

Author SHA1 Message Date
Matthias Wilhelm
cd53b3e5c4
[Discover] Unskip context navigation test (#68490) (#68985) 2020-06-12 14:57:26 +02:00
restrry
846ff4ace1 update styles 2020-05-22 11:46:32 +02:00
Daniil Suleiman
7a7c9f97c4
[Visualize] Bar chart: Show missing values on chart setting (#66375) (#67025)
* Show missing switch button

* Add functional tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	src/plugins/vis_type_vislib/public/components/options/point_series/point_series.tsx
#	test/functional/page_objects/visualize_chart_page.ts
#	test/functional/page_objects/visualize_editor_page.ts
2020-05-19 21:43:19 +03:00
Matthias Wilhelm
103ef928bd
[Discover] Fix broken setting of bucketInterval (#62939) (#63547)
* Fix broken setting of bucketInterval, remove $watch

* Fix and adapt functional tests
2020-04-15 13:03:18 +02:00
Daniil Suleiman
f699bd1e75
Wrap with retry (#63101) 2020-04-09 16:59:48 +03:00
Daniil Suleiman
cee064b5e4
Fix flaky FT in field visualize for 7.7 (#62823) 2020-04-09 00:07:15 +03:00
Dmitry Lemeshko
12f91e37d6
FTR: Enable w3c for chromedriver (#62542) (#62808)
* enable w3c for chrome

* update maps tests

* update maps tests

* update common_page

* Revert "update maps tests"

This reverts commit 31f43fd678.

* revert changes to maps tests

* undo after removal

* update expect range to pass on Windows, unskip tests for Firefox

* print out value for discover brushing test

* log first timestamp

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-07 20:10:29 +03:00
Joe Reuter
a651b23d61
Make d3 place nicely with object values (#62004) (#62340) 2020-04-03 11:08:31 +02:00
Matthias Wilhelm
1381864f8d
[Discover] Fix ignoring uiSetting discover:searchOnPageLoad (#61393) (#61570)
* Add checks for changed query and update in $scope.updateQuery

* Add functional test by counting fetches
2020-03-27 10:31:16 +01:00
Lee Drengenberg
46ac1e6630
streamline indexPatternTitle usage (#60999) (#61158)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-24 22:51:46 +00:00
Lee Drengenberg
5a26a1b804
add relationship test on Saved Objects (#59968) (#60976)
* just a demo of function to return saved object table elements

* fix esArchive data, extend import objects test case for relationships

* improved data-test-subjs

* update snapshot for jest test

* unskip other half of the tests

* removed commented-out code

* use new findByTestSubject methods

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-24 09:07:28 -05:00
Dmitry Lemeshko
4c7a447ffb
WebElementWrapper: add findByTestSubject/findAllByTestSubject to search with data-test-subj (#60568) (#60756)
* [web_element_wrapper] add find/findAll to search with data-test-subj

* fixes

* fix wrong function call

* review fixes

* simplify test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-23 18:09:55 -05:00
Marco Vettorello
c96faa6bea
Update dependency @elastic/charts to v18.1.0 (#60578) (#60775) 2020-03-20 22:58:01 +01:00
Robert Oskamp
32edf74101
[ML] Add functional tests for file data visualizer (#60413) (#60600)
This PR adds basic functional tests for the file data visualizer, covering a file import and error messages for non-log files. It also moves the file input path handling to a common location in order to avoid code duplication.
2020-03-19 10:53:32 +01:00
Rashmi Kulkarni
d7bb13a311
[7.x] FTR configurable test users (#52431) (#60428)
* FTR configurable test users (#52431)

* initial implementation of configurable test users

* user superuser by default to match master

* referenced the configs in reporting and api integration

* setting the minimum number of default roles

* looking for x-pack tests with users and roles

* add testUserService in dashboard mode tests

* running only ciGroup7

* uncommenting - addign visualization

* re-enabling all CI groups to run on CI

* reinstating Jenkinsfile

* disable Test user for OIDC config

* improved logging and added Roles for OSS tests to get better info on the runs.

* disable test_user for auth tests

* don't fetch enabledPlugins when testuser disabled

* fix es-lint

* running oss tests with x-pack enabled

* [revertme] build default dist for oss tests

* updating NOTICE.txt file as it complained in the kibana intake tests

* changed to pick OSS builds

* trying a license change to trial

* switch back to xpack builds

* created a new sample data role and used it in homepage tests

* revert test/scripts/jenkins_ci_group.sh

* only refresh browser and wait for chrome if we are already on Kibana page

* fix large_string test to use minimum set of roles and privileges

* fix for date nanos custom timestamp with a configured role

* changes to the files with addition of new roles for the test_user

* reverting to OSS changes and few additions to the time_zone test to run as a test_user

* changes to security

* changes to the x-pack test to use elastic superuser

* fix for chart_types test

* fixes to area chart , input control test

* fix for dashboard filtering test and a new config role

* changes to handle the x-pack tests

* additional role for date nanos mixed

* added the logstash role to the accessibility tests

* removed telemetry setting

* docs+few changes to the tests

* removed Page navigation

* removed pageNavigation which was unused

* test/accessibility/apps/management.ts

* update management.ts

* aria label, and other changes

* accidentally checked in a piped file with results.

* accidentally checked in a piped file with results.

* accidentally checked in a piped file with results.

* accidentally checked in a piped file with results.

* accidentally checked in a piped file with results.

* accidentally checked in a piped file with results.

* accidentally checked in a piped file with results.

* accidentally checked in a piped file with results.

* reverted

* unloading of logstash data, fixing aria label

* aria-label

* added the required role

* fix for tsvb chart

* fix for sample data test reverted home_page pageobject file

* changes to sample data test and visualize index file to incorporate OSS changes

* changes to describe() and some more changes to incorporate in settings_page

* re-adding the after()

* removed unwanted roles

* replaced kibana_user with kibana_admin

* added the check of deprecated kibana_user

* testing with kibana_admin  role

* fix for discover test

* incorporated the review comments

* incorporated the review comments

* incorporate review comments and added restoreDefaults()

* removed describe.only

* reverted the OSS logic change I had here- pulled into seperate PR

* incorporated the review comments

* incorporated review changes

* adding hidden=true to find hidden kibanaChrome

* change field.test.tsx to be same as that of master branch

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* removed the accidentally added file

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-17 18:21:48 -07:00
Bhavya RM
2b93e74523
More a11y tests on index pattern page (#59575) (#60117)
more a11y tests on index pattern page!
2020-03-16 17:42:20 -04:00
Dmitry Lemeshko
d0af5e4c59
Convert discover_page to ts, remove redundunt methods (#59312) (#59414)
* convert discover_page to ts

* remove deuplicated methods, improve tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-06 21:13:38 +02:00
Lee Drengenberg
785b15a11a
move mouse to close obstructing tooltip (#59214) (#59362)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 16:08:53 -06:00
Lee Drengenberg
c833b424b3
Have to click save after resetting advanced setting to default (#59216) (#59339)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 14:04:54 -06:00
Joe Reuter
46dcea538f
stabilize dashboard snapshot toast closing (#58709) (#59271) 2020-03-04 11:10:52 +01:00
Nathan Reese
3687a6b4f5
[Maps] add functional test to ensure visualize create menu only shows Maps app (#58746) (#59210)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-03 14:29:39 -07:00
Maja Grubic
59a12ab69e
Dashboard a11y tests (#58122) (#59131)
* adding comprehensive dashboard tests

* fixing delete and adding dima changes

* Fixing some of the a11y test failures

* Fixing i18n issue

* Extracting exit fullscreen logic in a separate function

* Fixing typo

* Upgrading axe

* Fixing failing jest tests

* Removing main tag as it was causing a test to fail

* Adding focusable=false to a range control as well

* Update test/accessibility/apps/dashboard.ts

Co-Authored-By: Michail Yasonik <michail.yasonik@elastic.co>

* Fixing linting error

* Update src/legacy/core_plugins/input_control_vis/public/components/vis/list_control.tsx

Co-Authored-By: Michail Yasonik <michail.yasonik@elastic.co>

* Add comments

Co-authored-by: Bhavya RM <bhavya@elastic.co>
Co-authored-by: Michail Yasonik <michail@yasonik.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Bhavya RM <bhavya@elastic.co>
Co-authored-by: Michail Yasonik <michail@yasonik.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-03 17:14:48 +00:00
Daniil Suleiman
6b6d92b412
[Visualize] Move linked search to react component (#58590) (#59120)
* Move linked_search to react

* Use i18n from start contract

* Move linked search to the editor

* Updating layout and fixing truncation

* Fix functional test, add a tooltip

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2020-03-03 14:35:07 +03:00
Nathan Reese
a32ffd5fc6
[Maps] direct Discover "visualize" to open Maps application (#58549) (#59066)
* [Maps] direct Discover visualize to Maps application

* pass initial layers to maps app

* add functional test

* fix parentheses messed up by lint fix

* fix i18n expression

* move logic into lib

* fix typescript errors

* use constant for geo_point and geo_shape, more TS noise

* use encode_array in an attempt to make TS happy

* another round of TS changes

* one more thing

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-02 13:54:35 -07:00
Marta Bondyra
c3109b59da
[7.x] Advanced settings UI change to centralize save state (#5… (#58373) 2020-02-25 13:22:35 +01:00
Michail Yasonik
eafda0fa03
[7.x] Reverting grouped nav UI (#57724) (#58124)
* reverting grouped nav ui

* removing Management name change
2020-02-21 07:52:51 -05:00
Kerry Gallagher
fae9ed279d
[Logs / Metrics] New Platform migration (full cutover) (#54583) (#57990)
* Fully migrates metrics and logs to the NP

Co-authored-by: Jason Rhodes <jason.matthew.rhodes@gmail.com>
Co-authored-by: John Schulz <github.com@jfsiii.org>
Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>

Co-authored-by: Jason Rhodes <jason.matthew.rhodes@gmail.com>
Co-authored-by: John Schulz <github.com@jfsiii.org>
Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-19 23:10:56 +00:00
Dmitry Lemeshko
63f1c6e93a
replace Promise.all with for loop for clicks (#57909) (#57993)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-19 21:07:58 +01:00
Spencer
deea4d9967
Unskip flaky tests (#57715) (#57947)
* Revert "Skip flaky test (#57675)"

This reverts commit c965a9efa8.

* Revert "disable firefox smoke tests so we can fix flakiness out of band"

This reverts commit fe3864282a.

* Revert "skip flaky tests (#57643)"

This reverts commit b22045433e.

* Revert "skip flaky suite (#50018)"

This reverts commit b058dc2fe7.

* Revert "skip settings tests (#57608)"

This reverts commit 64625b282c.

* Revert "skip failing suite (#44631)"

This reverts commit 8aa718d11e.

* Revert "skip flaky suite (#44631)"

This reverts commit 6e4efdfa7c.

* Revert "skip flaky test (#57377)"

This reverts commit 59672ab5da.

* Revert "Skip save query tests (#57589)"

This reverts commit 431a1e9c89.

* remove hard coded timeouts

* Revert "Revert "disable firefox smoke tests so we can fix flakiness out of band""

This reverts commit 271f8814d5.

* Revert "remove hard coded timeouts"

This reverts commit 8b843d0aa6.

* wait for managementHome to exist, don't bail early if it's missing

* Revert "skip flaky suite (#45244)"

This reverts commit 0cee1a4adb.

* extend timeouts for common existsOrFail() calls

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-19 07:33:45 -07:00
Matthias Wilhelm
47fae4f527
[Discover] Add check for the open perma link for cloud testing (#57884) (#57975)
- fixes a functional test failure
2020-02-19 12:34:50 +01:00
Robert Austin
1cfb08c197
[7.x] [Endpoint] Adding Endpoint to 7.x (#57867)
* Add Endpoint plugin and Resolver embeddable (#51994)

* Add functional tests for plugins to x-pack (so we can do a functional test of the Resolver embeddable)
* Add Endpoint plugin
* Add Resolver embeddable
* Test that Resolver embeddable can be rendered

 Conflicts:
	x-pack/.i18nrc.json
	x-pack/test/api_integration/apis/index.js

* [Endpoint] Register endpoint app (#53527)

* register app, create functional test

* formatting

* update tests

* adjust test data for endpoint

* add endpoint tests for testing spaces, app enabled, disabled, etc

* linting

* add read privileges to endpoint

* rename variable since its used now

* remove deprecated context

* remove unused variable

* fix type check

* correct test suite message

Co-Authored-By: Larry Gregory <lgregorydev@gmail.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* [Endpoint] add react router to endpoint app (#53808)

* add react router to endpoint app

* linting

* linting

* linting

* correct tests

* change history from hash to browser, add new test util

* remove default values in helper functions

* fix type check, use FunctionComponent as oppsed to FC

* use BrowserRouter component

* use BrowserRouter component lin

* add comments to test framework, change function name to include browserHistory

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* EMT-issue-65: add endpoint list api (#53861)

add endpoint list api

* EMT-65:always return accurate endpoint count (#54423)

EMT-65:always return accurate endpoint count, independent of paging properties

* Resolver component w/ sample data (#53619)

Resolver is a map. It shows processes that ran on a computer. The processes are drawn as nodes and lines connect processes with their parents.

Resolver is not yet implemented in Kibana. This PR adds a 'map' type UX. The user can click and drag to pan the map and zoom using trackpad pinching (or ctrl and mousewheel.)

There is no code providing actual data. Sample data is included. The sample data is used to draw a map. The fundamental info needed is:

process names
the parent of a process
With this info we can topologically lay out the processes. The sample data isn't yet in a realistic format. We'll be fixing that soon.

Related issue: elastic/endpoint-app-team#30

* Resolver test plugin not using mount context. (#54933)

Mount context was deprecated. Use core.getStartServices() instead.

* Resolver nonlinear zoom (#54936)

* [Endpoint] add Redux saga Middleware and app Store (#53906)

* Added saga library
* Initialize endpoint app redux store

* Resolver is overflow: hidden to prevent obscured elements from showing up (#55076)

* [Endpoint] Fix saga to start only after store is created and stopped on app unmount (#55245)

- added `stop()`/`start()` methods to the Saga Middleware creator factory
- adjust tests based on changes
- changed application `renderApp` to stop sagas when react app is unmounted

* Resolver zoom, pan, and center controls (#55221)

* Resolver zoom, pan, and center controls

* add tests, fix north panning

* fix type issue

* update west and east panning to behave like google maps

* [Endpoint] FIX: Increase tests `sleep` default duration back to 100ms (#55492)

Revert `sleep()` default duration, in the saga tests, back to 100ms in order to prevent intermittent failures during CI runs.

Fixes #55464
Fixes #55465

* [Endpoint] EMT-65: make endpoint data types common, restructure (#54772)

[Endpoint] EMT-65: make endpoint data types common, use schema changes

* Basic Functionality Alert List (#55800)

* sets up initial grid and data type

* data feeds in from backend but doesnt update

* sample data feeding in correctly

* Fix combineReducers issue by importing Redux type from 'redux' package

* Add usePageId hook that fires action when user navigates to page

* Strict typing for middleware

* addresses comments and uses better types

* move types to common/types.ts

* Move types to endpoint/types.ts, address PR comments

blah 2

Co-authored-by: Pedro Jaramillo <peluja1012@gmail.com>

* [Endpoint] Add Endpoint Details route (#55746)

* Add Endpoint Details route

* add Endpoint Details tests

* sacrifices to the Type gods

* update to latest endpoint schema

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* [Endpoint] EMT-67: add kql support for endpoint list (#56328)

[Endpoint] EMT-67: add kql support for endpoint list

* [Endpoint] ERT-82 ERT-83 ERT-84: Alert list API with pagination (#56538)

* ERT-82 ERT-83 ERT-84 (partial): Add Alert List API with pagination

* Better type safety for alert list API

* Add Test to Verify Endpoint App Landing Page (#57129)

 Conflicts:
	x-pack/test/functional/page_objects/index.ts

* fixes render bug in alert list (#57152)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* Resolver: Animate camera, add sidebar (#55590)

This PR adds a sidebar navigation. clicking the icons in the nav will focus the camera on the different nodes. There is an animation effect when the camera moves.

 Conflicts:
	yarn.lock

* [Endpoint] Task/basic endpoint list (#55623)

* Adds host management list to endpoint security plugin

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* [Endpoint] Policy List UI route and initial view (#56918)

* Initial Policy List view

* Add `endpoint/policy` route and displays Policy List
* test cases (both unit and functional)

Does not yet interact with API (Ingest).

* Add ApplicationService app status management (#50223)

This was already backported, but changes to endpoint app could not be
backported, since endpoint app itself hadn't been backported. Now that
the endpoint app is backported, reapply the endpoint specific changes
from the original commit.

* Implements `getStartServices` on server-side (#55156)

This was already backported, but changes to endpoint app could not be
backported, since endpoint app itself hadn't been backported. Now that
the endpoint app is backported, reapply the endpoint specific changes
from the original commit.

* [ui/utils/query_string]: Remove unused methods & migrate apps to querystring lib (#56957)

This was already backported, but changes to endpoint app could not be
backported, since endpoint app itself hadn't been backported. Now that
the endpoint app is backported, reapply the endpoint specific changes
from the original commit.

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
Co-authored-by: nnamdifrankie <56440728+nnamdifrankie@users.noreply.github.com>
Co-authored-by: Davis Plumlee <56367316+dplumlee@users.noreply.github.com>
Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
Co-authored-by: Pedro Jaramillo <peluja1012@gmail.com>
Co-authored-by: Dan Panzarella <pzl@users.noreply.github.com>
Co-authored-by: Madison Caldwell <madison.rey.caldwell@gmail.com>
Co-authored-by: Charlie Pichette <56399229+charlie-pichette@users.noreply.github.com>
Co-authored-by: Candace Park <56409205+parkiino@users.noreply.github.com>
Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2020-02-18 14:50:34 -05:00
Lee Drengenberg
6a23965971
handle viewing sample dashboards on default dist (#57510) (#57625)
* handle viewing sample dashboards on default dist

* re-work change to not break jest test

* Update snap for addition of data-test-subj

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-14 08:44:23 -06:00
Joe Reuter
8f62f0bf2e
Rollup TSVB integration: Add test and fix warning text (#56639) (#56827) 2020-02-05 13:20:29 +01:00
Joe Reuter
4bdb59a984
Fix missing labels on certain axes and label filter configurations (#47563) (#55564) 2020-01-23 09:47:58 +01:00
Michail Yasonik
12f0c95cac
[7.x] Grouped Kibana nav (#53545) (#55496)
Adds concept of `category` to nav links, grouping them by this in the side nav
2020-01-21 22:45:10 -05:00
Daniil Suleiman
0fc42623c1
[Vis: Default editor] EUIficate and Reactify the sidebar (#49864) (#55162)
* EUIficate the sidebar

* Create a state reducer and a state context

* Create an editor context and actions

* Improve types

* Apply aggs reordering

* Fix functionality

* Improve types

* Fix sub_agg changes

* Remove legacy dependencies

* Watch dirty state

* Fix dirty state changes

* Update actions and reducers

* Handle keyboard submit

* Apply editor form validation

* Remove fancy forms

* Update validation

* Use embeddable instead of visualize loader

* Add auto apply behavior

* Remove legacy styles

* Remove the sidebar

* Restrict responsive to the bottom_bar

* Upgrade @elastic/eui to v14.10.0

* Replace EuiBottomBar with EuiControlBar

* Get rid of mutations in control vis

* Revert "Upgrade @elastic/eui to v14.10.0"

This reverts commit 2cd86c51d2.

* Replace bottom bar with a control panel for sidebar

* Replace selectors

* Use editor resizer

* Apply selectors

* Change selectors

* Fix sub agg change values

* Add collapse button

* Fix tests

* Get rid of editor editor_state_context, simplify the code

* Fix jest tests, update snapshots

* Fix types

* Moving collapse button to right of index pattern

* Tweaks bottom buttons

* Moved Vega buttons so they don’t scroll away

* Fix responsiveness

* Resolve UI comments

* Fix console resizer

* Update dev docs

* Bail out of additional render in metrics and axes

* Apply performance optimizations for metrics and axis panel

* Remove unused translations

* Use debounce when autoapply enabled

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

# Conflicts:
#	x-pack/legacy/plugins/rollup/public/visualize/editor_config.js
#	x-pack/plugins/translations/translations/ja-JP.json
#	x-pack/plugins/translations/translations/zh-CN.json
2020-01-17 15:57:46 +03:00
Liza Katz
19ca8174f7
Add tests for index patterns without time field on dashboard (#54760) (#54922)
* Add tests for index patterns without time field on dashboard

* add null check

* Hide timefilter in editor only if timeFieldName is explicitly

* eslint

* test to ts

* Code review

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-16 00:47:40 +02:00
Chandler Prall
2c66ffb3b8 [7.x] Backport/7.x/pr 54042 (#54799)
* Upgraded EUI to 18.0.0

* Fix breaks from `palette._.colors` changes

* snapshots

* Updated hard coded hex color codes in tests, fixed TS errors

* Updated a functional test's selector; added (BSD-3-Clause AND Apache-2.0) to license checker whitelist

* Functional test selector update

* Updated vega browser-ci tests for palette changes

* One more location for EUI package number update and yarn lock

* Fixed lurking [but introduced] TypeScript logic bug

* Swap a prop definition for the same value but tied closer to its source

* updates for backport

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2020-01-14 18:53:06 -05:00
Dmitry Lemeshko
4e6b99cdfc
Functional tests: refactor dashboard_page (#54588) (#54750)
* [test/functional] cleanup & tsfy dashboard_page

* fix & improvement

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-14 22:04:35 +01:00
Bhavya RM
e9fc194ac5
Discover a11y tests (#54209) (#54632)
Comprehensive discover a11y tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-14 14:33:15 -05:00
Vadim Dalecky
1e87504dc7
test: 💍 re-enable Dashboard sample data functional tests (#54717) (#54732)
Closes: #40670
2020-01-14 07:49:58 -08:00
Maja Grubic
3115ae650b
[Lens][Dashboard] Adding Lens to Dashboard (#53110) (#54607)
* First version of adding Lens to dashboard

* Fix failing unit test

* Replacing explicit Lens query param with a more generic one

* Fixing failing unit test

* Adding a unit test for redirect

* Do not show Save New if adding from Dashboard

* Adding functional test

* Adding functional test

* Fixing type issues

* Renaming query params

* Fixing failing unit test

* Removing unused constants

* Fixing erroneous imports

* Fixing erroneous import

* Fixing import

* Fix failing typecheck

* Removing timefilter from Dashboard URL

* Fixing type error

* Replacing time parsing with rison

* Replacing URL regex parsing with legacy URLs

* Fixing failing test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-13 19:33:34 +00:00
Nick Partridge
e56a7a2ee4
[Discover] fix histogram min interval (#53979) (#54324)
- Fixes issues involving min intervals for leap years and DST

Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
2020-01-09 08:41:43 -06:00
Dmitry Lemeshko
a6ea611344
Functional tests: refactor visualize_page (#53845) (#54126)
* add new POs and services

* split visualize_page

* refactor PO and tests

* lost changes

* more fixes

* fix tslint error

* refactor POs

* add vega_chart_page, refactor

* review fix

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-07 17:14:37 +01:00
Greg Thompson
9314ed1a63
Upgrade EUI to v17.3.1 (#53655) (#53769)
* eui to 17.3.0

* eui to 17.3.1

* TS updates

* snapshot updates

* update data-test-subj

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2019-12-23 11:12:59 -06:00
Marta Bondyra
90928977e6
[7.x] [Discover] Refactor discover index pattern selector to L… (#53758) 2019-12-23 15:29:36 +01:00
Joe Reuter
3beace99eb
[7.x] Enforce shimmed plugin boundaries (#52633) (#53716)
* Enforce shimmed plugin boundaries (#52633)

* resolve conflicts around field chooser
2019-12-20 23:41:28 +01:00
Chris Roberson
41787f84ba
[Tests] Add a helper to detect if functional tests are running against cloud (#51817) (#53164)
* Add a helper to detect if functional tests are running against cloud

* PR feedback

* Clean up comment

* New eslint rules applied
2019-12-16 16:12:06 -05:00
spalger
c2c12539b8 autofix all violations 2019-12-13 23:55:01 -07:00
Joe Reuter
22499087f3
Stabilize dashboard save modal functional test (#52761) (#52871) 2019-12-12 15:30:18 +01:00