Skip to content

Commit c1b8963

Browse files
committed
feat: remove outdated tests for ReturnUserExperience and add new tests for RuxPhoneNumber component
1 parent 2308242 commit c1b8963

4 files changed

Lines changed: 103 additions & 300 deletions

File tree

src/ReturnUserExperience/ReturnUserExperience-test.tsx

Lines changed: 0 additions & 146 deletions
This file was deleted.

src/ReturnUserExperience/ReturnUserExperience.test.tsx

Lines changed: 0 additions & 152 deletions
This file was deleted.

src/ReturnUserExperience/RuxPhoneNumber.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export const RuxPhoneNumber = ({
3838
<Link
3939
className={styles.primaryLink}
4040
href="https://mx.com/learn-more"
41+
rel="noopener noreferrer"
4142
sx={{
4243
color: palette.primary.main,
4344
fontWeight: 'normal',
@@ -91,6 +92,7 @@ export const RuxPhoneNumber = ({
9192
{__('By selecting "Continue", you agree to ')}
9293
<Link
9394
href="https://www.mx.com/terms/"
95+
rel="noopener noreferrer"
9496
sx={{
9597
fontWeight: 'normal',
9698
marginLeft: 0,
@@ -105,10 +107,10 @@ export const RuxPhoneNumber = ({
105107
{__("MX's Terms & Conditions")}
106108
</Link>
107109
</Text>
108-
<Button onClick={handleRuxContinue} variant="contained">
110+
<Button name="continue" onClick={handleRuxContinue} variant="contained">
109111
{__('Continue')}
110112
</Button>
111-
<Button onClick={handleContinueWithoutPhone} variant="text">
113+
<Button name="continueWithoutPhone" onClick={handleContinueWithoutPhone} variant="text">
112114
{__('Continue without phone number')}
113115
</Button>
114116
</Stack>

0 commit comments

Comments
 (0)