diff --git a/cypress/e2e/1-the-whole-process/visit-sub-app.spec.js b/cypress/e2e/1-the-whole-process/visit-sub-app.spec.js index 674d031af..0adc2b038 100644 --- a/cypress/e2e/1-the-whole-process/visit-sub-app.spec.js +++ b/cypress/e2e/1-the-whole-process/visit-sub-app.spec.js @@ -148,7 +148,7 @@ describe('whole process app render', () => { cy.wait(4000); cy.contains('[data-test=title]', HomeTitle) .then(() => { - cy.get('[data-test=vite-count-btn]').click(); + cy.get('[data-test=vite-count-btn]').click({ force: true }); cy.contains('button', 'count is: 1'); }) .then(() => {