Skip to content

Commit

Permalink
try windows
Browse files Browse the repository at this point in the history
  • Loading branch information
BipanKishore committed May 12, 2024
1 parent 00d68f7 commit ade3a4f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
cypress-run:
runs-on: ubuntu-latest
runs-on: windows-latest
# Runs tests in parallel with matrix strategy https://docs.cypress.io/guides/guides/parallelization
# https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
# Also see warning here https://github.com/cypress-io/github-action#parallel
Expand Down
2 changes: 1 addition & 1 deletion cypress/component-testing/resizable-api.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ describe('Should make partial hidden visible with setSize', () => {
})

// Edge
it(`
it.only(`
-- Partially hide P2 moving R2 to R1
-- setSize P2 with 150 and BUTTOM_FIRST
-- should emit onResizeStop haveing P2 = 150
Expand Down
3 changes: 2 additions & 1 deletion src/context/resizable-panes-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import {
synSizeToMaxSize, synSizeToMinSize
} from '../models/pane'
import {attachDetectionCoordinate, detectionService} from '../services/detection-service'
import {consoleGetSize} from '../utils/development-util'

export const getResizableContext = (
props: IResizablePaneProviderProps
Expand Down Expand Up @@ -241,7 +242,7 @@ export const getResizableContext = (
afterResizeStop()

setMouseDownFlag(false)
// consoleGetSize(resizable.panesList)
consoleGetSize(resizable.panesList)
}

resizable.onMouseUp = onMoveEndFn
Expand Down

0 comments on commit ade3a4f

Please sign in to comment.