Skip to content

Commit

Permalink
test: revert
Browse files Browse the repository at this point in the history
  • Loading branch information
Silence-dream committed Oct 11, 2022
1 parent f1e0ae6 commit dcd8935
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ context('Create and Delete Upstream', () => {
it('should create upstream with no nodes', function () {
cy.visit('/');
cy.contains('Upstream').click();
cy.wait(4000);

cy.contains('Create').click();

Expand All @@ -59,14 +58,14 @@ context('Create and Delete Upstream', () => {
it('should configure the upstream with no nodes', function () {
cy.visit('/');
cy.contains('Upstream').click();
cy.wait(4000);

cy.get(selector.nameSelector).type(data.upstreamName);
cy.contains('Search').click();
cy.contains(data.upstreamName).siblings().contains('Configure').click();

cy.get(selector.upstreamNodeMinus0).should('not.exist');
cy.contains('button', 'Next').should('not.be.disabled').click({ force: true });
cy.contains('button', 'Next').should('not.be.disabled').click();

cy.contains('Submit').click({
force: true,
});
Expand All @@ -78,7 +77,6 @@ context('Create and Delete Upstream', () => {
it('should delete the upstream', function () {
cy.visit('/');
cy.contains('Upstream').click();
cy.wait(4000);
cy.contains(data.upstreamName).siblings().contains('Delete').click();
cy.contains('button', 'Confirm').click();
cy.get(selector.notification).should('contain', data.deleteUpstreamSuccess);
Expand Down

0 comments on commit dcd8935

Please sign in to comment.