Skip to content

Commit fc03256

Browse files
add helper for integration tests
1 parent 81338b1 commit fc03256

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

client/src/features/sessionsV2/SessionRepositoriesModal.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,19 @@ export default function SessionRepositoriesModal({
124124
<ModalHeader tag="h2">Session repositories not accessible</ModalHeader>
125125
<ModalBody>{content}</ModalBody>
126126
<ModalFooter>
127-
<Button color="outline-primary" onClick={onCancel}>
127+
<Button
128+
color="outline-primary"
129+
data-cy="session-repositories-modal-cancel"
130+
onClick={onCancel}
131+
>
128132
<XLg className={cx("bi", "me-1")} />
129133
Cancel
130134
</Button>
131-
<Button color="outline-primary" onClick={onSkip}>
135+
<Button
136+
color="outline-primary"
137+
data-cy="session-repositories-modal-continue"
138+
onClick={onSkip}
139+
>
132140
<SkipForward className={cx("bi", "me-1")} />
133141
Launch anyway
134142
</Button>

0 commit comments

Comments
 (0)