Skip to content

Commit

Permalink
chore: sync CI codes
Browse files Browse the repository at this point in the history
  • Loading branch information
juzhiyuan committed Apr 15, 2021
1 parent 8644a28 commit 1890dc7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web/cypress/fixtures/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
"editPluginTemplateSuccess": "Configure Plugin Template Successfully",
"deletePluginTemplateSuccess": "Delete Plugin Template Successfully",
"pluginTemplateErrorAlert": "Request Error Code: 10000"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ context('Create and delete route with cors form', () => {
cy.contains('Next').click();

cy.get(this.domSelector.nodes_0_host).type('127.0.0.1');
cy.get(this.domSelector.nodes_0_port).clear().type(this.data.port);
cy.get(this.domSelector.nodes_0_weight).clear().type(this.data.weight);
cy.contains('Next').click();

// config cors plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ context('Create and delete route with referer-restriction form', () => {
cy.contains('Next').click();

cy.get(this.domSelector.nodes_0_host).type('127.0.0.1');
cy.get(this.domSelector.nodes_0_port).clear().type(this.data.port);
cy.get(this.domSelector.nodes_0_weight).clear().type(this.data.weight);
cy.contains('Next').click();

// config referer-restriction plugin
Expand Down

0 comments on commit 1890dc7

Please sign in to comment.