Silence-dream commented on code in PR #2630:
URL: https://github.com/apache/apisix-dashboard/pull/2630#discussion_r989982466


##########
web/cypress/e2e/route/batch-delete-route.cy.js:
##########
@@ -63,36 +63,38 @@ context('Create and Batch Deletion Routes', () => {
     for (let i = 0; i < 3; i += 1) {
       cy.wait(timeout);
       cy.get('.ant-pro-table-list-toolbar-right').contains('Create').click();
-      cy.get('.ant-row').contains('Next').click().click();
       cy.get(selector.name).type(`test${i}`);
       cy.get(selector.description).type(`desc${i}`);
       cy.get(selector.hosts_0).type(data.host1);
       cy.get(selector.uris_0).clear().type(`/get${i}`);
-
       // config label
       cy.contains('Manage').click();
-
+      // eslint-disable-next-line @typescript-eslint/no-loop-func
       cy.get(selector.drawerBody).within(($drawer) => {
         cy.wrap($drawer)
           .contains('button', 'Add')
           .should('not.be.disabled')
-          .click()
+          .click({ force: true })

Review Comment:
   make click work



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to