Skip to content

Commit a21ef74

Browse files
committed
Renaming cypress test workflows so they are easier to isolate
1 parent e5a7fb5 commit a21ef74

File tree

4 files changed

+70
-72
lines changed

4 files changed

+70
-72
lines changed

protocol-designer/cypress/e2e/ProtocolDesignerModulesTest.cy.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('The Redesigned Create Protocol Landing Page', () => {
1111
cy.closeAnalyticsModal()
1212
})
1313

14-
it('content and step 1 flow works', () => {
14+
it('Tests the modules', () => {
1515
cy.clickCreateNew()
1616
cy.verifyCreateNewHeader()
1717
const steps: StepsList = [

protocol-designer/cypress/e2e/createNew.cy.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('The Redesigned Create Protocol Landing Page', () => {
1414
cy.closeAnalyticsModal()
1515
})
1616

17-
it('content and step 1 flow works', () => {
17+
it('Quick check for the new Flex and OT-2', () => {
1818
// cy.clickCreateNew()
1919
cy.verifyCreateNewHeader()
2020
cy.clickCreateNew()

protocol-designer/cypress/e2e/createNewFlex.cy.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe('The Redesigned Create Protocol Landing Page', () => {
1010
cy.closeAnalyticsModal()
1111
})
1212

13-
it('content and step 1 flow works', () => {
13+
it('This is create new flex and focuses on basic Flex flow', () => {
1414
cy.clickCreateNew()
1515
cy.verifyCreateNewHeader()
1616
const steps: StepsList = [

protocol-designer/cypress/e2e/transferSettings.cy.ts

+67-69
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe('The Redesigned Create Protocol Landing Page', () => {
1010
cy.closeAnalyticsModal()
1111
})
1212

13-
it('content and step 1 flow works', () => {
13+
it('Tests transfer', () => {
1414
cy.clickCreateNew()
1515
cy.verifyCreateNewHeader()
1616
const steps: StepsList = [
@@ -31,36 +31,36 @@ describe('The Redesigned Create Protocol Landing Page', () => {
3131
SetupActions.Confirm,
3232
SetupVerifications.StepTwoPart3,
3333
UniversalActions.Snapshot,
34-
Actions.Confirm,
35-
Verifications.OnStep3,
36-
Actions.YesGripper,
37-
Actions.Confirm,
38-
Verifications.Step4Verification,
39-
Actions.AddThermocycler,
40-
Verifications.ThermocyclerImg,
41-
Actions.AddHeaterShaker,
42-
Verifications.HeaterShakerImg,
43-
Actions.AddMagBlock,
44-
Verifications.MagBlockImg,
45-
Actions.AddTempdeck2,
46-
Verifications.Tempdeck2Img,
47-
Actions.Confirm,
48-
Actions.Confirm,
49-
Actions.Confirm,
50-
Actions.EditProtocolA,
51-
Actions.ChoseDeckSlotC2,
52-
Actions.AddHardwareLabware,
53-
Actions.ClickLabwareHeader,
54-
Actions.ClickWellPlatesSection,
55-
Actions.SelectArmadillo96WellPlate,
56-
Actions.ChoseDeckSlotC2Labware,
57-
Actions.AddLiquid,
58-
Actions.ClickLiquidButton,
59-
Actions.DefineLiquid,
60-
Actions.LiquidSaveWIP,
61-
Actions.WellSelector,
62-
Actions.LiquidDropdown,
63-
Verifications.LiquidPage,
34+
SetupActions.Confirm,
35+
SetupVerifications.OnStep3,
36+
SetupActions.YesGripper,
37+
SetupActions.Confirm,
38+
SetupVerifications.Step4Verification,
39+
SetupActions.AddThermocycler,
40+
SetupVerifications.ThermocyclerImg,
41+
SetupActions.AddHeaterShaker,
42+
SetupVerifications.HeaterShakerImg,
43+
SetupActions.AddMagBlock,
44+
SetupVerifications.MagBlockImg,
45+
SetupActions.AddTempdeck2,
46+
SetupVerifications.Tempdeck2Img,
47+
SetupActions.Confirm,
48+
SetupActions.Confirm,
49+
SetupActions.Confirm,
50+
SetupActions.EditProtocolA,
51+
SetupActions.ChoseDeckSlotC2,
52+
SetupActions.AddHardwareLabware,
53+
SetupActions.ClickLabwareHeader,
54+
SetupActions.ClickWellPlatesSection,
55+
SetupActions.SelectArmadillo96WellPlate,
56+
SetupActions.ChoseDeckSlotC2Labware,
57+
SetupActions.AddLiquid,
58+
SetupActions.ClickLiquidButton,
59+
SetupActions.DefineLiquid,
60+
SetupActions.LiquidSaveWIP,
61+
SetupActions.WellSelector,
62+
SetupActions.LiquidDropdown,
63+
SetupVerifications.LiquidPage,
6464
UniversalActions.Snapshot,
6565
SetupActions.SelectLiquidWells,
6666
SetupActions.SetVolumeAndSaveforWells,
@@ -73,46 +73,44 @@ describe('The Redesigned Create Protocol Landing Page', () => {
7373
SetupActions.AddStep,
7474
SetupVerifications.TransferPopOut,
7575
UniversalActions.Snapshot,
76-
Actions.ChoseSourceLabware,
77-
Actions.SelectArmadillo96WellPlateTransfer,
78-
Actions.AddSourceLabwareDropdown,
79-
Actions.WellSelector,
80-
Actions.SaveSelectedWells,
81-
Actions.ChoseDestinationLabware,
82-
Actions.SelectBiorad,
83-
Actions.SelectDestinationWells,
84-
Actions.WellSelector,
85-
Actions.SaveSelectedWells,
86-
Actions.InputTransferVolume30,
87-
Actions.Continue,
88-
Actions.PrewetAspirate,
89-
Actions.DelayAspirate,
90-
Actions.TouchTipAspirate,
91-
Actions.MixAspirate,
92-
Actions.AirGapAspirate,
93-
Verifications.Delay,
94-
Verifications.PreWet,
95-
Verifications.TouchTip,
96-
Verifications.MixT,
97-
Verifications.AirGap,
98-
Actions.AspirateMixVolume,
99-
Actions.AspirateMixTimes,
100-
Actions.AspirateAirGapVolume,
101-
Actions.SelectDispense,
102-
Actions.DelayAspirate,
103-
Actions.TouchTipAspirate,
104-
Actions.MixAspirate,
105-
Actions.AirGapAspirate,
106-
Actions.DispenseMixVolume,
107-
Actions.DispenseMixTimes,
108-
Actions.DispenseAirGapVolume,
109-
Actions.BlowoutTransferDestination,
110-
Verifications.ExtraDispenseTransfer,
76+
SetupActions.ChoseSourceLabware,
77+
SetupActions.SelectArmadillo96WellPlateTransfer,
78+
SetupActions.AddSourceLabwareDropdown,
79+
SetupActions.WellSelector,
80+
SetupActions.SaveSelectedWells,
81+
SetupActions.ChoseDestinationLabware,
82+
SetupActions.SelectBiorad,
83+
SetupActions.SelectDestinationWells,
84+
SetupActions.WellSelector,
85+
SetupActions.SaveSelectedWells,
86+
SetupActions.InputTransferVolume30,
87+
SetupActions.Continue,
88+
SetupActions.PrewetAspirate,
89+
SetupActions.DelayAspirate,
90+
SetupActions.TouchTipAspirate,
91+
SetupActions.MixAspirate,
92+
SetupActions.AirGapAspirate,
93+
SetupVerifications.Delay,
94+
SetupVerifications.PreWet,
95+
SetupVerifications.TouchTip,
96+
SetupVerifications.MixT,
97+
SetupVerifications.AirGap,
98+
SetupActions.AspirateMixVolume,
99+
SetupActions.AspirateMixTimes,
100+
SetupActions.AspirateAirGapVolume,
101+
SetupActions.SelectDispense,
102+
SetupActions.DelayAspirate,
103+
SetupActions.TouchTipAspirate,
104+
SetupActions.MixAspirate,
105+
SetupActions.AirGapAspirate,
106+
SetupActions.DispenseMixVolume,
107+
SetupActions.DispenseMixTimes,
108+
SetupActions.DispenseAirGapVolume,
109+
SetupActions.BlowoutTransferDestination,
110+
SetupVerifications.ExtraDispenseTransfer,
111111
]
112-
runCreateTest(steps)
113-
112+
runSteps(steps)
114113
cy.contains('Save').click()
115114
cy.contains('button', 'Transfer').should('be.visible').click()
116-
runSteps(steps)
117115
})
118116
})

0 commit comments

Comments
 (0)