diff --git a/libs/e2e-test-ids/src/e2e-test-ids.ts b/libs/e2e-test-ids/src/e2e-test-ids.ts index e59041910c..b281207187 100644 --- a/libs/e2e-test-ids/src/e2e-test-ids.ts +++ b/libs/e2e-test-ids/src/e2e-test-ids.ts @@ -34,6 +34,7 @@ export enum BackupModalTestIds { Description = "backup-features-modal-description", FeatureElementActive = "backup-features-modal-element-active", FeatureElementInactive = "backup-features-modal-element-inactive", + CreateBackupAction = "backup-features-modal-create-action", } export enum ModalTestIds { diff --git a/libs/generic-view/ui/src/lib/predefined/backup/backup-features.tsx b/libs/generic-view/ui/src/lib/predefined/backup/backup-features.tsx index 1d06819449..3d2b09cf69 100644 --- a/libs/generic-view/ui/src/lib/predefined/backup/backup-features.tsx +++ b/libs/generic-view/ui/src/lib/predefined/backup/backup-features.tsx @@ -100,6 +100,7 @@ export const BackupFeatures: FunctionComponent = ({ text: intl.formatMessage(messages.createButtonLabel), action: nextAction, }} + data-testid={BackupModalTestIds.CreateBackupAction} />