Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
CP3cham committed Jan 24, 2022
1 parent 7043166 commit f245c1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/cypress/integration/route/create-edit-duplicate-delete-route.spec.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,9 @@ context('Create and Delete Route', () => {
.within(() => {
cy.contains('OK').click();
});
cy.get(selector.deleteAlert).within(()=>{
cy.get('.ant-btn-loading-icon').should('be.visible');
})
cy.get(selector.notification).should('contain', data.deleteRouteSuccess);
cy.get(selector.notificationCloseIcon).click();
});
Expand Down

0 comments on commit f245c1b

Please sign in to comment.