diff --git a/e2e-playwright/dashboards-suite/adhoc-filter-from-panel.spec.ts b/e2e-playwright/dashboards-suite/adhoc-filter-from-panel.spec.ts index 4e008fc3b5f..8ad6b634a87 100644 --- a/e2e-playwright/dashboards-suite/adhoc-filter-from-panel.spec.ts +++ b/e2e-playwright/dashboards-suite/adhoc-filter-from-panel.spec.ts @@ -52,7 +52,7 @@ test.describe( // during the test, we select the "inner_eval" slice to filter; this simulates the behavior // of prometheus applying that filter and removing dataframes from the response. if (route.request().postData()?.includes('{slice=\\\"inner_eval\\\"}')) { - delete fixture.results.A.frames[1]; + fixture.results.A.frames.splice(1, 1); } await route.fulfill({