[Synthetics] Unskip monitor sorting e2e test (#192614)

## Summary

Unskip this test suite.

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
Justin Kambic 2024-09-12 11:33:12 -04:00 committed by GitHub
parent 31816441d9
commit 8d90d989d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 8 deletions

View file

@ -13,12 +13,7 @@ import {
} from './services/add_monitor';
import { syntheticsAppPageProvider } from '../page_objects/synthetics_app';
const journeySkip =
(...params: Parameters<typeof journey>) =>
() =>
journey(...params);
// TODO: skipped because failing on main and need to unblock CI
journeySkip('OverviewSorting', async ({ page, params }) => {
journey('OverviewSorting', async ({ page, params }) => {
const syntheticsApp = syntheticsAppPageProvider({ page, kibanaUrl: params.kibanaUrl, params });
const testMonitor1 = 'acb'; // second alpha, first created
const testMonitor2 = 'aCd'; // third alpha, second created
@ -33,7 +28,7 @@ journeySkip('OverviewSorting', async ({ page, params }) => {
await addTestMonitor(params.kibanaUrl, testMonitor3);
});
step('Go to monitor-management', async () => {
step('Go to overview page', async () => {
await syntheticsApp.navigateToOverview(true, 15);
});

View file

@ -199,7 +199,10 @@ export const OverviewGrid = memo(() => {
style={{ ...style }}
>
{listData[listIndex].map((_, idx) => (
<EuiFlexItem key={listIndex * ROW_COUNT + idx}>
<EuiFlexItem
data-test-subj="syntheticsOverviewGridItem"
key={listIndex * ROW_COUNT + idx}
>
<MetricItem
monitor={monitorsSortedByStatus[listIndex * ROW_COUNT + idx]}
onClick={setFlyoutConfigCallback}