Commit graph

392 commits

Author SHA1 Message Date
Dmitry Lemeshko
6672cf3054
Improve recently failed tests (#48389) (#48574)
* [apps/management] improve import objects tests

* [page_objects/dashboard_page] replace link navigation with direct url

* [dashboard/time_zones] reset date format via API

* update jest snapshot

* [management/_kibana_settings] reset date format via API

* revert changees to dashboard tests

* run ciGroup 7 & 8 15x times

* Revert "run ciGroup 7 & 8 15x times"

This reverts commit 8be64d52dc.
2019-10-17 22:12:50 +02:00
Dmitry Lemeshko
03fcbe1ab8
Fix several recently failed functional tests (#47976) (#48105)
* small tweaks to make tests more stable

* fix empty list check, update more tests

* fix
2019-10-14 17:48:33 +02:00
Matthias Wilhelm
f28b1db903
Fix visualize app chart type test (#48071) (#47807) 2019-10-14 11:11:18 +02:00
Matthias Wilhelm
eb13fa3691
Fix homepage app sample data dashboard test failures in cloud (#47737) (#47835)
* Improve launchSampleData of HomePageProvider for cloud testing

* Migrate to typescript
2019-10-10 18:16:39 +02:00
Matthias Wilhelm
de271780fc
[discover] fix shared links tests for cloud testing (#47572) (#47655)
* Add method to open permalinks menu entry if available

* Migrate to TypeScript
2019-10-09 10:02:41 +02:00
Dmitry Lemeshko
c4bace0f33
Fix tsvb chart test (#44657) (#46860)
* 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-28 09:06:01 +03:00
Dmitry Lemeshko
8c3988d47c
Fix/markdown functional tests (#46216) (#46263)
* [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-22 12:13:10 +03:00
Lee Drengenberg
1136d5eac2
use correct id in setting default index pattern in dashboard tests (#45601) (#46012)
* replace guid with logstash-* in data for default index pattern

* revert change to data archive, instead fix index pattern id
2019-09-18 18:30:11 -05:00
Dmitry Lemeshko
42357cf5b6
Fix/tsvb functional tests (#45868) (#46071)
* [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 22:49:47 +02:00
Dmitry Lemeshko
a4ab656449
Update chromedriver to 77 (#45614) (#46026)
* bump chromedriver to v77

* fix file import
2019-09-18 22:39:41 +02:00
Lee Drengenberg
5e38b2dfb6
correct path with this missing slash (#45666) (#45709) 2019-09-13 18:55:37 -05:00
Dmitry Lemeshko
583b568a2e
Change data-test-subj selector logic to support value with spaces (#43682) (#45506)
* update test-subj-selector

* update locators

* adjust whitespaces removal

* fix another locator

* fix ML test locators
2019-09-12 20:25:42 +02:00
Dmitry Lemeshko
c2aea564b7
FTR: fix WebDriver Actions calls (#44605) (#45000)
* [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 17:39:49 +02:00
Dmitry Lemeshko
a5a834a3d9
[visualize/_tsvb_time_series] fix flaky test (#44505) (#44971) 2019-09-06 12:56:02 +02:00
Dmitry Lemeshko
b31d1e1e29
functional tests for input control range (#42483) (#43685)
* [apps/visualize] functional tests for input control range

* update jest test to have 100% combined coverage with functional
2019-08-21 19:06:24 +02:00
Daniil Suleiman
39ca6bdb90
[Vis: Default editor] EUIficate region map options tab (#42944) (#43393)
* EUIficate region_map_options

* Reuse types

* Remove wms_options directive

* Remove style import

* Fix issue with join field default value

# Conflicts:
#	src/legacy/core_plugins/region_map/public/region_map_vis_params.html
2019-08-16 10:45:35 +03:00
Maryia Lapata
f5adc2c1eb
[Vis: Default editor] EUIficate Panel Setting tab (#42828) (#43277)
* 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-15 07:45:00 +03:00
Tim Roes
5f7b5940ef
fixes scaling logic to check agg type instead schema (#42574) (#42950)
* 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-09 09:41:28 +02:00
Dmitry Lemeshko
0e315ab053
FTR: fix testSubjects.missingOrFail (#42290) (#42321)
* [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 11:16:51 +02:00
Maryia Lapata
1fb0b65c7f
[Vis Editor] EUIfication of agg and agg-group directives (#40866) (#42126)
* 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 16:46:55 +03:00
Tim Roes
92d1e5f5df
GoodBye Notifier (#41663) (#42122)
* Begin notifier removal

* Remove remaining notifier traces

* Remove dead translations

* Remove Angular from config listener

* Import angular-sanitize explicitly in map
2019-07-29 14:32:36 +02:00
Dmitry Lemeshko
b5a389ac1f
Functional tests: make sure clicked dashboard is opened (#42006) (#42058)
* [page_objects/dashboard_page] make sure selected dashboard is opened
2019-07-26 16:20:58 +02:00
Luke Elmers
40c8f1bbc2
Ensure visualizations in percentage mode respect the advanced settings percent format (#39044) (#41855) 2019-07-24 08:19:56 -06:00
Liza Katz
8804085a9c
hide top nav menu in full screen mode of maps and dashboard (#41672) (#41731)
* 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 11:25:42 +03:00
Dmitry Lemeshko
b08c07456b
update dark mode tsvb test (#41618) (#41648) 2019-07-22 10:54:57 +02:00
Dmitry Lemeshko
a5c5901fd2
Fix/re enable skipped functional tests (#41238) (#41442)
* [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 14:29:14 +02:00
Lee Drengenberg
1f4353300c
fix deleteAllVisualizations() (#41062) (#41291) 2019-07-16 15:57:48 -05:00
Stacey Gammon
e526e0404f
Stabilize createNewDashboard testfunction (#41008) (#41199)
* 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-16 10:04:51 -04:00
Michail Yasonik
25d25ace42
[7.x] Adds capability to show percentages for data table columns (#41206)
* Bring table vis params styles inline with others

* Add percentage column option to table vis
2019-07-15 21:34:43 -07:00
Dmitry Lemeshko
f03f3dd51b
[services/web_element_wrapper] update clearValue function to fix Firefox tests (#41117) (#41189)
* [services/web_element_wrapper] update clearValue function

* fix flaky test #40670
2019-07-16 00:05:33 +02:00
Stacey Gammon
458de86dd8
Use embeddable v2 (#39126) (#41042)
* 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 16:28:29 -04:00
Spencer
f2295f85a7
[7.x] [visualize] wait for save to complete before proceeding… (#40971) 2019-07-12 07:32:57 -06:00
Thomas Neirynck
11d1bab138
[Maps] show dialog to save map when leaving app (#40215) (#40853) 2019-07-11 09:56:01 -04:00
Dmitry Lemeshko
4cb5d4de17
[ftr] replace getProperty with getAttribute (#40358) (#40383)
* [ftr] replace getProperty with getAttribute

* fix failing tests

* [services/pipeline_editor] revert change
2019-07-05 09:21:41 +02:00
Spencer
116a3f55be
[7.x] [ftr/common] remove defaultIndex check (#39714) (#40218) 2019-07-03 11:07:18 -07:00
Maryia Lapata
557a2552ab
[7.x] [Vis Editor] EUIfication of agg-params directive (#39502) (#40127)
* [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

* chore(NA): move json type definitions to x-pack root  type definitions (#37249) (#40111)

* [7.x] Feature Controls - only navigate to index pattern management i… (#40067) (#40125)

* Feature Controls - only navigate to index pattern management i… (#40067)

* only navigate to index pattern management if available

* fix tests entry template

* don't resolve capabilities until absolutely necessary

* remove unused translations

* Remove unused translations (#40131)

* [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 16:29:00 +03:00
Daniil Suleiman
4e0a2f4691
[Vis: Default editor] Euificate schema editors (#39331) (#39564)
* EUIficate schema editors

* Fix types

* Fix comments and functional tests

* Add percentage to a tooltip

* Remove extra ts-ignore
2019-06-25 13:44:41 +03:00
Nathan Reese
11a32ae452
[Maps] do not allow save when map has unsaved layer changes (#39529) (#39550)
* [Maps] do not allow save when map has unsaved layer changes

* fix jest test

* refactor add layer panel functional tests
2019-06-24 21:48:49 -06:00
Daniil Suleiman
55cb2cf5d7
[Vis: Default editor] Euificate vis-editor-agg-add (#38898) (#39434)
* 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

# Conflicts:
#	x-pack/legacy/plugins/translations/translations/zh-CN.json
2019-06-21 17:32:50 +03:00
Vitali Haradkou
1a4040b86f
[TSVB] [AT] time series formatter duration (#38256) (#38878)
* Add new tests for the duration formatter
2019-06-14 00:30:28 +03:00
Maryia Lapata
2cfca17418
[7.x] [Vis: Default editor] EUIficate Sub agg control (#37979) (#38866)
* [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

* Remove unused translation
2019-06-13 13:42:12 +03:00
Philipp B
fe4b0b9856
[Accessibility] A <label> for time bucket size selector on discover (#38396) (#38819)
* Replace <span> with a <label for=''> used as a label for a dropdown <select>
* Change CSS selector for functional test
2019-06-12 22:49:18 +03:00
Vitali Haradkou
3980dd3809
[TSVB] [AT] new markdown tests (#38545) (#38775)
* perform new markdown tests
2019-06-12 16:48:15 +03:00
Vitali Haradkou
b6ae2f7a34
[TSVB] [AT] implement new test cases for time series formatter (#37506) (#38124)
* implement new test cases for time series formatter
2019-06-06 10:59:59 +03:00
Luke Elmers
565dfd455a
Fix broken filtering on metric visualizations. (#38029) (#38143) 2019-06-05 16:09:33 -06:00
Josh Dover
5c4e18778f
[7.x] Add addError function to toastNotifications (#32187) (#37739) 2019-06-03 17:06:47 -05:00
Spencer
7aea62aa61
[7.x] FTR: add support for Firefox browser (#32509) (#37750)
* 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 17:18:31 -07:00
Justin Kambic
1212057345
Add a function to the time picker page object to set a commonly-used timespan option. (#37374) (#37503) 2019-05-31 12:07:36 -04:00
Maryia Lapata
24da45d5b1
Import func tests "_metric_chart" to ciGroup10 (#36623) (#37639)
* Add metric_chart tests to job and update them

* Revert removing file

* Remove obsolete test

* Move _metric_chart.js to ciGroup10
2019-05-31 15:17:40 +03:00
Maryia Lapata
8791531896
[Vis: Default editor] EUIficate order_agg param editor (#36984) (#37330)
* EUIficate order_agg param editor

* Update browser tests

* Add types

* Update enzyme version in x-pack

* Fix functional tests

* Changes due to comments

* Update_terms_helper.tsx

Co-Authored-By: Maryia Lapata <mary.lopato@gmail.com>

* Fix code review comments

* Update yarn.lock
2019-05-29 17:09:45 +03:00