Skip to content

Commit

Permalink
unit test actual movements
Browse files Browse the repository at this point in the history
  • Loading branch information
BipanKishore committed Apr 22, 2024
1 parent 0b62f68 commit 1daeb0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('Overlapping Resizers', () => {
})

it('R2 to most Left', () => {
rCy.toMostLeft(R2)
rCy.moveNPixel(R2, 1000, 'left')

rCy.checkWidths({
[uniqueIdResizablePanes]: containerXLen
Expand All @@ -61,7 +61,7 @@ describe('Overlapping Resizers', () => {
})

it('R1 to most Right', () => {
rCy.toMostRight(R1)
rCy.moveNPixel(R1, 1000)

rCy.checkWidths({
[uniqueIdResizablePanes]: containerXLen
Expand Down
2 changes: 1 addition & 1 deletion cypress/component-testing/storage-operations.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const INITIAL_SIZES: any = {
}

const storeInMemoryAndCheckSizeAfterRemounting = () => {
rCy.toMostLeft(R2)
rCy.moveNPixel(R2, 1000, 'left')
rCy.checkWidthsAndSum({
[R0]: 0,
[R1]: 0,
Expand Down

0 comments on commit 1daeb0d

Please sign in to comment.