From cb2bfa2014eb151359c78c815c6d8c54cdffc526 Mon Sep 17 00:00:00 2001 From: "przemyslaw.wlodek" Date: Fri, 26 Jul 2024 12:19:48 +0200 Subject: [PATCH] test: add test ids for PasswordBox --- .../password-box/password-box-button.component.tsx | 3 +++ .../password-box/password-box-input.component.tsx | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/src/design-system/password-box/password-box-button.component.tsx b/src/design-system/password-box/password-box-button.component.tsx index 175471e..e93564f 100644 --- a/src/design-system/password-box/password-box-button.component.tsx +++ b/src/design-system/password-box/password-box-button.component.tsx @@ -10,12 +10,14 @@ interface PasswordBoxButtonProps { onClick: (event: Readonly>) => void; disabled: boolean; isPasswordVisible: boolean; + testId?: string; } export const PasswordInputButton = ({ onClick, disabled, isPasswordVisible, + testId, }: Readonly): JSX.Element => { return (