mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-3530] Share file dialog - AC update (#3847)
* AC update * use simple-snack-bar selector * toContain matcher * use fakeAsync for dialog content * spy on snackbar component * test NotificationService call * tick * use fixture whenStable
This commit is contained in:
committed by
Eugenio Romano
parent
ea916a63a9
commit
4ca80e13f1
@@ -12,7 +12,7 @@
|
||||
|
||||
<mat-slide-toggle
|
||||
color="primary"
|
||||
id="adf-share-toggle"
|
||||
data-automation-id="adf-share-toggle"
|
||||
[checked]="isFileShared"
|
||||
[disabled]="!canUpdate || isDisabled"
|
||||
(change)="onSlideShareChange($event)">
|
||||
@@ -48,4 +48,12 @@
|
||||
</mat-form-field>
|
||||
</form>
|
||||
</mat-dialog-content>
|
||||
|
||||
<div mat-dialog-actions>
|
||||
<button
|
||||
data-automation-id="adf-share-dialog-close"
|
||||
mat-button color="primary" mat-dialog-close>
|
||||
{{ 'SHARE.CLOSE' | translate }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user