Skip to content

fix(protocol-designer): fix staging area logic #25073

fix(protocol-designer): fix staging area logic

fix(protocol-designer): fix staging area logic #25073

Triggered via push January 31, 2025 23:28
Status Failure
Total duration 5m 49s
Artifacts
protocol designer unit tests
5m 40s
protocol designer unit tests
build protocol designer artifact
0s
build protocol designer artifact
Matrix: pd e2e tests
deploy PD artifact to S3
0s
deploy PD artifact to S3
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/utils.test.ts > getNumSlotsAvailable > should return 1 when there are 7 modules (with one magnetic block) and one trash for staging area: protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/utils.test.ts#L241
AssertionError: expected 1 to be 2 // Object.is equality - Expected + Received - 2 + 1 ❯ protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/utils.test.ts:241:20
protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/utils.test.ts > getNumSlotsAvailable > should return 1 when there are 8 modules with 2 magnetic blocks and one trash for staging area: protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/utils.test.ts#L288
AssertionError: expected 1 to be 2 // Object.is equality - Expected + Received - 2 + 1 ❯ protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/utils.test.ts:288:20
protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/utils.test.ts > getNumSlotsAvailable > should return 4 when there are 12 magnetic blocks for staging area: protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/utils.test.ts#L359
AssertionError: expected -1 to be 4 // Object.is equality - Expected + Received - 4 + -1 ❯ protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/utils.test.ts:359:20
protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/utils.test.ts > getNumSlotsAvailable > should return 12 when there are 4 staging area for magnetic block: protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/utils.test.ts#L373
AssertionError: expected 11 to be 12 // Object.is equality - Expected + Received - 12 + 11 ❯ protocol-designer/src/pages/CreateNewProtocolWizard/__tests__/utils.test.ts:373:20
protocol designer unit tests
Process completed with exit code 2.
protocol designer unit tests
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down