guoqqqi commented on code in PR #2585:
URL: https://github.com/apache/apisix-dashboard/pull/2585#discussion_r946374098


##########
web/cypress/integration/route/create-route-with-cors-form.spec.js:
##########
@@ -62,7 +64,7 @@ context('Create and delete route with cors form', () => {
     cy.get(selector.nodes_0_port).clear().type(data.port);
     cy.get(selector.nodes_0_weight).clear().type(data.weight);
     cy.contains('Next').click();
-
+    cy.wait(1000);

Review Comment:
   IMO, We refuse to abuse `wait`, it wastes a lot of our time, and we don't 
use it except as a last resort. Where we can use some assertions to ensure that 
the test is stable.



-- 
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