Skip to content

Commit

Permalink
Added ids for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mazhutoanton committed Feb 25, 2025
1 parent 22a65f2 commit 197f879
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/ui/src/components/OtpInput/OtpInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export const OtpInput = forwardRef<null, OtpProps>(({ value, onChange, errorMess
return (
<Box display="flex" flexDirection="column" alignItems="center">
<OTPField
id="otp"
ref={ref}
value={value}
autoFocus
Expand Down
4 changes: 4 additions & 0 deletions src/components/Login/IntroPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Button, CereIcon, Divider, Stack, styled } from '@cere-wallet/ui';
import { InfoStepper } from './components';
import { useLocation, useNavigate } from 'react-router-dom';
import { ANALYTICS } from '~/constants';
import { useEffect, useRef } from 'react';

const CereLogo = styled(CereIcon)(({ theme }) => ({
fontSize: theme.typography.pxToRem(48),
Expand All @@ -21,6 +22,8 @@ export const IntroPage = () => {

<Stack direction="column" alignItems="stretch" spacing={1} paddingTop={2}>
<Button
id="sign_up"
component="button"
variant="contained"
size="large"
className={ANALYTICS.createWalletBtnClass}
Expand All @@ -29,6 +32,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 197f879

Please sign in to comment.