feat: migrating electron e2e from spectron (deprecated) to wdio (#32)
This commit is contained in:
@@ -1,19 +1,29 @@
|
||||
<div id="multiples">
|
||||
<div class="container">
|
||||
<button (click)="translateIn('en')">EN</button>
|
||||
<button (click)="translateIn('fr')">FR</button>
|
||||
<h2>{{ 'MULTIPLES.TITLE' | translate }}</h2>
|
||||
<form [formGroup]="timesTableForm" (ngSubmit)="onSubmit()">
|
||||
<div class="form-group">
|
||||
<input type="number" class="form-control" formControlName="input" required />
|
||||
</div>
|
||||
<button type="submit" class="btn btn-success" [disabled]="!timesTableForm.valid">
|
||||
{{ 'MULTIPLES.SUBMIT' | translate }}
|
||||
</button>
|
||||
</form>
|
||||
<div class="container">
|
||||
<button (click)="translateIn('en')">EN</button>
|
||||
<button (click)="translateIn('fr')">FR</button>
|
||||
<h2>{{ 'MULTIPLES.TITLE' | translate }}</h2>
|
||||
<form [formGroup]="timesTableForm" (ngSubmit)="onSubmit()">
|
||||
<div class="form-group">
|
||||
<input
|
||||
id="input"
|
||||
type="number"
|
||||
class="form-control"
|
||||
formControlName="input"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
<button
|
||||
type="submit"
|
||||
class="btn btn-success"
|
||||
[disabled]="!timesTableForm.valid"
|
||||
>
|
||||
{{ 'MULTIPLES.SUBMIT' | translate }}
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<h3 *ngFor="let multiple of multiples; let i = index">
|
||||
{{ timesTableForm.value.input }} * {{ 1 + i }} = {{ multiple }}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
<h3 class="results" *ngFor="let multiple of multiples; let i = index">
|
||||
{{ timesTableForm.value.input }} * {{ 1 + i }} = {{ multiple }}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user