* adapt ES queries to updated document structure
* lint
* Revert "lint"
This reverts commit 2ad61e406c.
* Revert "adapt ES queries to updated document structure"
This reverts commit 25d4357dd2.
* fix cluster state property accesses
* only query index_recovery with ecs compliant indices
* lint
* setup/teardown to support datastreams
* lint
* update _mb archived data to target .monitoring index
* load archive with useCreate for datastream compatibility
* Revert "update _mb archived data to target .monitoring index"
This reverts commit 7bad361fd1.
* ignore non-elasticsearch archived documents
* Revert "ignore non-elasticsearch archived documents"
This reverts commit 26daeb7066.
* use correct index for archived documents
* add datastream lifecycle helper for api-integration tests
* use datastream lifecycle methods
* transform ccr_mb archive
* clean up datastreams
* lint
* load _mb data
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kevin Lacabane <klacabane@gmail.com>
* Added special case to panel comparison.
* Fixed panel title behaviour when linking/unlinking to/from the library.
* Added panel title test suite.
* Made the injection of the 'savedSearchId' key conditional on if it is defined when unlinking.
* Adjusted use of 'setValue()' based on feedback from @dmlemeshko
* Refractor test suite.
* Improved code for removal of title on library link.
# Conflicts:
# src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx
This PR utilizes the functional test runner to walk through the UI and take a couple screenshots for use in the documentation.
Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
* fixing the skipped tests in layers_errors file, correcting the error message
* cleanup
* added a comment for the skipped test
* review comments incorporated
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Rashmi Kulkarni <rashmi.kulkarni@elastic.co>
The smoke tag is used in package testing to test kibana and associated
binaries. Reporting spawns a chromium process, so it's a good candidate
for package testing.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
* Updated ILM tests to use test user and updated permissions.
* Updated security tests to check for Advanced Settings in the navigatio pane since we added it to the Kibana permissions.
Co-authored-by: John Dorlus <silne.dorlus@elastic.co>
* Remove comments
* Remove workflow code from Alert page and make currentFilter in t grid optional
* Remove workflow props for AlertsTableTGridProps
* Remove unused import
* Remove workflow state from Alert page state container
* Update page state container
* Update tests
* Remove builk actions tests
* Remove bulk actions provider
* Remove does not render case options in the overflow menu test
* Resume permissions for cases test
* Fix does not render case options in the overflow menu test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# x-pack/test/observability_functional/apps/observability/index.ts
* Only allow data view creation if job will be started
* update tests
* no stat fetching when job not started
* ensure result index exists before dataview creation attempt
* update error message and increase retry delay
* use getIdsWithTitle to avoid fieldsWithWildcard call
* move dataview validation to create step
* use exists api in ml index_exists endpoint
* refactor retry function
* fix duplicate i18n ids
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Added enterprise search panel, corrected queries
* Update the index pattern for Enterprise Search
* Typescript error ignore
* Our timestamp fields are called @timestamp (per ECS)
* Adjust Enterprise Search index patterns with the rest of monitoring plugin patterns (including CCS, etc)
* Initial implementation of the Enterprise Search overview panel (health only)
* Add a basic stub for enterprise search response fields
* Cleanup aggs configs
* Bring back a file deleted by mistake
* Started working on the overview page
* Correctly use heap_max as the total heap
* Ent search breadcrumbs
* Simple overview
* Allow the cluster_uuid filter to be skipped while fetching metrics
* Cleanup
* Switch to module-level uuid field and use both types of events
* Add stats-based product usage metrics + apply filter paths to reduce traffic
* Change the name of the ent search overview class
* Move the standalone cluster hack in the the internal function
* Change the overview page to show product usage metrics + introduce enterprise search stats in addition to metrics (they are fetched differently and allow us to reuse the stats code we have for the main page panel)
* Cluster UUID is at the module level now
* Simplify ent search pages structure, only have one overview page
* Fix ent search icon
* Add total instances
* Product usage metric graphs
* Simplify metrics loading in the overview page since we load all metrics anyways
* Add more enterprise search overview metrics
* Avoid duplicate labels
* linting
* Revert "Simplify metrics loading in the overview page since we load all metrics anyways"
This reverts commit 4bd67ab88a.
* Switch to multiple timeseries per graph
* Reorder graphs and metrics for better experience
* Typescript fixes
* i18n fixes
* Added a couple more JVM metrics
* Completely covered JVM metrics
* Convert Enterprise Search component to Typescript
* Switch config setting back
* Remove the nodes link since it raises more questions than it solves
* Update jest snapshots with the new metrics
* Remove console statement
* Properly handle cases when aggregations return no data for Enterprise Search
* Add a functional test for the Enterprise search cluster list panel
* Add a functional test for Enterprise Search overview page
* Update multicluster API response fixture with the new enterprise search response key
* Default uptime value is 0
* update overview fixture
* More fixture updates
* Remove fixmes
* Fix imports
* Properly export type
* Maybe fix the type checking error
* PR Feedback
* TS fixes
Co-authored-by: cdelgado <carlos.delgado@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jason Stoltzfus <jason.stoltzfus@elastic.co>
Co-authored-by: Oleksiy Kovyrin <oleksiy@kovyrin.net>
Co-authored-by: cdelgado <carlos.delgado@elastic.co>
Co-authored-by: Jason Stoltzfus <jason.stoltzfus@elastic.co>
* [ML] Fixes data grid column actions button when histogram charts are visible
* [ML] Adjust histogram color tolerance values
* [ML] Remove test tag
* [ML] Stabilize canvas element test by rounding color values
* [ML] Adjust color tolerance values
* [ML] Further color tolerance adjustments
* [ML] Adjust more color tolerance expected values
* [ML] More color stat adjustments
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Pete Harverson <pete@elastic.co>
* [Uptime] add throttling parameters to the browser synthetic monitor form
This commit adds three fields to the browser synthetic monitor creation
form, these fields are: `download_speed`, `upload_speed`, and `latency`.
Each of these fields is used to test how applications behave under
particular network conditions.
This commit closes#114155.
* [Uptime] add functional tests for synthetic monitors throttling fields
* [Uptime] add toggling for throttling fields
* [Uptime] add normalizer for editing browser throttling fields
Co-authored-by: Lucas F. da Costa <lucas@lucasfcosta.com>
* [Discover] fix csv report for filtered discover result on dashboard
* [Discover] fix tests
* [Discover] add functional test
* [Discover] fix the case when timeFilter was not applied, but others filters were applied for non time based data views
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# src/plugins/discover/public/application/apps/main/utils/get_sharing_data.ts
Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
* Wire Fleet setup status to core Kibana status API
* Remove fake error from testing 🙃
* Apply suggestion for PR review
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
* Add error message to meta upon Fleet setup failure
* Mark fleet as available if setup fails - for now
* Fix failing API key tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
This PR stabilizes the module test setup and teardown by adding retries to the Fleet package install and removal service methods.
Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
* [ML] Removes APM NodeJS and RUM Javascript modules
* [ML] Delete unnecessary module_apm archive
* [ML] Fix get_module API test
Co-authored-by: Pete Harverson <pete@elastic.co>
* Add basic tests for alerts modal
* fix types
* fix setup mode button test subj
* fix unit tests
* Move alerts modal tests to functional since ssl is not required anymore
* Remove not needed config change
* fix test for overview alerts badge
* Extract alerts deletion to a new service
* exit setup mode in alerts test
* add missing file
* update test snapshots
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ester Martí Vilaseca <ester.martivilaseca@elastic.co>
This PR stabilizes and re-enabled the index data visualizer tests by waiting for global loading to finish before validating row content.
Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
This PR stabilizes the login during functional tests by adjusting the timeout for the opened user menu.
Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
This PR stabilizes the Discover custom URL test by making sure all popover are closed before clicking the Discover hide side bar button.
Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>