Skip to content

Commit fa52851

Browse files
committed
use data-testid to fix cypress test timeout error
1 parent 65b3409 commit fa52851

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

protocol-designer/cypress/support/MixSteps.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ enum MixLocators {
106106
PosFromBottom = '[id="TipPositionField_mix_touchTip_mmFromBottom"]',
107107
RenameBtn = 'button:contains("Rename")',
108108
StepNameInput = '[class="InputField__StyledInput-sc-1gyyvht-0 cLVzBl"]',
109-
StepNotesInput = '[class="TextAreaField__StyledTextArea-sc-ug50vm-0 fSXuLe"]',
110-
// StepNotesInput = '[data-testid="TextAreaField_step_notes"]',
109+
// StepNotesInput = '[class="TextAreaField__StyledTextArea-sc-1mhuse7-0 hpcyEZ"]',
110+
StepNotesInput = '[data-testid="TextAreaField"]',
111111
PosFromTop = '[data-testid="TipPositionField_mix_touchTip_mmFromTop"]',
112112
}
113113

0 commit comments

Comments
 (0)