Skip to content

Commit

Permalink
Added ids for tests (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
mazhutoanton authored Feb 27, 2025
1 parent 22a65f2 commit eb33bac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/OtpInput/OtpInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const OtpInput = forwardRef<null, OtpProps>(({ value, onChange, errorMess
const hasError = !!errorMessage;

return (
<Box display="flex" flexDirection="column" alignItems="center">
<Box id="otp_block" display="flex" flexDirection="column" alignItems="center">
<OTPField
ref={ref}
value={value}
Expand Down
2 changes: 2 additions & 0 deletions src/components/Login/IntroPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const IntroPage = () => {

<Stack direction="column" alignItems="stretch" spacing={1} paddingTop={2}>
<Button
id="sign_up"
variant="contained"
size="large"
className={ANALYTICS.createWalletBtnClass}
Expand All @@ -29,6 +30,7 @@ export const IntroPage = () => {
Create a new wallet
</Button>
<Button
id="sign_in"
variant="outlined"
size="large"
className={ANALYTICS.existingWalletBtnClass}
Expand Down

0 comments on commit eb33bac

Please sign in to comment.