Commit graph

3337 commits

Author SHA1 Message Date
Peter Pisljar
bd1ac0dad4
Remove VisTypesRegistry (ui/registry/vis_types) (#46323) 2019-09-30 10:11:24 +02:00
Caroline Horn
59d33d3476 Update EUI to 14.3.0 (#46824)
* Update EUI to 14.3.0

and update snaps

* TS Colors fix
2019-09-27 15:16:57 -07:00
Dmitry Lemeshko
e352f516d7
Fix tsvb chart test (#44657)
* enable switch index patterns test

* run ciGroup6 20x times

* [page_objects/visual_builder_page] retry selecting index pattern

* Revert "run ciGroup6 20x times"

This reverts commit 2151ea9905.

* [services/combo_box] clear input in seperate function

* run ciGroup12 30x times

* update logging message

* Revert "run ciGroup12 30x times"

This reverts commit 08fac11139.
2019-09-27 23:44:24 +03:00
spalger
fd2bfe9742 skip flaky test (#46677) 2019-09-27 13:04:51 -07:00
Lee Drengenberg
5a92dec11d
unskip dashboard_screenshot tests by using new setScreenshotSize (#46311)
* use new setScreenshotSize

* change tolerance from 1% to 2% (originally 5%)

* retake baseline without notification dialog

* close add and save notifications

* wait for render complete when going in to FullScreen mode

* add 5 second sleep to see if it ever goes to full screen mode

* add debugging screenshots and sleeps

* try reloading the Kibana index before this test

* 30 iterations with only the first test enabled

* revert multi-run changes

* ran node scripts/build_renovate_config

* fix tslint errors

* fix tslint error

* update xpack dependency to match oss

* update yarn.lock

* revert notifications:lifetime:info change by reducing some other timeouts

* remove commented-out code

* fixed and Unskipped 2nd test

* re-arrange order of dashboard tests to pass :-(

* removed commented-out sleep

Hopefully this won't be an issue

* Add comment about the order of tests

```
      loadTestFile(require.resolve('./view_edit'));
      // Order of test suites *shouldn't* be important but there's a bug for the view_edit test above
      // https://github.com/elastic/kibana/issues/46752
      // The dashboard_snapshot test below requires the timestamped URL which breaks the view_edit test.
      // If we don't use the timestamp in the URL, the colors in the charts will be different.
      loadTestFile(require.resolve('./dashboard_snapshots'));
 ```
2019-09-27 13:49:51 -05:00
Nick Partridge
858ad4d28f
Add ability to whitelist visible elements in percy (#45733)
* add ability to whitelist visible elements in percy

* allow white and blacklisting elements in visual tests

* remove unnecessary webElement methods

* refactor snapshot options to use show and hide

* refactor add/remove and visual test helpers

* [percy] rework css rules to allow hiding inside shown elements

* [percy] adjust logic to support showing inside hiding

* attach styles to hide percy when capturing the snapshot

* refactor in order to make sure all logic is executed if snapshot fails

* remove sleeps

* add back skipFirefox tag
2019-09-27 12:07:33 -05:00
Robert Oskamp
daf3789a59
[ML] Fix flaky setValue for some elements (#46693)
Use setValue with clearing via keyboard
2019-09-27 17:30:31 +02:00
Daniil Suleiman
b322b6057b
[Vis: Default editor] Euification of heatmap options tab (#45766)
* EUIficate heatmap options

* Move collections

* Split labels in a panel

* Remove angular templates

* Remove unused translations

* Fix functional tests

* Fix validation

* Fix UI details

* Compress color picker

* Improve types

* Replace headings h2 with h3

* Add functional tests

* Create setCustomRangeByIndex
2019-09-27 17:00:09 +03:00
Vadim Dalecky
f7b95eccdd
Embeddables 2 np (#46771)
* chore: 🤖 move embeddable_api to NP "embeddable" plugin

* fix: 🐛 fix TypeScript type check errors

* fix: 🐛 fix TypeScript and build errors

* test: 💍 fix Jest tests

* fix: 🐛 fix translations

* test: 💍 add Mocha mocks

* fix: 🐛 change import syntax from function test sample plugin

* fix: 🐛 revert canvas changes back and leave placeholders

* chore: 🤖 revert more changes

* chore: 🤖 revert more changes

* fix: 🐛 fix TypeScript type check errors

* fix: 🐛 fix functional test imports

* fix: 🐛 fix x-pack Jest test importa

* test: 💍 fix advanced_ui_actiosn import for tests
2019-09-27 15:15:19 +02:00
Maja Grubic
b4887d8586
Adding gte and lt symbols in range filter fileds and popup (#46697) 2019-09-27 14:04:51 +01:00
Brian Seeders
e7a0acc750 Fix disappearing screenshots in CI (#46382) 2019-09-25 17:20:57 -07:00
Brian Seeders
cafc857aba Re-split ciGroups after pipeline rollout (#46375)
* Re-split ciGroups after pipeline rollout

Revert "Revert "Revert "Revert "Revert "[ci] compress jobs for CI stab… (#45454)"

This reverts commit 9a109f2170.

Revert "set IS_PIPELINE_JOB in intake jobs (#45850)"

This reverts commit b1a01effa8.

* Split one of the slow test suites up to try to make overall CI faster

* Disable visualRegression groups, they are being handled in other work

* Revert "Split one of the slow test suites up to try to make overall CI faster"

This reverts commit 1213239545.

* Move some different xpack ciGroup8 suites around
2019-09-25 15:18:37 -07:00
renovate[bot]
8e2878c0bd Update angular+jquery related packages (#46393)
* Update angular related packages

* upgrade jQuery too

* don't delete screenshots in pipeline jobs

* use ng-change so that listener is triggered after ng-model is updated

* match @types/angular versions

* update yarn.lock

* fix test

$routeChangeSuccess is no longer broadcast when resolving a redirect route, so this test has been adjusted to validate that
2019-09-25 12:15:45 -07:00
sainthkh
93ad3f7b9d Typescript some of src/legacy/server/index_patterns (#44993)
* TypeScriptify errors.js

* Fixed type errors in errors.ts

* Prettierize resolve_time_pattern.test.js

* Prettierize resolve_time_pattern.js

* TypeScriptify resolve_time_pattern.js

* Prettierize mixin.js

* Fixed errors.ts payload error.

* TypeScriptify and Prettierize mixin.ts

* Prettierize query_params.js

* TypeScriptified routes and used core.http features and fixed related tests.

* Fixed type errors.

* Removed anys

* Prettierize params.js

* Prettierize response.js

* Accepts string array as query param.

* Returns 404 when there's no matching pattern for fields_for_wildcard.

* Simplified schema.

* Fixed types.
2019-09-23 11:50:28 -04:00
spalger
5b67cd5e4f skip flaky suite (#46305) 2019-09-21 11:07:51 -07:00
Dmitry Lemeshko
3f83251a20
Fix/markdown functional tests (#46216)
* [page_objects/visual_builder_page] improve text area input clearing and typing value

* run ciGroup6 15x times

* Revert "run ciGroup6 15x times"

This reverts commit d94491769b.
2019-09-20 19:36:05 +02:00
Dmitry Lemeshko
8d95e88a61
Re-enable tsvb math aggs test (#46188)
* re-enable tsvb  Math Aggregation test

* run ciGroup6 15x times

* Revert "run ciGroup6 15x times"

This reverts commit 19d94befcb.
2019-09-20 19:07:46 +02:00
Matthias Wilhelm
7ef41387b6
Add numeric_type option for correct sort order on mixed date and date_nanos fields (#44212)
* Implement getSortForSearchSource for add-on of 'numeric_type' to the ES request. Then sorting on a field that can be of date or date_nanos type works correctly

* Add functional test
2019-09-20 07:38:41 +02:00
liza-mae
4c75b55a01
Revert hiding Kibana icon, test Percy rendering (#43990)
* Revert hiding Kibana icon, test Percy rendering

* Update jobs.yml

* Use percy token for kibana dev

* Update Percy token to read from kibana-issues

* Read correct field

* increase timeout

* Run each visual job 10 times

* Revert last commit

* Increase timeout

* Disable visual tests and revert percy token

* Fix jest tests

* Another jest test fix
2019-09-19 11:23:44 -06:00
Caroline Horn
c1fd6eb9b4
Upgrade EUI to 14.2.0 (#46075)
* Upgraded EUI to 14.2.0

* Remove form row + button shim

* Uncomment compressed prop from EuiComboBoxes

* Fix and/or simplify prepend/append usages

* Update two test files to correctly call EuiRange's onChange prop
2019-09-19 12:26:15 -04:00
Dmitry Lemeshko
8cd22b7d54
Fix visualize point series tests (#46069)
* change interaction with 'select' element

* run ciGroup5 15x times

* Revert "run ciGroup5 15x times"

This reverts commit 9c19d9a135.
2019-09-19 17:40:09 +02:00
Stacey Gammon
01daabcb53
Move actions to NP (#44707)
* move actions to np

* fix jest and types
2019-09-18 21:50:34 -04:00
spalger
22e15b8bcc disable flaky suite (#46085) 2019-09-18 14:26:15 -07:00
Dmitry Lemeshko
b9497feab0
Fix/tsvb functional tests (#45868)
* [page_objects/visual_builder_page] increase timeout & remove FF sleep

* unskip flaky test suites

* run ciGroup6 12x times

* fix tsvb_markdown tests

* skip aggs test

* fix waiting

* run FF tests 8x times

* Revert "run FF tests 8x times"

This reverts commit 75ef2ced46.

* Revert "run ciGroup6 12x times"

This reverts commit 217dbb818c.

* Update test/functional/page_objects/visual_builder_page.ts

review fix

Co-Authored-By: Spencer <email@spalger.com>
2019-09-18 18:53:22 +02:00
Dmitry Lemeshko
9a652ce2a4
Update chromedriver to 77 (#45614)
* bump chromedriver to v77

* fix file import
2019-09-18 17:34:12 +02:00
Brian Seeders
4142659079
Run pipeline scripts with runbld (#45844)
Change how runbld is invoked, and skip junit processing by default
2019-09-18 10:38:39 -04:00
Lee Drengenberg
5a501ed2e7
use correct id in setting default index pattern in dashboard tests (#45601)
* replace guid with logstash-* in data for default index pattern

* revert change to data archive, instead fix index pattern id
2019-09-18 09:25:53 -05:00
Daniil Suleiman
35e0f9cf5b
Remove extra code from point series functional tests (#45895)
* Remove extra code

* Remove unused ids
2019-09-18 17:22:20 +03:00
spalger
dc774b30d6 disable flaky test (#45970) 2019-09-18 04:39:35 -07:00
Spencer
fc186e57d5
[ftr/savedObjects] add simple saved object api client to ftr s… (#45856)
* [ftr/savedObjects] add simple saved object api client to ftr services

* fix typo

* use consistent spacing

* fix types and TS-ify the rest of kibanaServer service

* expose server urls with better API

* tweak status api response types

* fix http body param name

* second arg to axios post is the post data

* use standardized error handling behavior

* Revert "use standardized error handling behavior"

This reverts commit 7e9a7f8dc5.

* revert unnecessary changes
2019-09-17 12:07:28 -07:00
Spencer
b1a01effa8
set IS_PIPELINE_JOB in intake jobs (#45850)
* set IS_PIPELINE_JOB in intake jobs

* firefox smoke doesn't get an initial build

* firefox smoke doesn't get an initial build (oss edition)

* re-enable all jobs
2019-09-17 10:26:32 -07:00
Dmitry Lemeshko
fbb014d6f6
[test/functional/services] tsfy FailureDebugging, SavedQueryManagementComponent & Snapshots (#45682)
* [test/functional/services] tsfy failure_debugging, snapshots, saved_query_management_component

* update renovate config

* fix path in snapshot service
2019-09-16 22:04:51 +02:00
Caroline Horn
74b3d84bb6
Update EUI to 14.0.0 (#45475) 2019-09-16 13:59:39 -04:00
liza-mae
61d600f19f
Skip discover visual tests (#45580)
* Skip discover visual tests

* Re-enable visual test jobs

* Disable visual tests

* Remove newline

* Remove new line

* Add a comment for the skipped test with a link to Github issue
2019-09-16 11:45:46 -06:00
Maryia Lapata
71f6150a14
Fix functional test (#45641) 2019-09-16 12:45:16 +03:00
Spencer
510566d66b
[kbn-es] make custom snapshot url a feature (#45750)
* [kbn-es] make custom snapshot url a feature

* download es snapshot first
2019-09-15 08:10:43 -07:00
Lee Drengenberg
e142442712
correct path with this missing slash (#45666) 2019-09-13 15:43:57 -05:00
Spencer
ef5c520826
Call failure reporter directly from Jenkinsfile (#45551)
* Run failed_tests/cli once per node

* force failures for testing

* Revert "force failures for testing"

This reverts commit 3ddd9240fe.
2019-09-13 11:15:38 -07:00
Maryia Lapata
1223ab97a6
[Vis: Default Editor] EUIficate 'Metrics & Axis' tab (#43772)
* EUIficate pointe-series and grid

* Apply TS

* Show grid on a panel

* Remove extra space

* Add TS

* Use BasicOptions

* Adjust func test

* Add dataTestSubj prop to SelectOption

* Use id instead of data-sest-subj

* Disable show x-axis lines when there is histogram agg

* Add tooltip for disabled 'Show x-axis lines' config

* Add series_options.tsx

* Migrate series

* Improve changeValueAxis

* Create CategoryAxisPanel

* Create ValueAxesPanel

* Create CustomExtentsOptions

* File renaming

* Use TruncateLabelsOption

* Set min value

* Add validation

* Refactoring

* Move types upper

* Convert series logic

* Convert valueAxes logic

* Rename function

* Add validation and refactoring

* Adjust styles

* Fix rotates

* Apply config for other vis

* Remove old directives

* Fix useHook usage

* Update vislib_vis_type.js

* Fix

* Move Threshold line panel into a separate component

* Remove unused translations

* Apply ui suggestions

* Update functional tests

* Remove angular unit test

* Refactoring

* Fix dependencies

* Refactoring

* Add validation

* Add validation for other vis

* Refactoring of onPositionChanged handler

* Refactoring of addValueAxis

* Get rid of a useEffect

* Refactoring of updateAxisTitle

* Update useCallback

* Refactoring

* Refactoring of collections config

* Refactoring of setChartValueByIndex and setValueAxisByIndex

* Update metrics_axes_options.tsx

* Watch current tab for correct accordion height

* Revert axis title logic

* Fix axis id and name number

* Fix code review comments

* Fix functional tests

* Update visualize_page.js

* Move option tabs in common

* Fix code review comments

* Update index.tsx

* Refactoring

* Fix merge conflict

* Show ThresholdPanel when it's configured

* Fix passing a current tab to vis-options

* Localize 'Count' text

* Pass one axis to CategoryAxisPanel

* Fix y-axis name number when x-axis position changed

* Fix Y-axis name number when position Y-axis changed

* Fix refresh loop

* Re-organize controls

* Apply code review comments

* Refactoring

* Fix extents empty value

* Update y_extents.tsx

* Fix code review comments

* Fix updating several seriesParams when removing axis

* Add thresholdLine config to horizontal bar

* Refactoring

* Reset grid.valueAxis when the axis deleted

* Fix refresh loop

* Set interpolate config for line

* Enable "show dots"
2019-09-13 14:12:43 +03:00
Dmitry Lemeshko
a33909a480
Change data-test-subj selector logic to support value with spaces (#43682)
* update test-subj-selector

* update locators

* adjust whitespaces removal

* fix another locator

* fix ML test locators
2019-09-12 09:48:09 +02:00
Spencer
9a109f2170
Revert "Revert "Revert "Revert "[ci] compress jobs for CI stab… (#45454)
* Revert "Revert "Revert "Revert "[ci] compress jobs for CI stability" (#44584)"""

This reverts commit 148b8c0f90.

* sync changes with Jenkinsfile
2019-09-11 15:27:43 -07:00
Brian Seeders
27d23c4184 Jenkins pipeline with parallel cigroups (#45285)
* Pipeline

* WIP some work for parallelization with ciGroups

* Fix xpack kibana install dir, and add some debugging

* Attempt to quick fix a few tests

* Revert "Revert "Revert "[ci] compress jobs for CI stability" (#44584)""

This reverts commit 078ac2897f.

* Recombine test groups, and try runbld again

* Mostly cleanup, and fix failed_tests reporting to hopefully work for both pipeline and non-pipeline

* Fix typo in shell script

* Remove some debug code

* Add support for changing es transport.port during testing via TEST_ES_TRANSPORT_PORT

* Fix test that uses hard-coded es transport port and add it back in to parallel groups

* Disable checks reporter again for now

* Set env var for TEST_ES_TRANSPORT_PORT in pipeline

* Update Jenkinsfile for shorter testrunner labels

* Fix another hard-coded transport port

* Fix a new test with hard-coded URLs

* Jenkinsfile cleanup and fix one of the groups

* Fix double slash

* Testing vault credentials on jenkins server

* Add a non-existent credential

* Revert "Add a non-existent credential"

This reverts commit 0dc234c465a5483b1a994cb510a182fef766e9cc.

* Try github-checks-reporter again

* github-checks-reporter should only run for elastic/kibana, forks won't work

* Clean up some debug code

* Changing names around to try to make BlueOcean UI a little better

* Add more stages

* Make some changes to stage structure to mirror a nested example from CloudBees

* Handle TODOs, and some cleanup in Jenkinsfile

* Pass GIT_BRANCH when started without GHPRB, fix branch check

* Fix mailer problem and add code that ensures all tests are in cigroups back in

* Test adding worker/job name to junit report paths

* Remove some duplication from ci_setup scripts

* Fix unit test that uses junit path

* Don't reinstall node every time setup_env is run

* Fix yarn install logic

* Fix another unit test that uses junit output dir

* Download latest ES snapshot after kibana builds

* Make sure junit reports are always processed

* Add two failing tests for testing purposes

* Add support to Jenkinsfile for kibana build e-mails

* Remove some debug code for email sending

* Change JOB env handling in junit paths and move it to a sub-directory

* Revert "Add two failing tests for testing purposes"

This reverts commit 5715203e26922a93483feb0ebb8bb3fdcc3daf8c.

* Fix junit report path in test

* Don't send kibana emails on build abort

* Address PR feedback, formatting and use built-in url formatting library

* Fix path formatting for functional test

* Add email sending back in to Jenkinsfile

* Fix another unit test with path problem
2019-09-11 11:58:28 -07:00
Greg Thompson
bec1fa63ab
Upgrade EUI to 13.8.1 (#45052)
* eui to 13.8.0

* euibutton ts updates

* euicontextmenupanel ts updates

* misc ts updates

* src snapshot updates

* x-pack snapshot updates

* 13.8.1
2019-09-11 10:03:02 -05:00
Dmitry Lemeshko
8a900bfe09
Functional tests: convert more test/services to TS (#45176)
* convert more test/services to TS

* Update test/functional/services/combo_box.ts

Co-Authored-By: Tre' <wayne.seymour@elastic.co>

* Update test/functional/services/combo_box.ts

Co-Authored-By: Tre' <wayne.seymour@elastic.co>

* Update test/functional/services/combo_box.ts

Co-Authored-By: Tre' <wayne.seymour@elastic.co>

* fix lint error
2019-09-11 16:10:13 +02:00
spalger
95bf9c832a disable another flaky suite (#45323) (#45330) 2019-09-10 20:22:24 -07:00
spalger
a7f5062741 disable flaky suite (#45105) 2019-09-10 18:18:52 -07:00
spalger
3a8d19d3a0 skip flaky suite (#45089) 2019-09-10 17:59:26 -07:00
spalger
61e1b83722 disable jest suite that has no enabled tests (#44250) 2019-09-10 17:53:45 -07:00
spalger
d50892100b disable flaky test (#45315) 2019-09-10 17:29:38 -07:00
Marco Vettorello
5cd40b43ff Replace Discover chart with elastic-charts (#43788)
* use elastic-charts for histogram
* add class accessibility
* specify onElementClick type annotation
* set chartElement tooltip type to Follow
* use moment methods for now annotation logic
* move historam inside directive folder
* remove unused timechart directive
* remove dependency from tsvb brush handler
* remove non-required class to fix tooltip overflow
* change the cursor/crosshair
* fix(ie11): add fixed width for header text
* fix: annotation colors on dark theme
* unpdate click and brush ui functional tests
* move functional tests to percy
2019-09-10 12:44:36 -05:00
spalger
078ac2897f Revert "Revert "[ci] compress jobs for CI stability" (#44584)"
This reverts commit 50355d08f2.
2019-09-10 09:03:23 -07:00
Matthias Wilhelm
3798674043
De-angularize and EUI-ficate Discover Context control elements (#44474)
* Create ActionBar component, merges loading button and size picker

* Use react component, remove angular code

* Migrate constants + state to typescript

* Remove unused increaseCount functions + tests

* Add jest test
2019-09-10 16:47:28 +02:00
Christiane (Tina) Heiligers
0656e4fc00
Remove double call to update state from saved query (#45046)
* Changes saved query watchers in Discover to reduce number of calls to updateStateFromSavedQuery

* Changes saved query watchers in Dashboard to reduce number of calls to updateStateFromSavedQuery

* Changes saved query watchers in Visualize to reduce number of calls to updateStateFromSavedQuery

* formatting

* fixes test
2019-09-06 16:12:31 -07:00
Daniil Suleiman
ab24359879 Replace TSVB timeseries charts with elastic-charts (#33558)
* Replace TSVB timeseries charts with elastic-charts

* Add sort index for series

* Update src/legacy/core_plugins/metrics/public/visualizations/views/timeseries/index.js

Co-Authored-By: Nick Partridge <nick.ryan.partridge@gmail.com>

* Fix PR comments

* fix issue with scaling

* fix crosshair styles for bar
2019-09-06 12:45:30 +03:00
Dmitry Lemeshko
3a158b9d7d
FTR: fix WebDriver Actions calls (#44605)
* [services/web_element_wrapper] add actions API methods

* fixes

* [services/browser] fix dragAnDrop to work in both w3c/non-w3c modes

* small review changes

* dragAndDrop: add default values for offset
2019-09-06 07:54:26 +02:00
Mikhail Shustov
861a1e26cc
disable router prefixing with pluginId (#44855)
to unblock plugin migration until new api and static
resource services are available
2019-09-05 18:03:09 +02:00
Stacey Gammon
81d06d5378
Decouple actions from embeddables: step 1 (#44503)
* Decouple actions from embeddables: step 1

* prefer as any instead of is-ignore

* Remove unneccessary test, no more triggerContext to be null.

* Fix bug and fix the test that should have caught it.  Be more strict about checking isCompatible.
2019-09-05 10:17:42 -04:00
Matt Bargar
e195279918
Attempts to make saving of the current query more robust (#44797) 2019-09-04 18:49:31 -04:00
Dmitry Lemeshko
96cd619380
[visualize/_tsvb_time_series] fix flaky test (#44505) 2019-09-04 08:05:58 +02:00
Josh Dover
b352f67bdb
Add ApplicationService Mounting (#41007)
* Add core-only bundle

* Add ApplicationService mounting

* Add LegacyCore{Setup,Start}

* Fix PR comments

* Add functional tests

* Fix PR comments

* Fix PR comments

* Remove other usages of rootRoute

* Use state field notation

* Add support for open in new tab

* Fix PR comments

* Fix pesky await from the dead

* Update docs

* Bump @types/history
2019-09-03 13:03:05 -05:00
Spencer
50355d08f2
Revert "[ci] compress jobs for CI stability" (#44584)
This reverts commit debf8c62b4.
2019-09-03 08:36:47 -07:00
spalger
ac23159b1f disable flaky suite (#22322) 2019-08-30 15:30:44 -07:00
Rashmi Kulkarni
382733be29
[WIP] Rollup unskip test - test 30 times on CI (#44304)
fixes https://github.com/elastic/kibana/issues/43559
2019-08-30 10:36:51 -07:00
Stacey Gammon
c469b0849d
np-ify embeddable explorer plugin (#44110)
* np-ify embeddable explorer plugin

* use plugins.embeddable, not start
2019-08-30 12:04:32 -04:00
Matthias Wilhelm
213ae02162
Remove :type from discover context url (#44008)
* Add url without type to discover context

* Add redirectTo for the legacy URL

* Adapt link to context in discover table

* Remove code duplication by usage of redirectTo

* Remove anchorType from application and tests

* Cleanup mocha tests
2019-08-30 16:33:06 +02:00
Caroline Horn
fbc1be5240
Saved queries design cleanup (#44191) 2019-08-29 09:11:29 -04:00
spalger
debf8c62b4 [ci] compress jobs for CI stability 2019-08-28 22:31:40 -07:00
spalger
3ad4eb86da Revert "only build if necessary"
This reverts commit eb9f54d216.
2019-08-28 20:55:39 -07:00
spalger
eb9f54d216 only build if necessary 2019-08-28 17:49:08 -07:00
Greg Thompson
fbca664cd2
eui to 13.6.1 (#44149) 2019-08-27 17:25:24 -05:00
Dmitry Lemeshko
48c610968e
esArchiver: retry kibana config update (#43987)
* [services/es_archiver] retry uiSettings update

* run x-pack-ciGroup7 30x times

* Revert "run x-pack-ciGroup7 30x times"

This reverts commit 80e199c3aa.

* [saved_object_api_integration/common/services] add retry service to the set

* add retry service for x-pack api tests
2019-08-27 23:15:29 +02:00
spalger
9d8f808063 skip flaky test (#44132) 2019-08-27 13:40:36 -07:00
Greg Thompson
084433fbee
Upgrade EUI to 13.6.0 (#43916)
* eui to 13.6.0

* euirange updates

* euipage snapshot updates

* add classname toggle for nav locking

* new header wrapper component; removed observable

* Add styles for locked nav

And updated BEM naming of `header-global-wrapper`

* move headerwrapper

* isLocked localStorage

* remove useEffect
2019-08-27 14:47:41 -05:00
Christiane (Tina) Heiligers
43df3a78ed
Reset dirty saved query on reload (#43927)
* Clears changes a loaded saved query before loading another one

* Adds general functional test to ensure changes to a saved query are discarded on reloading it

* Moves resetting a dirty saved query to the app controllers in Discover, Visualize and Dashboard
2019-08-27 12:00:47 -07:00
Mikhail Shustov
9a732014cb Response factory parameters as named arguments (#43248)
* pass body as response parameter. use attributes for error responses

* update core

* update tests

* update x-pack code

* update x-pack tests

* regen docs

* update comment

* Review feedback and fixes after master merge

* Eslint fixes
2019-08-23 19:31:17 +02:00
Spencer
e1535d5660
[indexPatterns/bytesFormat] switch default decimal places to 1 (#43785)
* [indexPatterns/bytesFormat] switch default decimal places to 1

* set format:bytes:defaultPattern in some functional test suites
2019-08-23 07:03:23 -07:00
Matt Bargar
bba04a51e3
Save query form validation on blur (#43726)
This PR changes the save query form to only validate its inputs on blur. Previously we validated on every change. This could lead to the errors flashing in the user's face before they're done typing a valid input. For example, we allow spaces in the name field, but not at the beginning or end of the name. So if a user typed this is a long name with spaces they would see the error pop up every time they type a space, only to have it disappear when they type the next letter.
2019-08-22 17:39:29 -04:00
Daniil Suleiman
e568c3dfde
[Vis: Default editor] EUIficate gauge/goal options tab (#43265)
* Euificate gauge options

* Changes params places

* Add ranges validation

* Get rid of legacy translates

* Fix functional tests

* Split gauge to panel components

* Disable alignment option
2019-08-22 16:01:55 +03:00
Matt Bargar
e233e419cf
Implement saved queries and filters (#39140)
Introduces "saved queries". Saved queries are a new saved object type similar to saved searches but more limited in scope. They allow users to store the the query string in the query bar and optionally the set of filters and timefilter in order to reload them anywhere a query is expected: Discover, Visualize, Dashboard, anywhere that uses our full SearchBar component.
2019-08-21 16:53:19 -04:00
Josh Dover
5071c74945
Replace CSP 'nonce-<base64>' directive with 'self' directive (#43553) 2019-08-21 14:11:38 -05:00
Dmitry Lemeshko
9b9801f470
functional tests for input control range (#42483)
* [apps/visualize] functional tests for input control range

* update jest test to have 100% combined coverage with functional
2019-08-21 17:22:54 +02:00
dave.snider@gmail.com
b0a4181f7d
Upgrade EUI@13.3.0 (#42858)
Upgrades 13.3.0
2019-08-20 13:37:47 -07:00
Matthias Wilhelm
dd26316fd2
De-angularize DocViewer (#42116)
* Migrate doc-viewer directive to use React/TypeScript

* Refactor DocViewsRegistryProvider

* Add compatibility for 3rd party plugins still using angular

* Add tests

Angular rendering for usage in React component:

Co-authored-by: spalger <email@spalger.com>
2019-08-20 07:47:21 +02:00
Mikhail Shustov
00a0203584 Extend request handler with request scoped core capabilities (#43103) 2019-08-19 13:34:48 -05:00
Vadim Dalecky
d2166596b0
fix: 🐛 pass whole action context to isCompatible() method (#43457)
* fix: 🐛 pass whole action context to isCompatible() method

* test: 💍 add function test for saved search filtering in pie

* test: 💍 move save search functional test in its own test suite
2019-08-19 14:31:32 +02:00
Daniil Suleiman
df72f91878
[Vis: Default editor] EUIficate region map options tab (#42944)
* EUIficate region_map_options

* Reuse types

* Remove wms_options directive

* Remove style import

* Fix issue with join field default value
2019-08-15 21:09:28 +03:00
Matthias Wilhelm
6da05e0b8d
Restore discover histogram selection triggering fetch (#43097)
* Listen to timefilter fetch event to start fetching

* Improve functional test to catch error
2019-08-14 18:12:29 +02:00
Maryia Lapata
a892d58677
[Vis: Default editor] EUIficate Panel Setting tab (#42828)
* EUIficate pointe-series and grid

* Apply TS

* Show grid on a panel

* Remove extra space

* Add TS

* Use BasicOptions

* Adjust func test

* Add dataTestSubj prop to SelectOption

* Use id instead of data-sest-subj

* Disable show x-axis lines when there is histogram agg

* Add tooltip for disabled 'Show x-axis lines' config

* Remove extra space
2019-08-14 17:52:36 +03:00
Mike Côté
f6e137baf7
Re-enable failing test (#43190) 2019-08-13 10:56:55 -04:00
spalger
e3b0ff6e93 skip failing test (#43163) 2019-08-12 20:43:15 -07:00
Spencer
c29a17ce3c
[ftr] enable visualRegression jobs (#42989)
* enable visualRegression jobs

* skip the console and login visual tests
2019-08-12 10:50:22 -07:00
Vadim Dalecky
ece2c35de1
Embeddables 👉 NP-ready (#41272)
* refactor: 💡 create registries file

* docs: ✏️ add testing command to docs

* chore: 🤖 create state folder

* chore: 🤖 WIP

* refactor: 💡 remove static imports of stateful things

Make Embeddables ./triggers tests pass

* test: 💍 add await-of for testing

* refactor: 💡 move stateless code into shim's lib/ folder

* test: 💍 add registry tests

* feat: 🎸 add Embeddable plugin public "setup" API

* feat: 🎸 create Embeddable plugin shim

* refactor: 💡 minor improvements for new plugin structure

* refactor: 💡 move test helpers into shim

* feat: 🎸 add Embeddable setup.getTrigger() method

* feat: 🎸 inject setup API into pure setup functions

* refactor: 💡 generate Embeddable setup API in a loop

* feat: 🎸 add getTriggerActions() Embeddable setup function

* feat: 🎸 add getTriggerCompatibleActions() to Embeddable shim

* chore: 🤖 uninstall await-of package

* chore: 🤖 simplify imports/exports

* test: 💍 improve testing utilities

* feat: 🎸 add executeTriggerActions() Embeddables setup method

* fix: 🐛 remove non-existing import

* chore: 🤖 cleanup actions

* refactor: 💡 move errors into dedicated errors.ts file, add test

* test: 💍 add unit test for ApplyFilterAction class

* test: 💍 import helpers correctly after refactoring

* test: 💍 fix actions tests

* feat: 🎸 clean up /lib/embeddables

* test: 💍 fix /lib/containers tests

* test: 💍 make embeddable_panel.test.tsx tests pass

* refactor: 💡 work on briging EditPanelAction action to /actions

* test: 💍 make /containers tests pass

* test: 💍 make /actions and /embeddables tests pass

* test: 💍 clean up tests from legacy platform static imports

* feat: 🎸 add getEmbeddableFactories API method

* test: 💍 add tests for factory list method

* feat: 🎸 add start life-cycle API

* feat: 🎸 unify Embeddables API

* refactor: 💡 create /css folder, move all CSS there

* feat: 🎸 improve dashboard container shim

* feat: 🎸 progress on dashboard container shim

* feat: 🎸 implement getEmbeddableFactory Embeddable API method

* feat: 🎸 improve embeddable container shim

* test: 💍 fix dashboard container expand panel tests

* test: 💍 fix dashboard grid tests

* test: 💍 fix createPanel tests

* test: 💍 fix dashboard viewport tests

* test: 💍 fix dashboard container tests

* test: 💍 add Embeddable plugin mock

* test: 💍 improve tests after merge

* refactor: 💡 move new platform code into np_ready folders

* chore: 🤖 fix some TS errors after merge

* chore: 🤖 fix more TS errors after merge

* fix: 🐛 fix TypeScript errors in kbn_tp_sample_panel_action

* fix: 🐛 fix more TypeScript errors

* fix: 🐛 fix TypeScript in functional tests

* fix: 🐛 fix more TypeScript errors

* fix: 🐛 fix more TS errors

* refactor: 💡 pass deps through constructors

* refactor: 💡 improve dependency injection and fix tests

* test: 💍 fix container integration tests

* test: 💍 fix customize_panel_modal tests after refactor

* test: 💍 fix all tests in embeddable_api

* chore: 🤖 fix linter error

* test: 💍 fix dashboard_embeddable_container tests after merge

* test: 💍 fix /src TypeScript errors

* fix: 🐛 fix Jest tests and add global typings in demo plugin

* fix: 🐛 fix build errors

* fix: 🐛 make build start without errors

* fix: 🐛 in dashboard container don't import types from ui/*

* chore: 🤖 fix linter errors

* refactor: 💡 remove getUserData, remove another ui/new_platform

* chore: 🤖 fix linter errors

* refactor: 💡 remove ui/new_platform from HelloWorldAction

* refactor: 💡 remove ui/new_platform from SendMessageAction

* refactor: 💡 remove ui/new_platform from ContactCardEmbeddableF*

* chore: 🤖 fix ESLint errors

* feat: 🎸 throw if action or trigger with given ID already exists

* feat: 🎸 throw if embeddable factory already registered

* docs: ✏️ fix tsdoc

* chore: 🤖 remove unused @ts-ignore

* refactor: 💡 remove createEmbeddables() function

* refactor: 💡 use new NP inspector plugin

* fix: 🐛 fix TypeScript errors

* chore: 🤖 improve plugin manifests

* feat: 🎸 cherry pick exported API from Embeddable plugin

* refactor: 💡 do not import constants from Kibana App

* fix: 🐛 remove unnecessary any

* chore: 🤖 uncomment SASS files

* refactor: 💡 remove IndexPattern logic out of dashboard panel

* refactor: 💡 move RefreshInterval and TimeRange to New Platform

* fix: 🐛 revert back notifications usage

* chore: 🤖 export test samples from index.ts files

* test: 💍 re-enable ApplyFilterAction integration tests

* chore: 🤖 remove unused translation

* refactor: 💡 rename variable to something less React specific

* fix: 🐛 improve CSS imports, remove unused hack, remove any type

* fix: 🐛 fix Embeddables demo plugin

* fix: 🐛 fix missing SASS variable

* fix: 🐛 re-enable translation

* fix: 🐛 uncomment saved object flyout panel logic

* refactor: 💡 pass in <SavedObjectFinder> from top level

* test: 💍 re-enable add_panel_flyout tests

* refactor: 💡 pass in <ExitFullScreenButton> through args

* fix: 🐛 import specific constants to fix functional tests

* fix: 🐛 fix CI type_check error

* test: 💍 change import paths to fix functional tests on CI

* test: 💍 fix exit button test after refactoring

* refactor: 💡 make do not change page on grid error

* test: 💍 fix functional test

* refactor: 💡 move CSS next to components

* fix: 🐛 remove missing props

* test: 💍 try fixing functional test on CI

These tests pass locally, but fail on CI. This is a stab to fix it on
CI.

* refactor: 💡 move variables.scss one folder up

* test: 💍 disable Embeddable Explorer functional tests

* chore: 🤖 remove onCoreReady in functional tests

* test: 💍 disable maps functional test for embeddables

* chore: 🤖 remove comment, export types explicitly

* refactor: 💡 remove unused `firstName`, add link to issue

* refactor: 💡 remove double underscore __ in test registry names

* refactor: 💡 remove utils folder, move bootstrap() fn to top lvl

* test: 💍 uncomment edit_panel_action tests

* test: 💍 uncomment inspect_panel_action tests
2019-08-12 12:41:18 +02:00
Brandon Kobel
2ce2bfbca7
Adding "style-src 'unsafe-inline' 'self'" to default CSP rules (#41305)
* Adding "style-src 'unsafe-inline' 'self'" to default CSP rules

* Updating jest snapshot

* Fixing api integration smoke test

* Verifying all CSP responses

* Fixing OIDC implicit flow test
2019-08-09 15:15:40 -07:00
Dmitry Lemeshko
2198222f28
run chained_controls on Firefox to catch regression (#43044) 2019-08-09 21:40:34 +02:00
Dmitry Lemeshko
2ebbf1b091
[apps/dashboard] skip part of filtering tests on FF (#43047) 2019-08-09 20:46:28 +02:00
Peter Pisljar
06706b5748 fixes scaling logic to check agg type instead schema (#42574)
* fixes scaling logic to check agg type instead schema

* adding selenium test

* updating jest snapshot

* fixing test

* Change test order

* Fix test order
2019-08-08 18:09:14 +02:00
Dmitry Lemeshko
ce07151bf4
bump chromedriver version to 76 (#42468)
* bump chromedriver version to 76

* [test/interpreter_functional] update snapshots

* [test/interpreter_functional] skip failing tests

* Revert "[test/interpreter_functional] update snapshots"

This reverts commit 6401554882.

* [test/interpreter_functional] skip snapshot tests
2019-08-07 22:52:02 +02:00
Josh Dover
5192dac0b6
Add ContextService to server (#42395) 2019-08-06 12:24:49 -05:00
Nicolas Chaulet
1aa21c123d
[Tests] Setup contract tests in x-pack (#42345) 2019-08-05 11:15:03 -04:00
Spencer
d66b3c74eb
[x-pack/ftr] refactor types to be more accurate/consistent wit… (#42407) 2019-08-02 15:43:05 -07:00
Matt Bargar
f6cb00a6f3
Allow sorting on multiple columns in Discover (#41918)
This commit enables sorting on multiple columns in Discover and in saved search panels on dashboards. The UI is simple and should be familiar based on the way multi-sort works in other common applications like file explorers. Each sortable column has a sort icon indicating which way it is sorted (or unsorted, in the case of two arrows pointing both up and down). Sort priority is determined by which column was clicked most recently, with the most recent being the lowest priority.
2019-08-02 17:18:54 -04:00
Spencer
f4e39159dc
[ftr/cheerio] improve cheerio types to include test subject me… (#42534) 2019-08-02 13:08:20 -07:00
Chandler Prall
da99d4520b
Upgraded EUI 13.0.0 -> 13.1.1 (#42298)
* Upgraded EUI 13.0.0 -> 13.1.0

* Bump to 13.1.1

* Reset MutationObserver polyfill to original operation

* Reset x-pack's MutationObserver polyfill to original operation
2019-08-02 12:42:07 -06:00
Vadim Dalecky
39b233a24d
Inspector 👉 New Platform (#42164)
* refactor: 💡 remove SASS and clean up InspectorView component

* refactor: 💡 clean up inspector, convert .js -> .ts

* feat: 🎸 add Inspector NP plugin boilerplate

* feat: 🎸 move view registry to NP, move types, add registerView

* docs: ✏️ move inspector README to NP plugin

* refactor: 💡 move ui/inspector/ui to NP

* refactor: 💡 move Inspector adapters to NP

* refactor: 💡 move Inspector.isAvailable to New Platform

* refactor: 💡 move Inspector.open to New Platform plugin

* test: 💍 move Inspector tests to NP plugin

* chore: 🤖 fix imports

* feat: 🎸 update translations

* test: 💍 fix failing translation snapshot

* test: 💍 fix yarn test:browser tests

* Update src/legacy/ui/public/inspector/build_tabular_inspector_data.ts

Co-Authored-By: Stacey Gammon <gammon@elastic.co>

* [ML] [Job wizards] switching to new kibana context provider

* fix: 🐛 specify translation path directly to the plugin

* docs: ✏️ add comment about Webpack config fix

* Update src/legacy/ui/public/inspector/build_tabular_inspector_data.ts

Co-Authored-By: Stacey Gammon <gammon@elastic.co>

* Update src/legacy/ui/public/inspector/build_tabular_inspector_data.ts

Co-Authored-By: Stacey Gammon <gammon@elastic.co>

* feat: 🎸 improve types as per review

* fix: 🐛 remove <InspectorView> comp and fix view layouts

* test: 💍 improve mocks
2019-08-02 17:00:35 +02:00
Jason Rhodes
b230ceb50d
Creates functional test README files (#42389)
* Creates x-pack functional test README

* Adds README to test/functional directory

* Adds link to Functional Test dev guide in x-pack root README
2019-07-31 15:41:15 -04:00
Brandon Kobel
f2f941fee3
Saved Objects export API stable type order (#42310)
* Sorting export's valid types

* Updating the saved object api integration export test

* Fixing OSS also
2019-07-30 19:28:44 -07:00
Dmitry Lemeshko
7d61cac2d8
FTR: fix testSubjects.missingOrFail (#42290)
* [services/test_subject] fix missingOrFail

* [services/test_subjects] allowHidden option for missingOrFail

* [page_objects/dashboard_page] wait for euiTable loaded, increase timeout for loading page check
2019-07-31 00:19:15 +02:00
Vitali Haradkou
2dfe167d7d
[TSVB] [Functional] unskip flaky test (#41766)
* unskip flaky test
2019-07-29 15:33:12 +03:00
Maryia Lapata
85f9ef6433
[Vis Editor] EUIfication of agg and agg-group directives (#40866)
* Create default_editor_agg.tsx

* Create default_editor_agg_group

* Apply drag and drop

* Remove unused dragula dependency

* Remove old mocha tests

* Add ts for state

* Update functional tests

* Update touched condition

* Apply styles for accordion button content

* Apply truncate for agg description

* Remove unused styles

* Separate common props

* Move aggGroupNamesMap to agg_group.js

* Update _sidebar.scss

* Pass schemas prop

* Prevent scroll bar and add space

* Remove unused min from stats

* Add OnAggParamsChange type

* Show error as an icon

* Update background color

* Update title size

* Remove Schema.deprecate since it's not used
2019-07-29 13:58:50 +03:00
Daniil Suleiman
91adbfc88b
[Vis: Default editor] EUIficate pie chart options tab (#41901)
* EUIficate pie chart options tab

* Fix tests

* Size titles down to xs

* Use FormattedMessage
2019-07-29 13:03:57 +03:00
Dmitry Lemeshko
044285cb3b
Functional tests: make sure clicked dashboard is opened (#42006)
* [page_objects/dashboard_page] make sure selected dashboard is opened
2019-07-26 15:01:58 +02:00
Dmitry Lemeshko
7df1f41857
Ftr/tsfy doc table (#41710)
* [services/doc_table] tsfy service and use parse dom to get rows

* [services/doc_table] do not pass table element as argument

* [services/doc_table] update service to minimize StaleElementReference cases

* [services/doc_table] add missing access modifier

* [services/doc_table] change getHeaderFields and fix return types
2019-07-25 08:42:04 +02:00
Dmitry Lemeshko
58f2a263d0
[service/remote] check env variable value (#41909) 2019-07-25 08:29:17 +02:00
Daniil Suleiman
ef5af4ce66
[Vis: Default editor] Create vis_options_react_wrapper (#41746)
* Add vis_options_react_wrapper

* Update jest tests

* Fix plugin functional test
2019-07-24 16:20:23 +03:00
Meir Meshi
db07f13253 Ensure visualizations in percentage mode respect the advanced settings percent format (#39044) 2019-07-23 23:47:27 -06:00
Liza Katz
de9d823ad4 Fix autorefresh in visualize editor (#41657) 2019-07-23 22:34:49 -06:00
dave.snider@gmail.com
c2b926e2e7
EUI 13.0.0 (#41723) 2019-07-23 15:09:16 -07:00
Tim Roes
e1bc154478
GoodBye Notifier (#41663)
* Begin notifier removal

* Remove remaining notifier traces

* Remove dead translations

* Remove Angular from config listener

* Import angular-sanitize explicitly in map
2019-07-23 18:26:50 +02:00
Stacey Gammon
a6fd0c3e2f
turn on filtering tests (#41202)
* turn on filtering tests

* run x-pack-firefoxSmoke ciGroup 40 times, run dashboard tests 20 times per job

* Revert "run x-pack-firefoxSmoke ciGroup 40 times, run dashboard tests 20 times per job"

This reverts commit 5ef02cc53ba5085c3f74431cb6ef20be2d876cde.
2019-07-23 12:18:33 -04:00
Ahmad Bamieh
9d7cf53eba
[telemetry] Analytics Package (#41113)
* kbn-analytics

* kbn-analytics

* expose provider

* add logger

* performance and stats reporters

* finalize ui stats metric

* functional tests

* remove readme file for now

* update readme

* add types file into to tsconfigs

* Update packages/kbn-analytics/src/report.ts

Co-Authored-By: Josh Dover <me@joshdover.com>

* fix typechecks

* use enum instead of strings for metric types

* getUiStatsReporter -> createUiStatsReporter

* fix special typo in README

* remove unused stop method

* fix tests

* default debug to false

* use chrome.getInjected

* add METRIC_TYPE to jest module mocks

* mock create fn

* handle enabled:false

* init ui_metric in test setup env

* regenerator runtime

* transform-regenerator

* update lock file

* update babel configs

* runtime dep

* add regenerator

* babel configs

* use env-preset

* merge conflicts

* fix workpad telemetry tests

* regeneratorRuntime attempt to fix number 30000

* env targets

* remove module config

* try again

* try without regenerator

* use kbn/babel-preset/webpack_preset only

* runtime

* just use typescript

* update tsconfig

* Caches trackers by app value for infra useTrackMetric hook
2019-07-23 15:46:56 +03:00
Liza Katz
4b8913cb53
hide top nav menu in full screen mode of maps and dashboard (#41672)
* 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 09:31:44 +03:00
Zacqary Adam Xeper
47d9756652
[Logs UI] Make column configurations reorderable (#41035)
* [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-22 13:47:47 -05:00
Greg Thompson
dd63e73fb0
Upgrade EUI to 12.4.0 (#41577)
* eui 12.4.0

* styled-components ts conflict

* update combobox test service to always open on open call

* Revert "update combobox test service to always open on open call"

This reverts commit 43074e6006.

* scroll combobox into view

* scroll before filter
2019-07-22 13:01:25 -05:00
Alexey Antonov
1061f69d45
[TSVB] [Markdown] markdown section do not render after change data parameter (#41576)
* [TSVB] [Markdown] markdown section do not render after change data parameter

* fix grammar
2019-07-22 15:52:07 +03:00
Dmitry Lemeshko
4d884fa448
update dark mode tsvb test (#41618) 2019-07-22 09:41:00 +02:00
Liza Katz
b22a28844a
Reactify Top Nav Menu (kbn_top_nav) (#40262)
* kbn top nav in discover

* New top nav in dashboard and vis editor

* Stop using template feature of kbn top nav

* Changed console menu to new directive

* Use search bar in top nav in discover and maps
Support search bar with no filter bar (TS)

* Moved storage instantiation to angular directive

* Make index patterns optional (for timepicker only setup)

* Moved discover result count away from top nav

* Removed unused name attribute in top nav. Use app-name instead.
2019-07-21 14:15:45 +03:00
Tiago Costa
b17e4ad8f3
chore(NA): enable @typescript-eslint/explicit-member-accessibility rule (#41422) 2019-07-19 16:30:54 +01:00
Spencer
c3f31c79fb
[jest] disallow invalid describe calls (#41378)
* [jest] disallow invalid describe calls

* correct other describe calls

* remove unnecessary glob

* cast decribe names to strings

* remove new async describe function
2019-07-18 10:11:33 -07:00
spalger
75391329a0 skip two failing tests (#41453) (#41452) 2019-07-18 06:40:46 -07:00
Dmitry Lemeshko
ade8a2f55d
Fix/re enable skipped functional tests (#41238)
* [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 11:58:49 +02:00
Lee Drengenberg
236bc83947
fix deleteAllVisualizations() (#41062) 2019-07-16 14:49:48 -05:00
Stacey Gammon
fbfee1e973
Stabilize createNewDashboard testfunction (#41008)
* This function will be flaky if the page is still loading and newItemButton does not exist but will soon.

* Skip only the other flaky test, this PR should fix the one
2019-07-15 17:38:04 -04:00
Dmitry Lemeshko
e9194d75ef
[services/web_element_wrapper] update clearValue function to fix Firefox tests (#41117)
* [services/web_element_wrapper] update clearValue function

* fix flaky test #40670
2019-07-15 22:50:13 +02:00
Michail Yasonik
8b6df179a5
Adds capability to show percentages for data table columns (#39572)
* Bring table vis params styles inline with others

* Add percentage column option to table vis

* fixup! Add percentage column option to table vis

* fixup! Add percentage column option to table vis
2019-07-15 13:01:18 -07:00
dave.snider@gmail.com
76fb809633 EUI 12.3.1 (#41061)
* eui 12.3.1

* add data logos

* Fix TS uses, one SCSS use of euiOverflowShadow

* fix overflow shadow mixin in sass

* homepage logos

* refix typo on homepage

* hp snaps
2019-07-15 12:11:37 -06:00
spalger
f0e7b9e5b9 skip flaky suite (#41088) (#41087) 2019-07-15 08:35:03 -07:00
spalger
bafc25b68b skip flaky test (#41050) 2019-07-13 14:04:14 -07:00
Dmitry Lemeshko
df9d8e6f5d
FTR: upgrade chromedriver to 75 (#40791)
* ftr: update services to support chromedriver 75

* [services/webdriver] add browser logging

* update comment for W3C scrolling bug
2019-07-12 19:49:51 +02:00
Stacey Gammon
66b99ecbed
Use embeddable v2 (#39126)
* 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 13:31:43 -04:00
Dmitry Lemeshko
9f9d0dcbb8
WebElementWrapper: Retry WebDriver atomic calls (#40423)
* [services/lib/web_element_wrapper] use Generics in replyCall

* [services/lib/web_element_wrapper] remove redundant return types

* [services/lib/web_element_wrapper/] set retryCall timeout to 200 ms

* [services/find] explcitly pass element to have locator===null by default

* use static method to create WebElementWrapper

* missed a couple uses

* move some values to constants

* remove some unnecessary type info
2019-07-12 13:47:26 +02:00
Spencer
3e1afa347b
[visualize] wait for save to complete before proceeding (#40916) 2019-07-12 05:32:46 -06:00
spalger
57e959ef0e skip flaky test (#40670) 2019-07-11 14:22:40 -07:00
spalger
3a13b7ce23 skip flaky test (#40458) 2019-07-11 13:33:31 -07:00
Peter Pisljar
b8709e1e86
unskipping interpreter functional tests (#40840) 2019-07-11 14:37:21 +02:00
Thomas Neirynck
6ae5b56df6
[Maps] show dialog to save map when leaving app (#40215) 2019-07-11 08:28:49 -04:00
Spencer
415e3bca27
[ts] upgrade to 3.5.3 (#40228)
* [ts] upgrade to 3.5.2

* [ts] run from cwd so that relative paths are correct

* move eslint-disable-line comment into jsx attribute

* autofix eslint violations

* avoid generic type, it's not necessary and problematic

* make elasticsearch.cluster optional, many instances don't have them

* remove invalid prop

* expand AllowUnknownProperties to cleanly handle arrays

* esfilter values can sometimes be an array of strings

* allow exception objects to have unknown properties

* define accumulator as a boolean

* fix return type

* return a 404 if beat isn't found after update

* use Object.values for better types

* define return type of get() call

* define value type for Set

* define return value of get()

* define State property type

* use less get(), so ts can infer types

* define Set item type

* map state type

* make default_operator optional, since it's not always defined

* remove seemingly unused prop

* define return type of get() fn

* define inner type for state

* don't define base types are objects with index signatues

* regenerate public api docs

* make indices privileges optional too

* remove unnecessary index-signature from Exception interface

* use variadic _arg instead

* [core/plugin] use Record<string, any> rather than {}

* replace a couple more instances of {}

* revert some unnecessary changes

* remove unused types

* [reporting] output, payload, and meta are required properties

* bump to latest patch version
2019-07-10 12:26:23 -07:00
Dmitry Lemeshko
e9f84ae83d
[ftr] replace getProperty with getAttribute (#40358)
* [ftr] replace getProperty with getAttribute

* fix failing tests

* [services/pipeline_editor] revert change
2019-07-04 21:18:14 +02:00
Spencer
a95ae8c037
[prettier] upgrade to 1.18.2 (#40229)
* [prettier] upgrade to 1.18.2

* autofix prettier violations
2019-07-03 12:36:44 -07:00
Spencer
868c7125c6
[ftr/common] remove defaultIndex check (#39714) 2019-07-02 14:47:08 -07:00
spalger
0f5bfc0fce disable fully skipped suite (#40173) 2019-07-02 12:22:18 -07:00
spalger
8a6ac547a8 disable flaky test (#40173) 2019-07-02 09:07:46 -07:00
Nathan Reese
251e164e89
[Maps] replace legacy map visualizations with maps in sample data dashboards (#35997)
* merge with master

* fix functional test expect

* set custom labels for term joins and geo grid aggregations for sample data maps
2019-07-02 09:53:32 -06:00
Spencer
a8fc3619ca
[ftr/browser] poll for logs and stream them (#40098) 2019-07-02 07:47:20 -07:00
Maryia Lapata
c0c905f886
[Vis Editor] EUIfication of agg-params directive (#39502)
* Create DefaultEditorAggParams

* Create state for aggPrams

* Add useEffect when params were updated

* Move angular logic to agg.js

* Validation with from

* Working validation

* Change error message

* Rename AggParamReactWrapper to DefaultEditorAggParam and move

* Move schema editor to agg.js

* Migrate orderAgg control

* Migrate sub_metric

* Migrate sub_agg control

* Remove config from props

* Remove agg_params.html

* Remove unused agg_select and styles

* Add TS for agg.params object

* Update functional tests

* Create useUnmount custom hook

* Move useUnmount effect to agg-params

* Rename func getFormTouched to isInvalidParamsTouched

* Remove extra setValidity call

* Move setTouched into useEffect in field.tsx

* Refactor isInvalidParamsTouched function

* Rename validity to valid

* Remove describeErrors() and inline error strings

* Replace Object.keys with Object.entries

* Fix interval for rollup date histogram

* Update parameters when aggType changed

* Remove unused safe_make_label

* Remove unused translations

* Skip failed mocha tests. They will be updated in a separate PR

* Include schema errors into validation flow
2019-07-02 12:53:09 +03:00
Vadim Dalecky
f18e7439d9
「AppArch」Interpreter 👉 New Platform (#39329)
* feat: 🎸 set-up NP data plugin

* refactor: 💡 move interpreter functions registry to NP

* refactor: 💡 move interpreter renderer registry to NP plugin

* refactor: 💡 move interpreter typesRegistry to NP

* refactor: 💡 move interpreter types to NP

* chore: 🤖 import typeRegistry from NP and change TS type folder

* refactor: 💡 move interpreter expression types to NP

* refactor: 💡 move rest of interpreter common folder to NP plugin

* fix: 🐛 fix TypeScript errors

* test: 💍 improve typings and test mocks

* refactor: 💡 make Interpreter internal registry impl private

* test: 💍 inline NP backdoor mock creation in test suites

* chore: 🤖 change @kbn/interpreter import paths to try fix errors

* fix: 🐛 improve core Plugin interfaces

* feat: 🎸 add stop() lifecycle to NP data plugins

* refactor: 💡 move interpreter into expressions service data NP

* refactor: 💡 inline Registry @kbn/interpreter class

* refactor: 💡 remove dependency on @kbn/interpreter in data pub

* refactor: 💡 move interpreter common dir into expressions dir

* fix: 🐛 use TS types in kibana_context

* feat: 🎸 add types suggested in PR review

* feat: 🎸 add semantic interpreter registration functions

* refactor: 💡 use require for all @kbn/interpreter imports

* test: 💍 add Karma test mocks, thx @spalger 🙏

* docs: ✏️ update Core docs

* test: 💍 add Sinon stubs for registries

* chore: 🤖 change import syntax in hopes CI will work

* chore: 🤖 set App Architecture as owners of data plugin

* docs: ✏️ add README

* chore: 🤖 change import in hopes to fix optimizer

* fix: 🐛 make stop() plugin life-cycle optional

* docs: ✏️ update Core API docs

* test: 💍 remove unnecessary Jest mock

* chore: 🤖 don't import from deeply inside a plugin

* refactor: 💡 try different interpreter import

* fix: 🐛 fix Karma mocking

* fix: 🐛 fix TypeScript type imports

* test: 💍 fix broken test
2019-07-02 09:07:07 +02:00
dave.snider@gmail.com
53273ecff4
EUI@12.2.0 (#40039)
* EUI@12.2.0

* update EuiFormRow to hold a single child, removes comments only
2019-07-01 13:33:22 -04:00
spalger
0922772b70 skip flaky test (#39927) 2019-06-28 15:46:43 -07:00
Stacey Gammon
698efe7566
More dashboard migrations (#39387)
* More dashboard migrations

* address review comments

* remove unused translations

* use logger instead of console

* remove need for lodash

* clean up translations

* Add ui metric tracking so we have a better idea whether being stricter with migrations will cause issues

* undo trackUiMetric... not available when migrations run
2019-06-28 13:59:02 -04:00
Peter Pisljar
444bafbe0e
updating metricvis interpreter func arguments (#34532) 2019-06-28 05:44:43 +02:00
Greg Thompson
c59875573e
Upgrade EUI to 12.1.0 (#39601)
* eui@12.1.0

* jest regenerator-runtime babel-polyfill

* TS Toast -> EuiGlobalToastListToast

* EuiBadge

* EuiCopy

* snapshot updates

* simplify toast interface usage

* misc review cleanup

* remove eui core-js resolution
2019-06-26 11:00:27 -05:00
Dmitry Lemeshko
3ded411527
Update functional tests to run faster and pass locally (#39557)
* [shakespeare] adjust verification to pass in both headless/head runs

* [services/visualizations/pie_chart] speedup tests with timeout decrease

* [services/dashboard/expectations] speedup tests with timeout decrease
2019-06-26 07:41:35 +03:00
Spencer
ec26ffbdd1
[percy] define snapshot width to match current client width (#39631) 2019-06-25 21:37:14 -07:00
Stacey Gammon
1bcf7ceb8e
Dashboard embeddable container plugin (#38974)
* Dashboard embeddable plugin

* comment out duplicate scss styles

* review: conform closer to NP standards

* export/import from index file in folder
2019-06-25 08:43:28 -04:00
Daniil Suleiman
d39c6b267d
[Vis: Default editor] Euificate schema editors (#39331)
* EUIficate schema editors

* Fix types

* Fix comments and functional tests

* Add percentage to a tooltip

* Remove extra ts-ignore
2019-06-25 12:12:02 +03:00
Nathan Reese
e779ae71be
[Maps] do not allow save when map has unsaved layer changes (#39529)
* [Maps] do not allow save when map has unsaved layer changes

* fix jest test

* refactor add layer panel functional tests
2019-06-24 19:39:03 -06:00
liza-mae
16b8f3bef7
Add rendering of canvas images and update percy agent package (#39456)
* Add rendering of canvas images and update percy agent package

* Spencer's fix for eslint issues

* restore canvas elements after taking snapshot

* copy over all styles from canvas to image stand-in

* percy snapshots only run in chrome, so they can use modern js features

* only run visual regression suites

* add stub maps test

* fix arg order

* use more modern syntax that totally works in chrome

* typo

* fix ftr test timeout when using --inspect-brk

* Revert "add stub maps test"

This reverts commit 32dc965adb.
2019-06-24 08:34:59 -06:00
Daniil Suleiman
3d4a3ce673
[Vis: Default editor] Euificate vis-editor-agg-add (#38898)
* Euificate vis-editor-agg-add

* Rebuild UI and fix functional tests

* Make all labels sentence case

* Disable schema instead of filter

* Calculate disabled only in open state
2019-06-21 16:01:22 +03:00
Court Ewing
2d171c92f5 Fix path references into and out of x-pack/legacy 2019-06-20 13:34:48 -04:00
Vadim Dalecky
071a52d4d4
No common registry implementation (#39168)
* refactor: 💡 use new Map() in Embeddables

* refactor: 💡 remove IndexPatternCreationConfigRegistry

* refactor: 💡 make indexPatternTypes registry semantic

* fix: 🐛 fix TypeScript errors
2019-06-19 22:21:15 +02:00
Matthias Wilhelm
99c1597e93
Fix broken "View single document" link of Discover using Elasticsearch 8.x (#39178)
* Remove type from ES request at doc view
- in ES 7.0 types were deprecated
- in ES 8.0 types were removed
Using ES 8.0 'View single document' of Discover didn't work

* Remove type from 'View single document' link

* Add functional test
2019-06-19 21:14:52 +02:00
Stacey Gammon
184111d971
Migrate old style queries stored in filters array (#38945)
* Migrate old query filters

* Null check instead of undefined for more completeness

* remove unnecessary undefined check

* Use good defaults, not undefined, for brand new dashboards.

* fix: typescript errors

* be explicit instead of matchinline snapshot.

* default to Kuery when there is no query given
2019-06-19 11:09:25 -04:00
Tim Roes
b550bfd810
Rename Visual Builder to TSVB (#39125)
* Rename Visual Builder to TSVB

* A, B, C, D, E, F, G ...
2019-06-18 13:30:11 +02:00
Rudolf Meijering
260d907f90
[Core] Move Saved objects files to core (#38771)
* Move src/legacy/server/saved_objects -> src/core/server/saved_objects

* Fix SavedObject import references after moving files to core

* First pass at SavedObjects api docs

* Expose and import all saved object types through core/server

* Don't expose SavedObjectsManagement from core and fix imports

* Improve typings for SavedObject error helpers

* Fix type errors after master merge

* Fix SavedObjectErrorHelpers tests
2019-06-18 13:10:23 +02:00
Dmitry Lemeshko
581755098a
[firefox] Run functional tests in dedicated CI groups (#38416)
* 2 jobs for Firefox tests

* review fixes

* make sh files executable

* add check reporter
2019-06-17 19:31:41 +03:00
Spencer
9c1bdb9298
[percy] only execute percy setup when necessary (#39043) 2019-06-16 07:23:36 -07:00
Greg Thompson
c22b706b25
Upgrade EUI to 11.3.2 (#38262)
* eui 11.3.1

* EuiSuperSelect TS updates

* EuiColorPicker updates

* EuiBadge updates

* a11y updates

* i18n service updates

* remove unused translations

* move valueOfSelected logic to private method

* update EuiColorPicker class name

* Updated canvas storyshots

* i18n fixes; maps color selection position

* i18n snapshot updates

* update canvas storyshots

* snapshot updates

* 11.3.2

* maps colorpicker

* space avatar colorpicker
2019-06-14 15:45:35 -05:00
liza-mae
0003a32f56
[WIP] FTR Percy changes (#36897)
* [ftr/percy] integrate percy with functional test runner

* execute ftr within `percy exec`

* share PERCY_BIN and GRUNT_BIN vars in setup

* [license] whitelist `(Unlicense OR Apache-2.0)`

* [percy] include pr/parallel info in env

* echo the actual variable value

* destructure required modules

* [ci] calculate percy env in a script

* remove outdated eslint overrides

* oops, nonce should be the same for each build

* take snapshots in context tests

* add percy snapshots to some dashboard tests

* account for extra execution of PERCY_BIN

* remove usage of percy service

* rename service to `visualTesting`

* write a simple test

* switch left-over percy test to visualTesting

* set log level for percy agent

* trigger ci

* try using the system chrome install instead of downloading one

* fix export definition

* Don't skip chromium download

* Add Spencer's fix to point to chrome installation

* Attempting to split tests into own ci job and test files

* Renumber job

* Add tag to decorations file

* Try new files with existing CI job

* Try again to create a new CI job

* Fix eslint problem with space

* eslint updates

* fix console test

* make test names unique

* Update ci group names

* Try old name again

* save

* add separate visual_regression ci job

* add visual regression ci job

* add new job to jobs.yml

* update path to take_percy_snapshot script

* use fixed percy job total

* fix common services import

* move visual_create_and_add_embeddables to visual_regression project

* finish moving create_and_add_embeddables

* add x-pack visual regression job

* migrate dashboard_snapshots tests to visual_regression

* remove references to removed test files

* restore some unnecessary changes

* reimplement the login page tests

* yarn.lock update

* fix test

* remove old CI_GROUP 100 block

* update failed_tests trap

* reduce yarn.lock changes

* disable debug logging

* disable visual-regression tests for now, we can enable them in specific prs
2019-06-14 10:35:23 -06:00
Tim Roes
5f3f1966cb
Rename Visual Builder to Timeseries (#38777) 2019-06-13 14:44:53 +02:00
Vitali Haradkou
a15b15aae3
[TSVB] [AT] time series formatter duration (#38256)
* Add new tests for the duration formatter
2019-06-13 15:31:26 +03:00
Maryia Lapata
386619e577
[Vis: Default editor] EUIficate Sub agg control (#37979)
* EUIficate metric agg control

* Fix translation errors

* Display agg error underneath the last bucket agg form control

* Update functional test

* Update error message

* Update parent_pipeline_agg_controller.js

* Fix validation when metricAgg is invalid

* Show error message when a filed is selected

* Delete _terms_helper.tsx

* Remove extra empty line

* Update parent_pipeline_agg_helper.js

* Update selector for test
2019-06-13 11:18:26 +03:00
Philipp B
722559129d
[Accessibility] A <label> for time bucket size selector on discover (#38396)
* Replace <span> with a <label for=''> used as a label for a dropdown <select>
* Change CSS selector for functional test
2019-06-12 21:46:10 +03:00
Vitali Haradkou
a7abe1999d
[TSVB] [AT] new markdown tests (#38545)
* perform new markdown tests
2019-06-12 14:25:36 +03:00
Matthias Wilhelm
a33201cf39
Support for date_nanos type timestamps in context view (#38023)
* Reenable context view for time_nanos based index patterns
2019-06-11 15:04:54 +02:00
Spencer
3bc5595ce3
[testFailureReporting] only run on master/version jobs (#38497) 2019-06-10 07:04:32 -07:00
Frank Hassanabad
fdd4621601
[SIEM] Add build step to find cyclic deps in SIEM project (#38329)
## Summary

* Adds a build step to find cyclic deps and error out in the SIEM project when found as part of a build step.

* Fixes typescript files that have cycles with their constants and types.

You run this like so:

```
cd kibana/x-pack/plugins/siem
node scripts/check_circular_deps.js
```

And get this message:
<img width="846" alt="Screen Shot 2019-06-07 at 11 22 24 AM" src="https://user-images.githubusercontent.com/1151048/59121970-b629f680-8916-11e9-8683-326a881c4725.png">

Or you will get an error with a listing of deps that need to be updated which have cycles in them.

### Checklist

Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.

~~- [ ] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)~~
~~- [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)~~
~~- [ ] [Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~~
- [x] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios

~~- [ ] This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~~

### For maintainers

~~- [ ] This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~
~~- [ ] This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~
2019-06-07 14:40:06 -06:00
Stacey Gammon
bd484391fc
Embeddable API V2 (#37510)
* Embeddable API plugin

* Expose new embeddableActions uiExport endpoint

* Add missing getInjectedUIAppVars to Server type

* Add jest tests

* Most basic skeleton of the sample plugin to see if it still kills ci

* strip even more out to see if it passes ci

* It passed, put back init fn

* add back in a uiExport to see if that is what is killing ci

* Passed again, add back embeddableActions uiExports and require kibana line

* Add everything back but the sass import

* Found two bugs with customize panel title action, added jest test coverage and fixes

* Functionally test embeddable explorer plugin

* Addressing review feedback part 1

* Simplify action context menu - remove support for nested actions/child panels, which was never exposed anyway.

* More review feedback

* Spread out orders to let developers inject their own actions in the middle.

* Remove check for overwriting ApplyFilterAction

* use createRegistry for EmbeddableFactoryRegistry

* Add comment for getInheritedInput

* Use kbn-es-query Filter types

* Fix missed file after createRegistry switch over for EmbeddableFactoryRegistry

* Use delete instead of setting to undefined

* upgrade EUI to match kibana version

* Add getIsContainer on base embeddable class

* Run functional tests of sample plugin

* move all tests classes outside __test__ and inside test_samples folder so not to potentially create issues with mocha

* fix: 🐛 remove unused imports

* fix: 🐛 set to undefined explicitly

* chore: refactored getRoot functionality

* fix: refactor miss from folder rename __test__ -> test_samples

* fix: add eui switch to let the user indicate “hide this title” to improve ux.

* fix: customize panel flout test

* Try to fix issue with multiple rxjs bundles I hit before.

See https://github.com/ReactiveX/rxjs/issues/3828

* Use an rxjs polyfill to work around the issue of multiple rxjs bundles

* chore: change customize panel flyout to modal post design feedback

* capitalize Reset

* fix: type errors in customize panel modal

* fix: remove extra line added to prevent EUICallout overflow from spilling over panel edges

The bug this was intended to fix doesn’t appear yet because dashboard isn’t using this, and it causes other issues, so for now, just remove.

* Clean up some classes and SASS

* Inline styles needed to get the containers to take up the full height of the app.

* Use the same old style of error messaging in panels

* chore: add untilEmbeddableLoaded tests, expose on interface, and use in embeddable_child_panel

* Remove unused styles, add padding

* Verify trigger Context containers an array of Filters for apply filter action

* Remove panel.embeddableId param, use panel.explicitInput.id instead

* Check `isCompatible` as well as the type guard needed for typescript.

* executeTriggerActions should account for getHref

* Remove unnecessary check for context being defined

* use npStart instead of getNewPlatform

* Conform to latest NP changes

* Use new np_mocks in all the tests

* Address review feedback on rxjs polyfill
2019-06-07 13:30:55 -04:00
Nathan Reese
8dbfbddb53
Fetch options for input control child select boxes (#38148) 2019-06-07 06:57:56 -06:00
Spencer
acba93a38c
[jest] don't be crazy, run with caching enabled (#38332) 2019-06-06 16:56:52 -07:00
spalger
c655a11ece [ci] disable firefox tests 2019-06-06 14:26:53 -07:00
Matthias Wilhelm
e11277fc89
Undo setting of $scope.refreshInterval at dashboard (#37175)
* Add test for passing on dashboard url params to timepicker values

* Revert unnecessary setting of $scope.refreshInterval

refreshInterval is set at $scope.model, no need to set it directly at $scope like in discover and vis
2019-06-06 19:33:03 +02:00
Josh Dover
02ff1adcbd
[new-platform] Simplify the frontend integration with the legacy platform (#37734) 2019-06-05 17:46:03 -05:00
Luke Elmers
1e016a62a9
Fix broken filtering on metric visualizations. (#38029) 2019-06-05 11:48:30 -06:00
Vitali Haradkou
a7dedb63d5
[TSVB] [AT] implement new test cases for time series formatter (#37506)
* implement new test cases for time series formatter
2019-06-05 18:13:04 +03:00
Dmitry Lemeshko
27e219e20b
functional tests/firefox wait for loading after page refresh (#38082) 2019-06-05 16:52:48 +02:00
Lee Drengenberg
e9938a54b1
Add 1/2 second sleep to fix test (#37903) 2019-06-04 11:16:52 -05:00
Chandler Prall
86fea48875
Upgrade EUI to 11.0.1; support dynamic import() calls in UI code + eui (#36316)
* Upgrade EUI to 11.0.1; support dynamic import() calls in UI code + eui

* update snaps

* Clicking on the svg itself once loaded

* updated snaps

* update icon in snapshots

* Fix snapshot
2019-06-03 12:01:01 -04:00
Dmitry Lemeshko
f82e92a077 FTR: add support for Firefox browser (#32509)
* skip and adjust functional tests for Firefox

* downgrade geckodriver to 0.22.0

* [ftr] add firefox specific config file

* remove hard coded firefox adjustments

* remove firefox specific screenshot directory

* run functional tests in firefox in x-pack

* pass the logger to readConfigFile()

* rename local var

* skip xpack firefox config

* run xpack firefox functional tests in separate command

* update report name for XPack firefox results

* adjust viz shared item test

* skip shared item test

* [test/feature_controls] increase timeout to 20 sec & use forceLogout

* FF timeout on TSVB, refresh page on failure for url navigation

* [feature_controls/visualize_security] increase timeout to 20 sec

* skip dev_tools_spaces tests on FF

* run all groups 3 times

* skip more func tests

* skip more tests

* skip all feature controls tests for Firefox

* revert back changes in feature controls tests

* rename xpack report for chrome

* skip tile map for FF, wait for render before saving

* Revert "run all groups 3 times"

This reverts commit 12b4f69627.

* revert refresh on login

* apply feedback
2019-05-31 15:49:18 -07:00
Maryia Lapata
64e36abef0
Import func tests "_metric_chart" to ciGroup10 (#36623)
* Add metric_chart tests to job and update them

* Revert removing file

* Remove obsolete test

* Move _metric_chart.js to ciGroup10
2019-05-31 14:03:29 +03:00
Vitali Haradkou
b969fbf3ca
revert missing test for TSVB Time Series (#37336) 2019-05-31 14:01:06 +03:00
Matthias Wilhelm
953930be49
Support Elasticsearch date_nanos datatype (#36111)
* Add date_nanos to date type in kibana field types
* date_nanos by default is formatted by "Date Nanos" format
* Format computed date_nanos field to strict_date_time to prevent rounding
* Hide Discover - "View surrounding documents" btn for date_nanos (will be subject of another PR)
* Append number of nano seconds to formatted timeField
* Add new key dateNanosFormat to UI setting defaults
2019-05-31 08:52:32 +02:00