From ec40be2a699c40187fad489c10f82bddc7f93973 Mon Sep 17 00:00:00 2001 From: MateuszMudita Date: Thu, 19 Sep 2024 11:15:32 +0200 Subject: [PATCH] Added data testid to Create Backup Action --- libs/e2e-test-ids/src/e2e-test-ids.ts | 1 + .../ui/src/lib/predefined/backup/backup-features.tsx | 1 + 2 files changed, 2 insertions(+) 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} />