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 22, 2021
1 parent 61210f1 commit 067ef94
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).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 067ef94

Please sign in to comment.