mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[no-issue] general fix e2e and unit test (#3903)
* add missing import remove creation folder in redirect test in main folder fix update script update node js-api to last alpha before to install improve share dialog test * update gnu * fix notification and search e2e * change name compatible with file name * improve failing test to avoid cdk overlay problems * [ADF-3561] fix Outcome not translatable * increase sleep in user permission checklist missing uppercase comment possible different value in test due time * improve document list actions * improve document list action test * tag refresh bbefore next test comment possible value due the time
This commit is contained in:
@@ -30,10 +30,7 @@ export class ClipboardService {
|
||||
|
||||
isTargetValid(target: HTMLInputElement | HTMLTextAreaElement) {
|
||||
if (target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement) {
|
||||
if (target.hasAttribute('disabled')) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return !target.hasAttribute('disabled');
|
||||
}
|
||||
|
||||
this.logService.error(`${target} should be input or textarea`);
|
||||
|
@@ -26,7 +26,7 @@
|
||||
[class.mdl-button--colored]="!outcome.isSystem"
|
||||
[class.adf-form-hide-button]="!isOutcomeButtonVisible(outcome, form.readOnly)"
|
||||
(click)="onOutcomeClicked(outcome)">
|
||||
{{ outcome.name | translate | uppercase}}
|
||||
{{ outcome.name | uppercase | translate | uppercase }}
|
||||
</button>
|
||||
</mat-card-content>
|
||||
<mat-card-actions *ngIf="showRefreshButton">
|
||||
|
@@ -66,4 +66,11 @@ export class NotificationService {
|
||||
|
||||
return this.snackBar.open(translatedMessage, action, config);
|
||||
}
|
||||
|
||||
/**
|
||||
* dismiss the notification snackbar
|
||||
*/
|
||||
dismissSnackMessageAction() {
|
||||
return this.snackBar.dismiss();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user