* Add flaky test runner pipeline config
* Add default value to grep expression if not set
* Add kibana build id override
* Add concurreny option (limited)
* [RAC][UPTIME] Add reason msg for status check
* [RAC][UPTIME] Extract action variables into another file
* Fix tests
* Fix tests
* Update i18n files
* Fix typo in the tests
* Fix tests
* Cover the autoGenerated case and update its tests
* Update duration anomaly tests
* initial work to have rules in triggers actions ui
* fix functional testing
* fix unit test
* fix uptime type
* fix scss import due to name changed
* fix lint
* fix monitoring jest test
* fix import
* fix translations
* fix functional testing
* fix functional testing II
* fix functional testing III
* fix functional testing IV
* fix check type
* review I
* fix check types
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Upgraded the version of EUI to 47.0.0 and react-beautiful-dnd (an EUI dependancy) to 13.1.0
* Update i18n mappings with required changes
* Fix all data grid types/tests missing the new `colIndex` prop passed by renderCellValue and cellActions
* Fix cellActions closePopover type to indicate conditionality (only passed when popover is open)
* Fix more datagrid colIndex errors
- pass more missing `colIndex`s
- pass RowAction colIndex, because it's inheriting types from EUI
- omit colIndex from the leading controls column renderer, because it doesn't need them
* Improve StatefulCell typing
- pass colIndex (which fixes EUI type match issue)
- DRY out ariaColIndex logic
- rename ariaRowindex passed to StatefulCell to rowIndex
* Updated i18n_eui_mapping tests to add euiSelectable.searchResults to the tokensToSkip array
* Fix failing ML datagrid FTR test
- `visibleRowIndex` is not a prop passed back by `popoverContents` (see `EuiDataGridCellValueElementProps`), but `rowIndex` is
* Revert attempted ML type change
- in actuality this is an EUI typing issue, children is a ReactElement, not a ReactNode. However we'll shortly be deprecationg popoverContents, so this isn't worth fixing right now
* Update test files to include up to date snapshots of code samples
* Updated a test snapshots to match the latest version of code samples
* Upgraded the version of EUI from 47.0.0 to 48.0.0 in package.json and license_checker config files
* Update the required i18n translation mapping file with additions and changes from EUI version 48.0.0
* Updated three security screen accessibility tests to check for the aria-checked attribute instead of the aria-selected attribute as part of an accessibility update to aria made in EUI PR 5581
* Updated two unit cases to that are responsible for checking strict equality of strings. These unit tests were for the EuiSelectable and EuiFilterGroup components. Both of these components contain and utilize EuiScreenReaderOnly which provides text that is used for screen readers, but can still be viewed and queried in the DOM. These tests have been updated with the EuiScreenReaderOnly text in mind.
* Code clean up and added a missing internationalization token
* Ran yarn kbn bootstrap to update the yarn lock file
* Fix failing ML FTR test
- EuiSelectable now relies on aria-checked to indicate selected state, per W3 spec
* Fix failing functional tests that click the datagrid cell expand button
.euiDataGridRowCell__expandButtonIcon was deprecated in favor of a shared .euiDataGridRowCell__actionButtonIcon class, but the expand action is always the last one
* Upgrade to 48.1.1
* Switch to data-test-subj for datagrid cell expansion selectors
* Switch to new `data-test-selected` attribute over `aria-checked`
* Update snapshots/Jest tests to account for EuiSelectable use in EuiFilter
Co-authored-by: Constance Chen <constance.chen@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Expose `onBlur` and `onFieldBlur` on fleet components.
* Only pass down validators if either field is interacted with or form submit attempt has been made.
uptime/issues/456
* Make run-once test results appear in a push flyout. Fixup tooltip. Fixup action buttons order.
* Wrapping Monitor Fields form rows when Test Run flyout is open.
* Only show step duration trend if it's an already saved monitor. Stop showing "Failed to run steps" until Test Run steps are done loading.
uptime/issues/445
Co-authored-by: shahzad31 <shahzad.muhammad@elastic.co>
* Adds sorting to Monitor Management monitors list table. Default sorting is 'asc' on the 'name' column.
* Fix column wrapping on monitor list table (Monitor Management UI).
#121117
* [RAC][Uptime] remove moment and use shared utility to format duration in alert reason message
* fix typescript errors
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Add namespace field to monitor management monitor form
* Fix field id, add namespace validation and uptime-level default namespace constant
* Namespace format validation and unit tests
* Update integration test fixtures with namespace
* Update validation to use util provided by fleet package
* Reference locations from config enum
* Fix namespace data for tests
* [Uptime] Move monitor namespace field to advanced options section
* Add advanced field rendering test
* Add icmp advanced fields tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* testing out
* update getStatusMessage
* format interval
* temp: keep only statusMessage for now
* update translation message
* availability check message (previous below threshold)
* add availability interval
* availability & status check message
* i18n check
* fix failing tests
* fix failing tests
* more failing tests
* finalize reason format and continue with fixing failing tests
* fix more failing tests
* fix monitor_status tests
* fix uptime functional tests
* fix more failing tests
* clean up unused stuff
* fix failing tests
* fix failing tests
* more failing tests (pfff)
* fix failing tests
* move all status check translations in the translations file
* a bit of refactoring
* temp
* rename monitor params to monitor status message params
* remove unused PingType
* refactoring: move getInterval to another file and create getMonitorDownStatusMessageParams
* separate alerts table reason message from alert message in the rule flyout
* bring back old alert message format that is used in rule flyout
* fix failing tests
* remove unused file
* refactor status message so that an extra dot does not appear on alert connector message
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* update functional test directory to use a pinned version of package registry via docker
* remove console log
* adjust config
* skip synthetics tests if no docker image
* remove extra configs
* move synthetics tests to a different directory
* update tests
* update tests
* remove duplicate tests
* update helpers
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>