diff --git a/cypress/integration/control/select.spec.ts b/cypress/integration/control/select.spec.ts index 0910363..07a55f6 100644 --- a/cypress/integration/control/select.spec.ts +++ b/cypress/integration/control/select.spec.ts @@ -45,7 +45,7 @@ describe('控件-列举型', () => { cy.get('@canvas').type(`{leftArrow}`) - cy.get('.select-control-popup li').eq(0).click() + cy.get('.ce-select-control-popup li').eq(0).click() cy.get('@canvas').type('{ctrl}s') }) diff --git a/cypress/integration/control/text.spec.ts b/cypress/integration/control/text.spec.ts index fb392f6..db98101 100644 --- a/cypress/integration/control/text.spec.ts +++ b/cypress/integration/control/text.spec.ts @@ -36,7 +36,7 @@ describe('控件-文本型', () => { cy.get('@canvas').type(`{leftArrow}`) - cy.get('.inputarea').type(text) + cy.get('.ce-inputarea').type(text) cy.get('@canvas').type('{ctrl}s') }) diff --git a/cypress/integration/editor.spec.ts b/cypress/integration/editor.spec.ts index 1c77356..04a1111 100644 --- a/cypress/integration/editor.spec.ts +++ b/cypress/integration/editor.spec.ts @@ -29,7 +29,7 @@ describe('基础功能', () => { it('模式切换', () => { cy.get('@canvas').click() - cy.get('.cursor').should('have.css', 'display', 'block') + cy.get('.ce-cursor').should('have.css', 'display', 'block') cy.get('.editor-mode').click().click() @@ -37,7 +37,7 @@ describe('基础功能', () => { cy.get('@canvas').click() - cy.get('.cursor').should('have.css', 'display', 'none') + cy.get('.ce-cursor').should('have.css', 'display', 'none') }) it('页面缩放', () => { diff --git a/index.html b/index.html index ea30d9b..cdff544 100644 --- a/index.html +++ b/index.html @@ -219,7 +219,7 @@ -
+