Skip to content

Commit

Permalink
fix should send correct query for percentile selection
Browse files Browse the repository at this point in the history
  • Loading branch information
MGJamJam committed Jul 23, 2024
1 parent 89db892 commit c1255a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/queryEditor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c1255a0

Please sign in to comment.