Test: Fix array element removal in adhoc filter e2e test (#113514)

fix(test): adhoc-filter-from-panel
This commit is contained in:
Ihor Yeromin
2025-11-06 18:46:23 +01:00
committed by GitHub
parent bcc2057456
commit 67ca3c231a
@@ -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({