You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/10/21 11:27:16 UTC

[GitHub] [apisix-dashboard] Huanghaiting commented on a diff in pull request #2641: fix:ant-table unable to request(#2613)

Huanghaiting commented on code in PR #2641:
URL: https://github.com/apache/apisix-dashboard/pull/2641#discussion_r1001679200


##########
web/cypress/e2e/rest/pluginTemplate-create-edit-delete-plugin-template.cy.js:
##########
@@ -48,7 +48,12 @@ context('Create Configure and Delete PluginTemplate', () => {
     cy.visit('/');
     cy.contains('Route').click();
     cy.get(selector.empty).should('be.visible');
-    cy.contains('Advanced').should('be.visible').click();
+    cy.contains('Advanced')
+      .should('be.visible')
+      .click()
+      .then(() => {
+        cy.contains('Advanced').trigger('mouseover');

Review Comment:
   The drop-down filter needs to be triggered here, how to trigger it to make it effective and better? Do you have a better suggestion?
   Another question, I see that some places trigger two clicks, like this file: pluginTemplate-create-plugin-template-with-route.cy.js
   cy.contains('Next').click();
   cy.contains('Next').click();
   I don't know what it means and how does it work?
   Someone else answered a similar question, but didn't tell the reason
   ![image](https://user-images.githubusercontent.com/17808807/197185443-1e8dcca7-1f92-4bb0-ac12-eedd637960f3.png)
   



-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org