From d7fb3d2ccecfb4647b4b144a93c446c751e46788 Mon Sep 17 00:00:00 2001 From: alexjoel42 Date: Thu, 19 Dec 2024 18:35:39 -0500 Subject: [PATCH] small steps --- .../cypress/e2e/transferSettings.cy.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/protocol-designer/cypress/e2e/transferSettings.cy.js b/protocol-designer/cypress/e2e/transferSettings.cy.js index db5d4ed0eaa..e1cae24f8ef 100644 --- a/protocol-designer/cypress/e2e/transferSettings.cy.js +++ b/protocol-designer/cypress/e2e/transferSettings.cy.js @@ -10,16 +10,20 @@ const pipette = '1-Channel' describe('Happy Path Transfer Tests', () => { it('It should verify the working function of every permutation of transfer checkboxes', () => { cy.visit('/') // Replace with the appropriate URL or navigation - cy.verifyHomePage() // This calls the custom command from commands.ts cy.clickCreateNew() cy.robotSelection(Flex_Home) - + /* function putPipette (pipette) { cy.contains('label', pipette).should('exist').and('be.visible').click() } - putPipette(pipette) + */ + + cy.contains('label', pipette).should('exist').and('be.visible').click() + + // lint error for now putPipette(pipette) // Check step 2 has the right text + cy.contains('Step 2') cy.contains('Add a pipette') cy.contains( @@ -28,7 +32,9 @@ describe('Happy Path Transfer Tests', () => { // Check cy.contains('button', 'Go back').click() cy.robotSelection(Flex_Home) - putPipette(pipette) + // putPipette(pipette) remove because lint error + cy.contains('label', pipette).should('exist').and('be.visible').click() + // Make a function for this later that selects a pipette and its tips const tip_volume = '50 µL' const tip_rack = 'Filter Tip Rack 50 µL'