fixed ftr test

This commit is contained in:
Kfir Peled 2025-06-24 02:26:45 +03:00
parent b4651c8716
commit e9bc2e72c1
2 changed files with 4 additions and 4 deletions

View file

@ -102,7 +102,7 @@ export default function ({ getPageObjects, getService }: SecurityTelemetryFtrPro
// Show events with the same action
await expandedFlyoutGraph.showEventsOfSameAction(
'a(admin@example.com)-b(projects/your-project-id/roles/customRole)label(google.iam.admin.v1.CreateRole)outcome(success)'
'a(admin@example.com)-b(projects/your-project-id/roles/customRole)label(google.iam.admin.v1.CreateRole)'
);
await expandedFlyoutGraph.expectFilterTextEquals(
0,
@ -115,7 +115,7 @@ export default function ({ getPageObjects, getService }: SecurityTelemetryFtrPro
// Hide events with the same action
await expandedFlyoutGraph.hideEventsOfSameAction(
'a(admin@example.com)-b(projects/your-project-id/roles/customRole)label(google.iam.admin.v1.CreateRole)outcome(success)'
'a(admin@example.com)-b(projects/your-project-id/roles/customRole)label(google.iam.admin.v1.CreateRole)'
);
await expandedFlyoutGraph.expectFilterTextEquals(
0,

View file

@ -93,7 +93,7 @@ export default function ({ getPageObjects, getService }: SecurityTelemetryFtrPro
// Show events with the same action
await expandedFlyoutGraph.showEventsOfSameAction(
'a(admin@example.com)-b(projects/your-project-id/roles/customRole)label(google.iam.admin.v1.CreateRole)outcome(success)'
'a(admin@example.com)-b(projects/your-project-id/roles/customRole)label(google.iam.admin.v1.CreateRole)'
);
await expandedFlyoutGraph.expectFilterTextEquals(
0,
@ -106,7 +106,7 @@ export default function ({ getPageObjects, getService }: SecurityTelemetryFtrPro
// Hide events with the same action
await expandedFlyoutGraph.hideEventsOfSameAction(
'a(admin@example.com)-b(projects/your-project-id/roles/customRole)label(google.iam.admin.v1.CreateRole)outcome(success)'
'a(admin@example.com)-b(projects/your-project-id/roles/customRole)label(google.iam.admin.v1.CreateRole)'
);
await expandedFlyoutGraph.expectFilterTextEquals(
0,