mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3823] Add tests for create site dialog (#4090)
* [ADF-3823] Create Library component tests * [ADF-3823] Create Library component tests * [ADF-3823] Fixing lint errors. * [ADF-3823] Added automation id for Create Library btn * [ADF-3823] Updated tests and added check for white spaces only. * [ADF-3823] Updated tests & rebased
This commit is contained in:
committed by
Eugenio Romano
parent
c7c4dcb659
commit
5b2887fea1
@@ -68,6 +68,7 @@
|
||||
color="primary"
|
||||
[disabled]="option.disabled"
|
||||
*ngFor="let option of visibilityOptions"
|
||||
[attr.data-automation-id]="option.value"
|
||||
[value]="option.value"
|
||||
[checked]="visibilityOption.value === option.value"
|
||||
>
|
||||
@@ -78,7 +79,7 @@
|
||||
</mat-dialog-content>
|
||||
|
||||
<mat-dialog-actions class="adf-action-buttons">
|
||||
<button mat-button mat-dialog-close>
|
||||
<button mat-button mat-dialog-close data-automation-id="cancel-library-id">
|
||||
{{ 'LIBRARY.DIALOG.CANCEL' | translate }}
|
||||
</button>
|
||||
|
||||
@@ -87,6 +88,7 @@
|
||||
mat-button
|
||||
(click)="submit()"
|
||||
[disabled]="!form.valid"
|
||||
data-automation-id="create-library-id"
|
||||
>
|
||||
{{ 'LIBRARY.DIALOG.CREATE' | translate }}
|
||||
</button>
|
||||
|
Reference in New Issue
Block a user