Skip to content

Commit

Permalink
Update web/cypress/integration/service/create-service-with-not-select…
Browse files Browse the repository at this point in the history
…-upstream.spec.js

Co-authored-by: guoqqqi <[email protected]>
  • Loading branch information
Engine-AI and guoqqqi authored Apr 30, 2021
1 parent 2a92b69 commit 103c3a3
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,7 @@ context('Edit Service with not select Upstream', () => {
cy.get(this.domSelector.nodes_0_weight).clear().type(1);
cy.contains('Next').click();
cy.contains('Next').click();
cy.get(this.domSelector.nodes_0_host).should('be.disabled','true');
cy.get(this.domSelector.nodes_0_port).should('be.disabled','true');
cy.get(this.domSelector.nodes_0_weight).should('be.disabled','true');
cy.get('#timeout_connect').should('be.disabled','true');
cy.get('#timeout_send').should('be.disabled','true');
cy.get('#timeout_read').should('be.disabled','true');
cy.get('#custom_checks_active').should('be.disabled','true');
cy.get('#custom_checks_passive').should('be.disabled','true');
cy.get(this.domSelector.input).should('be.disabled');
cy.contains('Submit').click();
cy.get(this.domSelector.notification).should('contain', this.data.createServiceSuccess);
});
Expand Down

0 comments on commit 103c3a3

Please sign in to comment.