File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
compass-connections/src/components
compass-e2e-tests/helpers Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,12 @@ export function showEndOfLifeMongoDBWarningModal(
4242 < Link
4343 href = "https://www.mongodb.com/legal/support-policy/lifecycles"
4444 target = "_blank"
45- data-testid = "end-of-life-warning -modal-learn-more-link"
45+ data-testid = "end-of-life-connection -modal-learn-more-link"
4646 >
4747 Learn more from the MongoDB Lifecycle Schedules.
4848 </ Link >
4949 </ >
5050 ) ,
51+ 'data-testid' : 'end-of-life-connection-modal' ,
5152 } ) ;
5253}
Original file line number Diff line number Diff line change @@ -231,6 +231,11 @@ export const ConnectionModalCloseButton = `${ConnectionModal} [aria-label="Close
231231export const ConnectionModalConnectButton = '[data-testid="connect-button"]' ;
232232export const ConnectionModalSaveButton = '[data-testid="save-button"]' ;
233233
234+ // End of life connection modal
235+ export const EndOfLifeConnectionModal =
236+ '[data-testid="end-of-life-connection-modal"]' ;
237+ export const EndOfLifeConnectionModalConfirmButton = `${ EndOfLifeConnectionModal } [data-testid="lg-confirmation_modal-footer-confirm_button"]` ;
238+
234239// Connection process toast
235240export const connectionToastById = ( connectionId : string ) => {
236241 return `[data-testid="toast-connection-status--${ connectionId } "]` ;
You can’t perform that action at this time.
0 commit comments