Skip to content

Commit ba86af6

Browse files
committed
fixed failing tests
1 parent 52518c2 commit ba86af6

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui

x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/details.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
269269

270270
const headingText = await pageObjects.alertDetailsUI.getHeadingText();
271271
expect(headingText).to.be(updatedAlertName);
272-
await alerting.alerts.deleteAlert(alert.id);
273272
});
274273

275274
it('should reset alert when canceling an edit', async () => {
@@ -301,7 +300,6 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
301300
const nameInputAfterCancel = await testSubjects.find('alertNameInput');
302301
const textAfterCancel = await nameInputAfterCancel.getAttribute('value');
303302
expect(textAfterCancel).to.eql(updatedAlertName);
304-
await alerting.alerts.deleteAlert(alert.id);
305303
});
306304
});
307305

@@ -337,7 +335,6 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
337335
await pageObjects.alertDetailsUI.clickViewInApp();
338336

339337
expect(await pageObjects.alertDetailsUI.getNoOpAppTitle()).to.be(`View Alert ${alert.id}`);
340-
await alerting.alerts.deleteAlert(alert.id);
341338
});
342339

343340
it('renders a disabled alert details view in app button', async () => {
@@ -356,7 +353,6 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
356353
await pageObjects.triggersActionsUI.clickOnAlertInAlertsList(alert.name);
357354

358355
expect(await pageObjects.alertDetailsUI.isViewInAppDisabled()).to.be(true);
359-
await alerting.alerts.deleteAlert(alert.id);
360356
});
361357
});
362358

@@ -598,8 +594,6 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
598594
await pageObjects.triggersActionsUI.clickOnAlertInAlertsList(alert.name);
599595
});
600596

601-
after(async () => await alerting.alerts.deleteAlert(alert.id));
602-
603597
after(async () => {
604598
await objectRemover.removeAll();
605599
});

0 commit comments

Comments
 (0)