diff --git a/tests/cypress/component/2-vue-flow/viewport.ts b/tests/cypress/component/2-vue-flow/viewport.cy.ts similarity index 91% rename from tests/cypress/component/2-vue-flow/viewport.ts rename to tests/cypress/component/2-vue-flow/viewport.cy.ts index 1f9469f4b..5fe5d13c3 100644 --- a/tests/cypress/component/2-vue-flow/viewport.ts +++ b/tests/cypress/component/2-vue-flow/viewport.cy.ts @@ -8,6 +8,7 @@ describe('Viewport drag / zoom', () => { beforeEach(() => { cy.vueFlow({ nodes, + fitViewOnInit: false, }) }) @@ -27,6 +28,7 @@ describe('Viewport drag / zoom', () => { await cy.tryAssertion(() => { cy.transformationPane() .should('exist') + .should('not.have.css', 'transform', 'matrix(1, 0, 0, 1, 0, 0)') .should( 'have.css', 'transform',