mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-17 16:44:49 -04:00
fix: Fix sign-in-button cypress tests
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
7f7f020d91
commit
f2ae04743a
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@ export const SignInButton: React.FC<SignInButtonProps> = ({ variant, ...props })
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ShowIf condition={authProviders.length > 0}>
|
<ShowIf condition={authProviders.length > 0}>
|
||||||
<Link href={loginLink} passHref={true}>
|
<Link href={loginLink} passHref={true} {...cypressId('sign-in-button')}>
|
||||||
<Button title={t('login.signIn')} {...cypressId('sign-in-button')} variant={variant || 'success'} {...props}>
|
<Button title={t('login.signIn')} variant={variant || 'success'} {...props}>
|
||||||
<Trans i18nKey='login.signIn' />
|
<Trans i18nKey='login.signIn' />
|
||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue