Skip to content

Commit

Permalink
Update e2e test to assert that the interval field is not present for …
Browse files Browse the repository at this point in the history
…the default rule.
  • Loading branch information
justinkambic committed Apr 28, 2023
1 parent 9899da2 commit 7d06389
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ journey(`DefaultStatusAlert`, async ({ page, params }) => {
await page.isDisabled(byTestId('xpack.synthetics.toggleAlertFlyout'));
await page.click(byTestId('xpack.synthetics.toggleAlertFlyout'));
await page.waitForSelector('text=Edit rule');
expect(await page.locator(`[data-test-subj="intervalFormRow"]`).count()).toEqual(0);
await page.click(byTestId('saveEditedRuleButton'));
await page.waitForSelector("text=Updated 'Synthetics internal alert'");
});
Expand Down

0 comments on commit 7d06389

Please sign in to comment.