Fix registration tests
This commit is contained in:
parent
3f8c604a0c
commit
17d3978c46
|
|
@ -211,10 +211,10 @@
|
|||
data-cy="passwordConfirmation-input"
|
||||
>
|
||||
<small
|
||||
v-if="errors.has('password-confirmation') && submitted"
|
||||
class="skillboxform-input__error"
|
||||
data-cy="passwordConfirmation-local-errors"
|
||||
v-if="errors.has('passwordConfirmation') && submitted"
|
||||
>{{ errors.first('passwordConfirmation') }}</small>
|
||||
>{{ errors.first('password-confirmation') }}</small>
|
||||
</div>
|
||||
<div class="change-form__field skillboxform-input">
|
||||
<checkbox
|
||||
|
|
@ -224,7 +224,7 @@
|
|||
class="skillboxform-input__checkbox"
|
||||
:checked="acceptedTerms"
|
||||
v-validate="'required:true'"
|
||||
:class="{ 'skillboxform-input__input--error': errors.has('acceptedTerms') && submitted}"
|
||||
:class="{ 'skillboxform-input__input--error': errors.has('accepted-terms') && submitted}"
|
||||
data-cy="acceptedTerms-input"
|
||||
>
|
||||
<span>Hiermit akzeptiere ich die <a href="https://www.hep-verlag.ch/agb" target="_blank" class="hep-link">AGB</a> und
|
||||
|
|
@ -247,7 +247,6 @@
|
|||
class="button button--primary button--big actions__submit"
|
||||
data-cy="register-button">Konto erstellen</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue