Commit graph

1898 commits

Author SHA1 Message Date
Matthias Wilhelm 45ec64f99e
[Discover][Context] Add functional test, convert to TypeScript (#108481) 2021-08-16 11:39:20 +02:00
Sébastien Loix b24d44d165
[Index pattern field editor] Add preview for runtime fields (#100198) 2021-08-13 18:27:23 -04:00
Rashmi Kulkarni 320fc8b650
test user with specific roles and permissions- for create index pattern wizard test (#107984)
* test user with specific roles and permissions

* added SO method logging, added test data stream to the role and modified createindexpattern function

* removed unused method added in settings page

* removed unused index name- logs-*

* remove unused function from settings page

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-12 10:15:06 -07:00
Dominique Clarke 1649661ffd
[Observability][Exploratory View] revert exploratory view multi-series (#107647)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-10 11:52:49 -04:00
Dmitry Tomashevich 328c36dedc
[Discover] Deangularize classic table (#104361)
* [Discover] move angular directives to react compoenents

* [Discover] add support of infiniteScroll

* [Discover] support paginated classic table

* [Discover] refactor docTable component, remove redundant angular code

* [Discover] remove redundant files

* [Discover] fix some functional tests and pgination

* [Discover] fix functionals

* [Discover] code refactoring, adding tests

* [Discover] update tests

* [Discover] fix embeddable view of doc table

* [Discover] update pagination view

* [Discover] remove unused translations

* [Discover] improve readability, fix pagination

* [Discover] adjust isFilterable check

* [Discover] improve doc viewer table row display

* [Discover] clean up implementation, fix functional test

* [Discover] fix skip button

* [Discover] update test snapshot

* [Discover] update test

* [Discover] simplify pagination, update layout in embeddable

* [Discover] fix functional, remove redundant i18n translations

* [Discover] return indexPatternField

* [Discover] add support of fixed footer for embeddable

* [Discover] move doc_table to apps/components folder, update test

* [Discover] fix imports

* [Discover] update imports, beautify code

* Update src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx

Co-authored-by: Tim Roes <mail@timroes.de>

* [Discover] remove redundant styles

* [Discover] fix lining

* [Discover] fix discover grid embeddable

* [Discover] fix by comments

* [Discover] return extraWidth, describe the problem

* [Discover] fix unresolved conflicts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tim Roes <mail@timroes.de>
2021-08-10 18:21:08 +03:00
Anton Dosov 6450df1885
[FieldFormats] Add editors tests (#107770) 2021-08-10 09:44:24 -04:00
Liza Katz 8d90df3bca
filter FilterBar suggestions by time (according to flag) (#107192)
* filter filter bar suggestions by time (according to flag)
add api integration tests for autocomplete apis

* test fix: setDefaultAbsoluteRange

* timeRangeForSuggestionsOverride

* revert

* tests

* doc

* set time range

* Added tests following code review

* eslint

* fun-ctional tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-09 15:58:27 +02:00
Tiago Costa 854faa4bb7
skip flaky suite (#107831) 2021-08-09 12:55:49 +01:00
Matthew Kime d44df74598
[index patterns] index pattern create modal (#101853)
index pattern creation flyout
2021-08-05 22:58:57 -05:00
Anton Dosov af3a976e17
[FieldFormats] Break from data plugin (#107173) 2021-08-05 16:25:22 +02:00
Anton Dosov 9d42d670e1
[FieldFormats] Unskip url field formatter test (#107651) 2021-08-05 10:28:11 +02:00
Alexey Antonov f62a0a1f76
[Lens] Synchronize cursor position for X-axis across all Lens visualizations in a dashboard (#106845)
* [Lens] Synchronize cursor position for X-axis across all Lens visualizations in a dashboard

Closes: #77530

* add mocks for active_cursor service

* fix jest tests

* fix jest tests

* apply PR comments

* fix cursor style

* update heatmap, jest

* add tests

* fix wrong import

* replace cursor for timelion

* update tsvb_dashboard baseline

* fix CI

* update baseline

* Update active_cursor_utils.ts

* add debounce

* remove cursor from heatmap and pie

* add tests for debounce

* return theme order back

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-04 22:20:03 +03:00
Diana Derevyankina 2605bd81cf
[Timelion Viz] Add functional tests (#107287)
* First draft migrate timelion to elastic-charts

* Some refactoring. Added brush event.

* Added title. Some refactoring

* Fixed some type problems. Added logic for yaxes function

* Fixed some types, added missing functionality for yaxes

* Fixed some types, added missing functionality for stack property

* Fixed unit test

* Removed unneeded code

* Some refactoring

* Some refactoring

* Fixed some remarks.

* Fixed some styles

* Added themes. Removed unneeded styles in BarSeries

* removed unneeded code.

* Fixed some comments

* Fixed vertical cursor across Timelion visualizations of a dashboad

* Fix some problems with styles

* Use RxJS instead of jQuery

* Remove unneeded code

* Fixed some problems

* Fixed unit test

* Fix CI

* Fix eslint

* Fix some gaps

* Fix legend columns

* Some fixes

* add 2 versions of Timeline app

* fix CI

* cleanup code

* fix CI

* fix legend position

* fix some cases

* fix some cases

* remove extra casting

* cleanup code

* fix issue with static

* fix header formatter

* fix points

* fix ts error

* Fix yaxis behavior

* Fix some case with yaxis

* Add deprecation message and update asciidoc

* Fix title

* some text improvements

* [Timelion Viz] Add functional tests

* Add more complex cases for _timelion

* Update test expected data

Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-08-04 21:56:46 +03:00
Tyler Smalley 7415b7a797 skip flaky suite (#107057) 2021-08-04 06:44:55 -07:00
Matthias Wilhelm 47f5f81765
[Discover][Main] Split single query into 2 queries for faster results (#104818)
Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-08-02 15:07:58 +02:00
Matthias Wilhelm d4a225cb2c
[Discover] Improve functional saved query test to prevent flakiness (#107204) 2021-08-02 13:40:22 +02:00
Matthias Wilhelm 33bc6f1d37
[Discover] Improve functional testing searchOnPageLoad (#107181) 2021-08-02 09:46:19 +02:00
Stratoula Kalafateli a6c43b7c21
[Viz listing] Unskip and stabilize the tests (#106830)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-29 11:47:32 +03:00
Wylie Conlon ce89235713
[Sample data] Use Lens in Logs sample data (#106486)
* [Sample data] Use Lens in Logs sample data

* Fix accidental inclusions and add new images

* Fix test

* link proper ID

* changing the copy for 400s and 500s

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
2021-07-29 07:58:54 +02:00
Tiago Costa b84362efbe
skip flaky suite (#103389) 2021-07-28 14:54:38 +01:00
Tiago Costa 7f810cd472
skip flaky suite (#100437) 2021-07-28 12:28:41 +01:00
Stratoula Kalafateli 581d2e87c4
[Timelion app] Stabilize the flakiness in cloud (#106826) 2021-07-28 09:06:44 +03:00
Lukas Olson 196eb7b6a9
[data.search.autocomplete] Move autocomplete method to UI settings (#106331)
* [data.search.autocomplete] Move autocomplete method to UI settings

* Use select rather than boolean

* Add ftue tour

* Make a select rather than text box

* Only show when focused and first time page is loaded

* Add docs link

* Reverse order of sections

* Update docs/concepts/index.asciidoc

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

* Update docs/concepts/index.asciidoc

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

* Docs updates

* setting

* telemetry

* Add links to docs

* Fix translations

* Fix failing test

* Fix test

* Fix tests

* Revert changes to querybar service

* Fix discover query

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
2021-07-27 20:57:12 -07:00
Stratoula Kalafateli 12c8d2dfcb
[TSVB] Fixes firefox flakiness on index pattern mode functional test (#106825) 2021-07-27 16:51:05 +03:00
Diana Derevyankina fa7fd32e24
[TSVB] Add more functional tests for Timeseries (#106100)
* [TSVB] Add more functional tests for Timeseries

* Fix failing test for timeseries

* Refactor visual_builder_page and _tsvb_time_series

* Add getChartItems to visual_builder_page

* Remove generic from getChartItems function
2021-07-27 09:51:11 +03:00
Nicolas Chaulet 8924ff3219
[Fleet] Replace hash router by router with scoped history (#106267) 2021-07-26 07:50:29 -04:00
Dmitry Tomashevich 484998c0e8
[Discover] Replace font awesome icons with Eui (#103503)
* [Discover] replace font awesome icons with eui

* [Discover] fix eslint

* [Discover] fix tests, update icon styles

* [Discover] fix eslint

* [Discover] fix functional related to awe icons

* [Discover] add empty line for scss file

* [Discover] fix eslint

* [Discover] simplify testSubjects

* Update src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.tsx

Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>

* Update src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.tsx

Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>

* [Discover] fix icons appearing problem

* [Discover] update test

* [Discover] remove redundant styles

* [Discover] update test snapshot

* Update src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header_column.tsx

Co-authored-by: Tim Roes <mail@timroes.de>

* [Discover] change tool bar text size

* [Discover] update test

* [Discover] replace button with EuiButton

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: Tim Roes <mail@timroes.de>
2021-07-22 12:09:28 +03:00
Shahzad 48e6195dc1
[Exploratory View] Multi Series View (#103855)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
2021-07-22 10:14:43 +02:00
Devon Thomson 5411652aff
[Dashboard] Index Pattern Observable Error Handling (#106155)
* add error handling to dashboard index pattern observable to prevent issues when embeddables do not load
2021-07-21 14:50:02 -03:00
Tyler Smalley 8460035eca [FTR] Skips Vega tests
Vega is using the deprecated date histogram interval, which is failing the ES promotion.

Skipping the tests for now to unblock the snapshot promotion and the team can work to resolve the usage.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-07-21 07:43:49 -07:00
Wylie Conlon 482d3c71d1
[Sample data] Use Lens in ecommerce data (#106039)
* [Sample data] Use Lens in ecommerce data

* Fix tests

* Update from comments
2021-07-21 10:31:23 -04:00
Diana Derevyankina 2e0fddad45
[TSVB] Add more functional tests for Gauge and TopN (#105361)
* [TSVB] Add more functional tests for Gauge and TopN

* Update visual_builder_page.ts

* Update functions related to gauge color and filter ratio numerator in visual_builder_page

* Update visual_builder_page and add some more test subjects

* Update _tsvb_chart.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-21 15:59:34 +03:00
Alexey Antonov b58054cf26
[TSVB] fix No longer possible to define intervals like >=1m or >=12h (#105954)
* [TSVB] fix No longer possible to define intervals like >=1m or >=12h

Closes: #105854

* add tests, remove extra logic

* add functional test, update help text

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-20 09:20:04 -04:00
Diana Derevyankina ca87cd7a73
[TSVB] Add more functional tests for Table (#105060)
* [TSVB] Add more functional tests for Table

* Update filter ratio setting numerator denominator function

* Refactor set filter ratio numerator and denominator functions in visual_builder_page.ts

* Update setFilterRatioOption function
2021-07-20 16:13:18 +03:00
Stratoula Kalafateli 8b2ceaed44
[Vislib XY axis] Adds a deprecation notice in the UI and a docs section (#105055)
* [Vislib XY axis] Adds a deprecation notice in the UI and a docs section

* Remove cyclic dependency

* Fix link

* Add functional test

* fix functional tests

* Apply PR comments

* Update docs/user/dashboard/aggregation-based.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Apply PR changes

* minor

* Change the implementation

* Use title calse in Advanced Settings

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-07-20 13:33:10 +03:00
Jean-Louis Leysens 2fb1a47137
[Reporting] Unskip flaky test when downloading CSV with "no data" (#105252)
* unskipped test and added additional checks when using time picker

* rather wait for the timepicker to close

* set up test for flaky test runner

* Additional .only

* Remove .only

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-20 10:30:54 +02:00
Tiago Costa 591c11988d
skip flaky suite (#106121) 2021-07-20 00:09:05 +01:00
Stratoula Kalafateli 54717eb178
[TSVB] Refactor the index pattern mode functional test (#105725)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-19 11:31:00 +03: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
Devon Thomson da42524e51
Unskip Dashboard Listing Test (#105668)
* unskipped test due to successful flaky test runner
2021-07-15 11:54:07 -04:00
Tyler Smalley 50a8a28974
[test] Reverts tests skipped to promote snapshot (#104571)
* temp use unverified snapshot

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Revert "skip failing es promotion suite (#104469)"

This reverts commit 87971e74e1.

* Revert "skip failing es promotion suite (#104467)"

This reverts commit c72ad3edcb.

* Revert "skip failing es promotion suite (#104466)"

This reverts commit a0b36c75f5.

* Revert "skip failing es promotion suite (#104413)"

This reverts commit 9773e3f678.

* Revert "skip failing es promotion suite (#104409)"

This reverts commit 79608dcc9e.

* Revert "skip failing es promotion suite (#104366)"

This reverts commit dfc5dbb31b.

* Revert "skip failing es promotion suite (#104365)"

This reverts commit 269577703a.

* Revert "skip failing es promotion suite (#104364)"

This reverts commit 16f69d24b6.

* Revert "skip failing es promotion suite (#104362)"

This reverts commit 2e492c2083.

* Revert another commit to promote ES snapshot

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 17:13:51 +01:00
Matthias Wilhelm 1fe4135ab6
[Discover][Main] Fix missing error message when building search query throws exceptions (#103923)
* Fix missing error message when building search fails

* Fix test

* Update _date_nested.ts

* Lint config.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-14 12:18:21 +02:00
Diana Derevyankina 87066e06b3
[TSVB] Top_hit supports runtime fields (#103401)
* [TSVB] Refactor top-hit aggregation to work with fields instead of _source

* Allow select date strings for top_hit aggregation in table, metric, and markdown

* Fix agg_with handling for top_hit and add some tests

* Refactor get_agg_value and fix type check for _tsvb_chart

* Refactor top_hit.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-12 17:25:52 +03:00
spalger d776c0940e skip all discover functional tests to unblock es promotion (#104466) 2021-07-09 18:01:11 -07:00
spalger b40fc09dfc skip another suite blocking es promotion (#104466) 2021-07-09 16:40:13 -07:00
spalger ce48b73dc8 skip suites failing es promotion (#104466) 2021-07-09 13:59:56 -07:00
Alexey Antonov ef991b7c2b
[TSVB] fix include/exclude fields appear to migrated TSVB visualization when using Group by Terms (#104848)
* [TSVB] Include/exclude fields appear to migrated TSVB visualization when using Group by Terms

Closes: #104829

* add functional test

* fix JEST
2021-07-09 09:53:48 -04:00
Alexey Antonov 4806cf3fd6
[TSVB] Table view - fix display of item urls (#105051) 2021-07-09 09:46:56 -04:00
Matthias Wilhelm b589fe5bd2
[Discover] Fix multiline display in classic table (#103499)
* Restore CSS that broke multiline display

* Add functional test
2021-07-08 10:49:51 +02:00
Tiago Costa c72ad3edcb
skip failing es promotion suite (#104467) 2021-07-06 15:34:40 +01:00