juzhiyuan commented on a change in pull request #1261:
URL: https://github.com/apache/apisix-dashboard/pull/1261#discussion_r554902795



##########
File path: web/cypress/integration/plugin/schema-smocktest.spec.js
##########
@@ -47,35 +50,53 @@ context('smoke test for plugin schema', () => {
             .within(() => {
               cy.contains('Enable').click({
                 force: true,
+                timeout
               });
             });
 
           // NOTE: wait for the Drawer to appear on the DOM
-          cy.wait(800);
-          const switchSelector = '#disable';
-          cy.get(switchSelector).click();
+          const drawerSelector = '.ant-drawer-content'

Review comment:
       no, we are going to use a public file to store all reuseable selectors 
in the future.




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