liuxiran commented on a change in pull request #1372:
URL: https://github.com/apache/apisix-dashboard/pull/1372#discussion_r565778717



##########
File path: web/cypress/integration/plugin/create-edit-delete-plugin.spec.js
##########
@@ -36,14 +41,30 @@ context('Create and Delete Plugin List', () => {
     cy.contains('Create').click();
 
     // add test plugins
-    cy.configurePlugins(this.cases);
+    cy.get('@cases').then((cases) => {
+      cy.configurePlugins(cases);
+    })
+  });
+
+  it('should edit the plugin', () => {
+    cy.visit('/plugin/list');
+    cy.get(domSelector.refresh).click();
+    cy.contains(data.name).should('exist').siblings().contains('Edit').click({

Review comment:
       `refreash` is used to wait route list show right? 
   may be this is  repeated  with the assertion in line52




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

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


Reply via email to