diff --git a/features/marketplace/frontend-public/e2e/helpers/route-mock.ts b/features/marketplace/frontend-public/e2e/helpers/route-mock.ts index 9995b1b0d..35303f0e8 100644 --- a/features/marketplace/frontend-public/e2e/helpers/route-mock.ts +++ b/features/marketplace/frontend-public/e2e/helpers/route-mock.ts @@ -38,7 +38,7 @@ export async function mockApiRoute( body: JSON.stringify(body), }) } else { - await route.continue() + await route.fallback() } }) } @@ -101,7 +101,7 @@ export async function mockApiDelayed( body: JSON.stringify(body), }) } else { - await route.continue() + await route.fallback() } }) } diff --git a/features/marketplace/frontend-public/e2e/pages/coop/CoopSafetyTab.ts b/features/marketplace/frontend-public/e2e/pages/coop/CoopSafetyTab.ts index 603762e25..33535ced1 100644 --- a/features/marketplace/frontend-public/e2e/pages/coop/CoopSafetyTab.ts +++ b/features/marketplace/frontend-public/e2e/pages/coop/CoopSafetyTab.ts @@ -93,8 +93,7 @@ export class CoopSafetyTab { }) this.buddyAlertBanner = this.tabPanel .getByRole('alert') - .filter({ hasText: /buddy/i }) - .or(this.tabPanel.getByText(/buddy alert/i).locator('..')) + .filter({ hasText: /overdue|escalating/i }) // ── Check-in controls — located by heading text ── this.checkinSection = this.tabPanel