Skip to content

Commit

Permalink
fix(tests): correct viewport drag tests
Browse files Browse the repository at this point in the history
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
  • Loading branch information
bcakmakoglu committed Nov 1, 2024
1 parent 2b76aee commit 7da0bdc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ describe('Viewport drag / zoom', () => {
beforeEach(() => {
cy.vueFlow({
nodes,
fitViewOnInit: false,
})
})

Expand All @@ -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',
Expand Down

0 comments on commit 7da0bdc

Please sign in to comment.