diff --git a/apps/trading/client-pages/competitions/competitions-create-team.tsx b/apps/trading/client-pages/competitions/competitions-create-team.tsx index 31906568d..21661fef3 100644 --- a/apps/trading/client-pages/competitions/competitions-create-team.tsx +++ b/apps/trading/client-pages/competitions/competitions-create-team.tsx @@ -71,18 +71,27 @@ const CreateTeamFormContainer = ({ isSolo }: { isSolo: boolean }) => { if (status === 'confirmed') { return ( -
+

{t('Team creation transaction successful')}

{code && ( <>

Your team ID is:{' '} - {code} + + {code} +

{t('View team')} diff --git a/apps/trading/client-pages/competitions/competitions-home.tsx b/apps/trading/client-pages/competitions/competitions-home.tsx index 4b933f716..24217c02e 100644 --- a/apps/trading/client-pages/competitions/competitions-home.tsx +++ b/apps/trading/client-pages/competitions/competitions-home.tsx @@ -60,6 +60,7 @@ export const CompetitionsHome = () => { e.preventDefault(); navigate(Links.COMPETITIONS_CREATE_TEAM()); }} + data-testid="create-public-team-button" > {t('Create a public team')} @@ -78,6 +79,7 @@ export const CompetitionsHome = () => { e.preventDefault(); navigate(Links.COMPETITIONS_CREATE_TEAM_SOLO()); }} + data-testid="create-private-team-button" > {t('Create a private team')} @@ -96,6 +98,7 @@ export const CompetitionsHome = () => { e.preventDefault(); navigate(Links.COMPETITIONS_TEAMS()); }} + data-testid="choose-team-button" > {t('Choose a team')} diff --git a/apps/trading/client-pages/competitions/join-team.tsx b/apps/trading/client-pages/competitions/join-team.tsx index 0d583f5a0..47d54db0f 100644 --- a/apps/trading/client-pages/competitions/join-team.tsx +++ b/apps/trading/client-pages/competitions/join-team.tsx @@ -105,7 +105,11 @@ export const JoinButton = ({ // Party is in a team, but not this one else if (partyTeam && partyTeam.teamId !== team.teamId) { return ( - ); @@ -215,7 +219,11 @@ const DialogContent = ({ )}
-