* fix missing force now behaviour for v2 reports
* added jest test
* updated jest test snapshot to match removal of forceNow injection from locator params
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* test: rename mock utility
* Tests: artifact grid test coverage
* Fix: CardCompressedHeader should use CardCompressedHeaderLayout
* Tests: ArtifactEntryCollapsibleCard test coverage
* Context Menu adjustments to test ids and to avoid react console errors/warnings
* add test id to truncate wrapper in ContextMenuItemWithRouterSupport
* Tests for ContextMenuWithRouterSupport
* new mocks test utils
* HTTP mocks for Policy Details Trusted apps list page
* tests for policy trusted apps selectors
* Refactor: move reusable fleet http mocks to `page/mocks`
* HTTP mocks for fleet get package policy and Agent status + mock for all Policy Details APIs
* Tests: Policy Details Trusted Apps List
* Moved `seededUUIDv4()` to `BaseDataGenerator` and changed trusted apps generator to use it
* change `createStartServicesMock` to optionally accept `coreStart` as input
* Show api load errors on policy TA list
* [Maps] Fix apis Maps endpoints getTile should return vector tile containing document
* use find instead of if statement
* eslint
* can not use layer.feature.find is layer.feature is not an array
* unskip other test where fix has been merged
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
In the trace samples tab, the trace samples will not be shown if the overall histogram chart fails to load. This PR removes that limitation and will show the trace samples even when the chart fails to load.
* updated Discover getSharingData to accept flag for absolute time
* update snapshots
* simplify fallback title
* more appropriate title?
* remove old translations
* implement PR feedback
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Adding last duration to execution status and returning in alerting routes
* Fixing types
* Adding helper function to format duration
* Returning rule timeout value in list rules API
* Updating rules table to add duration column and tweaks to match mockup
* Updating rules table to add duration column and tweaks to match mockup
* i18n fix
* Only showing duration warning if duration is long
* Unit tests
* i18n fix
* Fixing functional test
* Aligning warning icon
* Reset last duration when rule is disabled then reenabled
* Fixing functional test
* Fixing functional test
* Restoring muted badge. Fixing scss
* Dont show muted badge if rule is disabled
* Moving disabled icontip to right of rule name
* Updating tooltips
* Updating last run
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] fix docvalue_fields·js functional test
* remove unused
* eslint
* remove _type from check list, copied from 7.x branch and is not in 8.0
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* pass test subject to advanced link and change name in angular version to be generic
* change name in functional test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
[skip-ci]
APM Cypress tests are again failing on PRs. Disable temporarily.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Stack Monitoring] Adding alerts to react app
* Fixing global state context path
* adding alerts to pages; adding alerts model to cluster_overview; removing loadAlerts from page template
* Fixing request for enable alerts
* remove loadAlerts from page template
* Adding request error handlers
* removing redundent error handling
* Changing useRequestErrorHandler function to be async due to error.response.json call
* removing old comment
* Fixing contexts paths
* Converting ajaxRequestErrorHandler to useRequestErrorHandler
* Refactoring error handler for page template and setup mode
* Removing unnecessary async/await
* Removing unnecessary async/await in useClusters
* adding alertTypeIds to each page
* fixing instance count
* Adding alertTypeIds to index page
* Adding alert filters for specific pages
* Adding alerts to Logstash nodes
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>