Skip to content

Commit

Permalink
small steps
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjoel42 committed Dec 19, 2024
1 parent 0a5c1c6 commit d7fb3d2
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions protocol-designer/cypress/e2e/transferSettings.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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'
Expand Down

0 comments on commit d7fb3d2

Please sign in to comment.