Commit graph

34 commits

Author SHA1 Message Date
Bhavya RM
a433b647e4
Fixing upgrade dashboard smoke test render error (#147037) 2022-12-05 14:55:34 -05:00
Lee Drengenberg
73cf0a2ac6
[upgrade] change OK to Succeeded in rules test (#145770)
## Summary

Rule "Last response" changed from OK to Succeeded. See
https://github.com/elastic/kibana/issues/136039
2022-11-18 17:28:53 -06:00
Bhavya RM
fdfeda4192
Fix time for logs smoke tests in integration test (#145130) 2022-11-14 15:49:47 -05:00
Lee Drengenberg
e17aa78872
alternative path for upgrade reporting test for headless browser (#143994)
* alternative path for headless browser

* added timing debug output

* fix type error

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-11-01 13:20:49 -05:00
Lee Drengenberg
1cd4c4892d
refactor getHitCount, use Last_1 year (#143912)
* refactor getHitCount, use Last_1 year

* revert change to heartbeat test
2022-10-25 09:37:06 -05:00
liza-mae
825f61bb25
[upgrade] Fix dashboard smoke test (#143110)
* [upgrade] Fix dashboard smoke test

* Update version check

* Set timepicker to last year

* Fix time

* Revert back time

* Try year time span again
2022-10-13 11:18:16 -06:00
Nathan Reese
999bc84c81
[Sample data] replace legacy control visualizations with dashboard controls (#141824)
* [Sample data] replace legacy control visualizations with dashboard controls

* i18n wrappings for title and description

* update screen shots

* fix functional tests

* update functional test expects

* more functional test expect updates

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-03 20:06:05 -06:00
liza-mae
99695135d9
[Upgrade] Fixes cloud upgrade test failures for 8.x (#138684)
* Update discover and canvas tests

* Add length

* Update rule name to have no spaces

* Fix calling function

* Try to close tooltip

* Fix rules spinner

* Move toggleLayerVisibility to gis_page

* Add wait for layers to load

* Remove unused declaration

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-18 06:58:41 -06:00
liza-mae
2dfc992191
Update when to run graph tests (#137993)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-09 11:58:35 -06:00
liza-mae
d862f6feeb
Add upgrade rule smoke tests (#136048)
* Add upgrade rule smoke tests

* Add version check

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-20 11:55:22 -06:00
Nathan Reese
d351c92b1a
[Maps] change EMS tile layer display name to 'Basemap' (#136393)
* [Maps] change EMS basemap display name to 'Basemap'

* add tooltip content

* revert getLayerTypeIconName deletion

* change i18n tag

* rename

* eslint

* fix functional tests

* Update x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.tsx

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-07-14 12:57:58 -06:00
liza-mae
ac5d00381c
[Upgrade] Fix tests for 8.3 snapshots (#132374)
* Update canvas url check and widen maps pixel diff

* Move maps screenshots to upgrade dir and update paths/names

* Hide map tooltip if exists

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-31 11:48:23 -06:00
Stratoula Kalafateli
c05f891793
[Pie] Run all functional tests for the new implementation (#131700)
* [Pie] Run all functional tests for the new implementation

* Fix CI

* Fix tests

* More fixes

* More test foxes

* Fix a11y tests

* Further fies

* Fix

* Further fixes

* Final fixes

* Fix more pie related tests

* Fixes more fixes

* Fix dashboard tests

* Fix dashboard filtering test

* Fix the reporting tests

* BWC tests
2022-05-11 17:31:15 +03:00
Julia Rechkunova
58bc0f759e
[Discover] Provide direct link from sample data UI to Discover (#130108)
* [Discover] Allow to view sample data in Discover

* [Discover] Update deps format

* [Discover] Define order of items in the context menu

* [Discover] Update for tests

* [Discover] Add upgrade tests

* [Discover] Add a test for ordering appLinks

* [Discover] Use existing helpers

* [Discover] Add 7 days time range to Discover link

* [Discover] Rename the helper

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-05 11:34:43 +02:00
Spencer
542b381fa5
[ftr] automatically determine config run order (#130983)
* [ftr] automatically determine config run order

* split lens config into two groups

* support ftr configs always running against CI

* Split detection_engine_api_integration rule exception list tests

* Add configs from previous commit

* [ftr] remove testMetadata and maintain a unique lifecycle instance per run

* Revert "[ftr] remove testMetadata and maintain a unique lifecycle instance per run"

This reverts commit d2b4fdb824.

* Split alerting_api_integration/security_and_spaces tests

* Add groups to yaml

* Revert "Revert "[ftr] remove testMetadata and maintain a unique lifecycle instance per run""

This reverts commit 56232eea68.

* stop ES more forcefully and fix timeout

* only cleanup lifecycle phases when the cleanup is totally complete

* only use kill when cleaning up an esTestInstance

* fix broken import

* fix runOptions.alwaysUseSource implementation

* fix config access

* fix x-pack/ccs config

* fix ml import file paths

* update kibana build id

* revert array.concat() change

* fix baseConfig usage

* fix pie chart data

* split up maps tests

* pull in all of group5 so that es archives are loaded correctly

* add to ftr configs.yml

* fix pie chart data without breaking legacy version

* fix more pie_chart stuff in new vis lib

* restore normal PR tasks

* bump kibana-buildkite-library

* remove ciGroup validation

* remove the script which is no longer called from checks.sh

* [CI] Auto-commit changed files from 'yarn kbn run build -i @kbn/pm'

* adapt flaky test runner scripts to handle ftrConfig paths

* fix types in alerting_api_integration

* improve flaky config parsing and use non-local var name for passing explicit configs to ftr_configs.sh

* Split xpack dashboard tests

* Add configs

* [flaky] remove key from ftr-config steps

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* restore cypress builds

* remove ciGroups from FTR config files

* fixup some docs

* add temporary script to hunt for FTR config files

* use config.base.js naming for clarity

* use script to power ftr_configs.yml

* remove usage of removed x-pack/scripts/functional_tests

* fix test names in dashboard snapshots

* bump kibana-buildkite-library

* Try retrying only failed configs

* be a little quieter about trying to get testStats from configs with testRunners defined

* Remove test code

* bump kibana-buildkite-library

* update es_snapshot and on_merge jobs too

* track duration and exit code for each config and print it at the end of the script

* store results in order, rather than by key, in case there are duplicates in $config

* bash is hard

* fix env source and use +e rather than disabling e for whole file

* bash sucks

* print config summary in jest jobs too

* define results in jest_parallel.sh

* simplify config summary print, format times a little better

* fix reference to unbound time variable, use better variable name

* skip the newline between each result

* finish with the nitpicking

* sync changes with ftr_configs.sh

* refuse to execute config files which aren't listed in the .buildkite/ftr_configs.yml

* fix config.edge.js base config import paths

* fix some readmes

* resolve paths from ftr_configs manifest

* fix readConfigFile tests

* just allow __fixtures__ configs

* list a few more cypress config files

* install the main branch of kibana-buildkite-library

* split up lens group1

* move ml data_visualizer tests to their own config

* fix import paths

* fix more imports

* install specific commit of buildkite-pipeline-library

* sort configs in ftr_configs.yml

* bump kibana-buildkite-library

* remove temporary script

* fix env var for limiting config types

* Update docs/developer/contributing/development-functional-tests.asciidoc

Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>

* produce a JUnit report for saved objects field count

* apply standard concurrency limits from flaky test runner

* support customizing FTR concurrency via the env

Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2022-05-04 17:05:58 -05:00
liza-mae
26217f3a7a
Upgrade patch reporting issue, add more tests, reorganize files (#130839)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-26 11:52:36 -06:00
spalger
3730dd0779 fix all violations 2022-04-16 01:37:30 -05:00
liza-mae
0e490e76b8
Launch sample data from home (#129146)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-04 11:38:36 -06:00
liza-mae
8eadbc655d
Fix upgrade maps smoke tests (#128696)
* Fix upgrade maps smoke tests

* Review updates

* Update maps services name to be more specific

* Rename maps_services file
2022-03-30 09:53:31 -06:00
liza-mae
1054570cce
Update reporting timeout (#128536) 2022-03-24 15:41:35 -06:00
Spencer
a28b25a9b9
[reporting/upgrade/tests] rewrite waitForJobToFinish to handle errors (#128309) 2022-03-22 14:55:37 -07:00
liza-mae
c4ce95e292
Workaround for reporting url too long (#126552)
* Workaround for reporting url too long

* Use quick save
2022-03-01 13:50:56 -07:00
liza-mae
b2cc0b347c
Fix dashboard and maps test (#119880) 2021-11-29 13:46:03 -07:00
liza-mae
fd81bf58fc
Fix upgrade tests for maps and dashboards (#119046) 2021-11-18 15:54:18 -07:00
Nathan Reese
3b3c4b2f4a
[maps] Use desaturated map tiles instead of bright map tiles by default (#116179)
* [maps] default to desaturated tiles in light mode

* fix jest and functional tests

* eslint

* update migrations version expect

* review feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-27 06:34:07 -06:00
Stratoula Kalafateli
6f4d8a52dc
[Vislib] Removes old implementation of xy chart (#110786)
* [Vislib] Remove xy chart

* Update i18n

* Remove uncecessary file

* Fix types

* More fixes

* Fix functional tests part 1

* Fix functional tests part 2

* Fix bug with shard-delay

* Fix functional tests part 3

* fix functional tests part4

* Fix async_serch FT

* Fix functional dashboard async test

* REplace screenshot area chart image

* Cleanup vislib from xy charts

* Remove unused fixtures

* Address PR comments

* Remove miaou :D

* Address PR comments

* Fix i18n

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-08 18:35:51 +03:00
Nathan Reese
daf860c701
[sample data] update web log geo.src field to match country code of geo.coordinates (#110885)
* [sample data] update web log geo.src field to match country code of geo.coordinates

* fix functional tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-07 10:40:46 -06:00
liza-mae
7cc59d7f6a
Fix maps upgrade test (#109088)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-19 09:00:42 -06:00
Wylie Conlon
8ad443aa6c
[Sample data] Use Lens in flights dashboard (#104780)
* [Sample data] Use Lens in flights sample data

* Fix test issues

* Fix functional tests

* Fix a11y test names

* Fix tests again

* Fix test

* Update from comments

* Fix sizing from feedback

* Fix typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-16 12:01:05 -04:00
liza-mae
bb1759e065
Fix upgrade tests for 7.14 (#104993)
* Fix upgrade tests for 7.14

* Fix lint issues

* Comment out unused const

* Update uiSettings for non-default space

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 11:29:37 -06:00
liza-mae
c28b5496a6
Upgrade functional test fixes (#100306)
* Upgrade functional test fixes

* Fix lint issues
2021-05-19 13:08:41 -06:00
Spencer
808b44f2c1
[kbn/test] move types/ftr into src (#99555)
* [kbn/test] move types/ftr into src

* Apply eslint updates

* fix import of Lifecycle type

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-17 09:51:53 -07:00
liza-mae
b7d8ada65a
Fix reporting test (#95586) 2021-03-26 16:33:29 -06:00
liza-mae
27f2c75921
Upgrade smoke tests (#92893)
* Upgrade smoke tests

* Fix lint issues

* Remove duplicate line

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-04 20:22:20 -07:00