From dd7b0ca4f87e2471bab83f26cae36baa6b9276fa Mon Sep 17 00:00:00 2001 From: David Robinson <14000840+khelwood@users.noreply.github.com> Date: Wed, 22 Jan 2025 12:29:05 +0000 Subject: [PATCH] x1271: rename cytassist labware types --- cypress/e2e/pages/cytAssist.cy.ts | 20 ++++++++++---------- src/types/stan.ts | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cypress/e2e/pages/cytAssist.cy.ts b/cypress/e2e/pages/cytAssist.cy.ts index 045bcd89..9be93555 100644 --- a/cypress/e2e/pages/cytAssist.cy.ts +++ b/cypress/e2e/pages/cytAssist.cy.ts @@ -24,27 +24,27 @@ describe('CytAssist Page', () => { }); }); - context('When user selects Visium LP CytAssist labwareType', () => { + context('When user selects Visium LP CytAssist 6.5 labwareType', () => { before(() => { selectLabwareType(LabwareTypeName.VISIUM_LP_CYTASSIST); }); - it('should set output labware type value to Visium LP CytAssist', () => { - shouldDisplaySelectedValue('output-labware-type', 'Visium LP CytAssist'); + it('should set output labware type value to Visium LP CytAssist 6.5', () => { + shouldDisplaySelectedValue('output-labware-type', 'Visium LP CytAssist 6.5'); }); - it('shows a Visium LP CytAssist slide for the output', () => { - cy.findAllByText(/Visium LP CytAssist/i).should('have.length.above', 0); + it('shows a Visium LP CytAssist 6.5 slide for the output', () => { + cy.findAllByText(/Visium LP CytAssist 6.5/i).should('have.length.above', 0); }); }); - context('When user selects Visium LP CytAssist XL labwareType', () => { + context('When user selects Visium LP CytAssist 11 labwareType', () => { before(() => { selectLabwareType(LabwareTypeName.VISIUM_LP_CYTASSIST_XL); }); - it('should set output labware type value to Visium LP CytAssist XL', () => { - shouldDisplaySelectedValue('output-labware-type', 'Visium LP CytAssist XL'); + it('should set output labware type value to Visium LP CytAssist 11', () => { + shouldDisplaySelectedValue('output-labware-type', 'Visium LP CytAssist 11'); }); - it('shows a Visium LP CytAssist XL slide for the output', () => { - cy.findAllByText(/Visium LP CytAssist XL/i).should('have.length.above', 0); + it('shows a Visium LP CytAssist 11 slide for the output', () => { + cy.findAllByText(/Visium LP CytAssist 11/i).should('have.length.above', 0); }); }); diff --git a/src/types/stan.ts b/src/types/stan.ts index 3af79517..795a5917 100644 --- a/src/types/stan.ts +++ b/src/types/stan.ts @@ -35,8 +35,8 @@ export enum LabwareTypeName { DUAL_INDEX_PLATE = "Dual index plate", POT = "Pot", PRE_BARCODED_TUBE = "Prebarcoded tube", - VISIUM_LP_CYTASSIST= "Visium LP CytAssist", - VISIUM_LP_CYTASSIST_XL= "Visium LP CytAssist XL", + VISIUM_LP_CYTASSIST= "Visium LP CytAssist 6.5", + VISIUM_LP_CYTASSIST_XL= "Visium LP CytAssist 11", VISIUM_LP_CYTASSIST_HD= "Visium LP CytAssist HD", XENIUM = "Xenium", STRIP_TUBE = "8 Strip Tube"