diff --git a/cypress/e2e/pages/visiumTransfer.cy.ts b/cypress/e2e/pages/visiumTransfer.cy.ts index a966b0b90..66c322cc4 100644 --- a/cypress/e2e/pages/visiumTransfer.cy.ts +++ b/cypress/e2e/pages/visiumTransfer.cy.ts @@ -50,6 +50,7 @@ describe('Transfer Page', () => { it('should display scanned output labware', () => { cy.findByText('STAN-3112').should('be.visible'); cy.findByTestId('removeButton').should('exist'); + cy.findByText('ACTIVE').should('be.visible'); }); it('should display filled slots in output labware as disabled', () => { cy.findByTestId('labware-STAN-3112').within(() => { diff --git a/src/pages/SlotCopy.tsx b/src/pages/SlotCopy.tsx index eb05f96cd..faa39acb1 100644 --- a/src/pages/SlotCopy.tsx +++ b/src/pages/SlotCopy.tsx @@ -26,6 +26,8 @@ import RadioGroup, { RadioButtonInput } from '../components/forms/RadioGroup'; import LabwareScanner from '../components/labwareScanner/LabwareScanner'; import RemoveButton from '../components/buttons/RemoveButton'; import { objectKeys } from '../lib/helpers'; +import { StripyCardDetail } from '../components/StripyCard'; +import { LabwareStatePill } from '../components/LabwareStatePill'; type PageParams = { title: string; @@ -134,14 +136,23 @@ const SlotCopyDestinationConfigPanel: React.FC > {(props) => { return ( -
+
{props.labwares.length > 0 && ( - { - labware?.labware.barcode && props.removeLabware(labware?.labware.barcode); - onLabwareScan?.([]); - }} - /> + <> +
+ { + labware?.labware.barcode && props.removeLabware(labware?.labware.barcode); + onLabwareScan?.([]); + }} + /> +
+ {labware && labware?.labware.barcode && ( + + + + )} + )}
);