mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
Rename data-e2e to data-test
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
placeholder="{{'login.form.email' | translate}}"
|
||||
required
|
||||
type="email"
|
||||
data-e2e="email">
|
||||
data-test="email">
|
||||
<label class="sr-only">{{"login.form.password" | translate}}</label>
|
||||
<input [attr.aria-label]="'login.form.password' |translate"
|
||||
autocomplete="off"
|
||||
@@ -19,12 +19,12 @@
|
||||
formControlName="password"
|
||||
required
|
||||
type="password"
|
||||
data-e2e="password">
|
||||
data-test="password">
|
||||
<div *ngIf="(error | async) && hasError" class="alert alert-danger" role="alert"
|
||||
@fadeOut>{{ (error | async) | translate }}</div>
|
||||
<div *ngIf="(message | async) && hasMessage" class="alert alert-info" role="alert"
|
||||
@fadeOut>{{ (message | async) | translate }}</div>
|
||||
|
||||
<button class="btn btn-lg btn-primary btn-block mt-3" type="submit" data-e2e="login-button"
|
||||
<button class="btn btn-lg btn-primary btn-block mt-3" type="submit" data-test="login-button"
|
||||
[disabled]="!form.valid"><i class="fas fa-sign-in-alt"></i> {{"login.form.submit" | translate}}</button>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user