diff --git a/cypress/e2e/menus/painter.cy.ts b/cypress/e2e/menus/painter.cy.ts index 15dac1f..4b04ab9 100644 --- a/cypress/e2e/menus/painter.cy.ts +++ b/cypress/e2e/menus/painter.cy.ts @@ -34,6 +34,7 @@ describe('菜单-格式刷', () => { cy.get('.menu-item__painter') .click() + .wait(300) .then(() => { editor.command.executeSetRange(textLength, 2 * textLength)