@@ -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