[no-issue-e2e] directive crete folder new e2e (#3677)

* new folder directive e2e

* fix search test

* fix pr-deploy script
This commit is contained in:
Eugenio Romano
2018-08-09 01:17:57 +01:00
committed by Eugenio Romano
parent 9c22c13434
commit c089c87630
10 changed files with 202 additions and 24 deletions

View File

@@ -6,11 +6,11 @@
<form [formGroup]="form" (submit)="submit()">
<mat-form-field class="adf-full-width">
<input
id="adf-folder-name-input"
placeholder="{{ 'CORE.FOLDER_DIALOG.FOLDER_NAME.LABEL' | translate }}"
matInput
required
[formControl]="form.controls['name']"
/>
[formControl]="form.controls['name']"/>
<mat-hint *ngIf="form.controls['name'].dirty">
<span *ngIf="form.controls['name'].errors?.required">
@@ -28,6 +28,7 @@
<mat-form-field class="adf-full-width">
<textarea
id="adf-folder-description-input"
matInput
placeholder="{{ 'CORE.FOLDER_DIALOG.FOLDER_DESCRIPTION.LABEL' | translate }}"
rows="4"
@@ -41,11 +42,13 @@
<button
mat-button
id="adf-folder-cancel-button"
mat-dialog-close>
{{ 'CORE.FOLDER_DIALOG.CANCEL_BUTTON.LABEL' | translate }}
</button>
<button class="adf-dialog-action-button"
id="adf-folder-create-button"
mat-button
(click)="submit()"
[disabled]="!form.valid">