Browse Source

chore: add timer in hotKeys cypress test

yanzhuoran 1 year ago
parent
commit
025e50b854
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cypress/e2e/hotKeys.spec.js

+ 1 - 0
cypress/e2e/hotKeys.spec.js

@@ -1,6 +1,7 @@
 describe('hotKeys', () => {
     it('Clickable', () => {
         cy.visit('http://127.0.0.1:6006/iframe.html?path=/story/hotkeys--clickable')
+        cy.wait(1000)
 
         cy.get('body').click().type('{alt}{k}')
         cy.get('div.semi-hotKeys').click()