Skip to content

Commit d7ce835

Browse files
committed
chore(test): increase wheel delta
1 parent fc263a6 commit d7ce835

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

e2e/cypress/component/1-store/viewpane/setMaxZoom.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('Store Action: `setMaxZoom`', () => {
2222

2323
it('sets max-zoom in viewpane', () => {
2424
cy.viewPort().trigger('wheel', {
25-
deltaY: -1000,
25+
deltaY: -10000,
2626
wheelDelta: 0,
2727
wheelDeltaX: 0,
2828
wheelDeltaY: 0,

e2e/cypress/component/1-store/viewpane/setMinZoom.cy.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ describe('Store Action: `setMinZoom`', () => {
2222

2323
it('sets min-zoom in viewpane', () => {
2424
cy.viewPort().trigger('wheel', {
25-
deltaY: 100,
26-
wheelDelta: 1000,
27-
wheelDeltaX: 1000,
28-
wheelDeltaY: 1000,
25+
deltaY: 10000,
26+
wheelDelta: 0,
27+
wheelDeltaX: 0,
28+
wheelDeltaY: 0,
2929
bubbles: true,
3030
})
3131

0 commit comments

Comments
 (0)