Skip to content

Commit

Permalink
test: add deletion interval
Browse files Browse the repository at this point in the history
  • Loading branch information
Silence-dream committed Oct 11, 2022
1 parent d7e2bf1 commit f1e0ae6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ context('Create and Delete Upstream', () => {
cy.contains(data.upstreamName).siblings().contains('Configure').click();

cy.get(selector.upstreamNodeMinus0).should('not.exist');
cy.contains('button', 'Next').should('not.be.disabled').click();
cy.contains('button', 'Next').should('not.be.disabled').click({ force: true });
cy.contains('Submit').click({
force: true,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ context('Create Route with search service name', () => {
cy.contains(data.serviceName).siblings().contains('Delete').click();
cy.contains('button', 'Confirm').click();
cy.get(selector.notification).should('contain', data.deleteServiceSuccess);

cy.wait(4000);
cy.contains(data.serviceName2).siblings().contains('Delete').click();
cy.contains('button', 'Confirm').click();
cy.get(selector.notification).should('contain', data.deleteServiceSuccess);
Expand Down

0 comments on commit f1e0ae6

Please sign in to comment.