Skip to content

Commit

Permalink
Update web/cypress/integration/route/create-edit-duplicate-delete-rou…
Browse files Browse the repository at this point in the history
…te.spec.js

Co-authored-by: guoqqqi <72343596+guoqqqi@users.noreply.github.com>
  • Loading branch information
juzhiyuan and guoqqqi authored Mar 22, 2021
1 parent 067ef94 commit 92363ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ context('Create and Delete Route', () => {
const { domSelector, data } = this;
const routeNames = [newName, duplicateNewName];
routeNames.forEach(function (routeName) {
cy.get(`${domSelector.nameSelector} .ant-input`).clear().type(routeName);
cy.get(domSelector.name).clear().type(routeName);
cy.contains('Search').click();
cy.contains(routeName).siblings().contains('Delete').click();
cy.contains('button', 'Confirm').click();
Expand Down

0 comments on commit 92363ba

Please sign in to comment.