Skip to content

Commit

Permalink
clear first and then type
Browse files Browse the repository at this point in the history
  • Loading branch information
lixingwang committed Jul 13, 2021
1 parent 7b4812f commit adba408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/cypress/integration/route/import_export_route.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ context('import and export routes', () => {
// input nodes_0_host, click Next
cy.get(selector.nodes_0_host).type(data[`upstream_node0_host_${i}`]);
cy.get(selector.nodes_0_port).type(data.port);
cy.get(selector.nodes_0_weight).type(data.weight);
cy.get(selector.nodes_0_weight).clear().type(data.weight);
cy.contains(actionBarUS['component.actionbar.button.nextStep']).click();
// do not config plugins, click Next
cy.contains(actionBarUS['component.actionbar.button.nextStep']).click();
Expand Down

0 comments on commit adba408

Please sign in to comment.