From c1255a09036d05a487bb071dccefa9096e75279c Mon Sep 17 00:00:00 2001 From: MGJamJam Date: Tue, 23 Jul 2024 09:34:11 -0300 Subject: [PATCH] fix should send correct query for percentile selection --- e2e/queryEditor.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/queryEditor.spec.ts b/e2e/queryEditor.spec.ts index 0d89b5d..527840a 100644 --- a/e2e/queryEditor.spec.ts +++ b/e2e/queryEditor.spec.ts @@ -269,10 +269,10 @@ test('should send correct query for percentile selection', async ({ await page.getByText('IMPRESSION_ID', { exact: true }).click(); // select percentile aggregation && add percentile value - const queryPromise = page.waitForRequest('*/**/analytics/queries/percentile'); await page.locator('#query-editor_aggregation-method-select').click(); // request triggered await page.getByText('percentile', { exact: true }).click(); await page.locator('#query-editor_percentile-value-input').fill('50'); // request triggered + const queryPromise = page.waitForRequest('*/**/analytics/queries/percentile'); await page.locator('#query-editor_percentile-value-input').blur(); const queryRequest = await queryPromise;