Skip to content

Commit

Permalink
fix: test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ezioruan committed Mar 23, 2021
1 parent f1f2a68 commit a742474
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ context('Create and Delete Route', () => {
const { domSelector, data } = this;
const routeNames = [newName, duplicateNewName];
routeNames.forEach(function (routeName) {
cy.get(domSelector.nameSelector).type(routeName);
cy.get(`${domSelector.nameSelector} .ant-input`).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 a742474

Please sign in to comment.