mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add data-test attributes to vue pages for e2e testing
This commit is contained in:
parent
0812beb050
commit
3ae58ca6a9
@ -24,10 +24,20 @@
|
||||
</b-container>
|
||||
<b-container v-else>
|
||||
<message
|
||||
:headline="success ? $t('message.title') : $t('message.errorTitle')"
|
||||
:subtitle="success ? $t('message.email') : $t('error.email-already-sent')"
|
||||
v-if="success"
|
||||
:headline="$t('message.title')"
|
||||
:subtitle="$t('message.email')"
|
||||
:buttonText="$t('login')"
|
||||
linkTo="/login"
|
||||
data-test="forgot-password-success"
|
||||
/>
|
||||
<message
|
||||
v-else
|
||||
:headline="$t('message.errorTitle')"
|
||||
:subtitle="$t('error.email-already-sent')"
|
||||
:buttonText="$t('login')"
|
||||
linkTo="/login"
|
||||
data-test="forgot-password-error"
|
||||
/>
|
||||
</b-container>
|
||||
</div>
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
</b-row>
|
||||
<b-row>
|
||||
<b-col class="d-flex justify-content-end">
|
||||
<router-link to="/forgot-password" class="mt-3" data-test=forgot-password-link>
|
||||
<router-link to="/forgot-password" class="mt-3" data-test="forgot-password-link">
|
||||
{{ $t('settings.password.forgot_pwd') }}
|
||||
</router-link>
|
||||
</b-col>
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<b-form role="form" @submit.prevent="handleSubmit(onSubmit)">
|
||||
<input-password-confirmation v-model="form" />
|
||||
<div class="text-center">
|
||||
<b-button type="submit" variant="gradido" class="mt-4">
|
||||
<b-button type="submit" variant="gradido" class="mt-4" data-test="submit-new-password-btn">
|
||||
<!-- eslint-disable-next-line @intlify/vue-i18n/no-dynamic-keys-->
|
||||
{{ $t(displaySetup.button) }}
|
||||
</b-button>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user