Skip to content

Commit

Permalink
fix: update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
oil-oil committed Feb 24, 2022
1 parent 7f4ae14 commit 29cfba6
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ context('Create Route with search service name', () => {
cy.get(selector.priority).type(data.priority);
cy.contains('Next').click();
// select upstream with None
cy.get(selector.upstreamSelector).click({ force: true }).type(`${data.upstreamName}\n`);
cy.get('.ant-select-selector')
.find(selector.upstreamSelector)
.type(`${data.upstreamName}\n`, { force: true });

cy.contains('Next').click();
cy.contains('Next').click();
cy.contains('Submit').click();
Expand Down

0 comments on commit 29cfba6

Please sign in to comment.