add test ids

This commit is contained in:
Niccolo Borgioli 2023-05-25 10:16:12 +02:00
parent fdc2722fb9
commit 2e89007c83
No known key found for this signature in database
GPG Key ID: D93C615F75EE4F0B

View File

@ -47,8 +47,13 @@
/> />
</div> </div>
<div class="flex"> <div class="flex">
<Switch bind:value={customPassword} label={$t('home.advanced.custom_password')} /> <Switch
data-testid="custom-password"
bind:value={customPassword}
label={$t('home.advanced.custom_password')}
/>
<TextInput <TextInput
data-testid="password"
type="password" type="password"
bind:value={note.password} bind:value={note.password}
label={$t('common.password')} label={$t('common.password')}