mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fixed unit test problem and some other e2e
This commit is contained in:
@@ -16,7 +16,8 @@
|
||||
cancel
|
||||
</mat-icon>
|
||||
</mat-chip-row>
|
||||
<input *ngIf="!isReadonly()" matInput
|
||||
<input [disabled]="isReadonly()" matInput
|
||||
#chipInput
|
||||
[formControl]="searchUserCtrl"
|
||||
[matAutocomplete]="auto"
|
||||
[matChipInputFor]="userMultipleChipList"
|
||||
|
@@ -36,19 +36,35 @@
|
||||
</div>
|
||||
|
||||
<div *ngIf="!readOnly">
|
||||
<button mat-button [disabled]="!hasSelection()" (click)="moveSelectionUp()">
|
||||
<button mat-button
|
||||
data-automation-id="dynamic-table-button-move-up"
|
||||
[disabled]="!hasSelection()"
|
||||
(click)="moveSelectionUp()">
|
||||
<mat-icon>arrow_upward</mat-icon>
|
||||
</button>
|
||||
<button mat-button [disabled]="!hasSelection()" (click)="moveSelectionDown()">
|
||||
<button mat-button
|
||||
data-automation-id="dynamic-table-button-move-down"
|
||||
[disabled]="!hasSelection()"
|
||||
(click)="moveSelectionDown()">
|
||||
<mat-icon>arrow_downward</mat-icon>
|
||||
</button>
|
||||
<button mat-button [disabled]="field.readOnly" id="{{content.id}}-add-row" (click)="addNewRow()">
|
||||
<button mat-button
|
||||
data-automation-id="dynamic-table-button-add-row"
|
||||
[disabled]="field.readOnly"
|
||||
id="{{content.id}}-add-row"
|
||||
(click)="addNewRow()">
|
||||
<mat-icon>add_circle_outline</mat-icon>
|
||||
</button>
|
||||
<button mat-button [disabled]="!hasSelection()" (click)="deleteSelection()">
|
||||
<button mat-button
|
||||
data-automation-id="dynamic-table-button-remove"
|
||||
[disabled]="!hasSelection()"
|
||||
(click)="deleteSelection()">
|
||||
<mat-icon>remove_circle_outline</mat-icon>
|
||||
</button>
|
||||
<button mat-button [disabled]="!hasSelection()" (click)="editSelection()">
|
||||
<button mat-button
|
||||
data-automation-id="dynamic-table-button-edit"
|
||||
[disabled]="!hasSelection()"
|
||||
(click)="editSelection()">
|
||||
<mat-icon>edit</mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
|
@@ -26,7 +26,7 @@ export class DynamicTableWidgetPage {
|
||||
labelLocator: Locator = by.css('dynamic-table-widget div div');
|
||||
columnNameLocator: Locator = by.css('table[id*="dynamic-table"] th');
|
||||
cancelButton = element(by.cssContainingText('button span', 'Cancel'));
|
||||
editButton = element(by.cssContainingText('button span', 'edit'));
|
||||
editButton = element(by.css('[data-automation-id="dynamic-table-button-edit"]'));
|
||||
columnDateTime = $('#columnDateTime');
|
||||
columnDate = $('#columnDate');
|
||||
calendarHeader = $(materialLocators.DatetimePicker.calendar.header.date.time);
|
||||
|
Reference in New Issue
Block a user