mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
Restore "[ACS-8113] UX bug - Checkbox selections checked state should be Hyland blue not green- edit summary (#3908)" (#3919)
* [ACS-8113] UX bug - Checkbox selections checked state should be Hyland blue not green- edit summary (#3908) * [ACS-8113] dataTable checkbox e2e fix 1 --------- Co-authored-by: jacekpluta <73617938+jacekpluta@users.noreply.github.com> Co-authored-by: datguychen <adam.swiderski@hyland.com>
This commit is contained in:
@@ -242,6 +242,7 @@ export class DataTableComponent extends BaseComponent {
|
||||
const isSelected = await this.isRowSelected(name);
|
||||
if (!isSelected) {
|
||||
let row = this.getRowByName(name);
|
||||
await row.hover();
|
||||
await row.locator('.mat-mdc-checkbox').click();
|
||||
await row.locator('.mat-mdc-checkbox-checked').waitFor({ state: 'attached' });
|
||||
}
|
||||
@@ -250,6 +251,7 @@ export class DataTableComponent extends BaseComponent {
|
||||
async selectMultiItem(...names: string[]): Promise<void> {
|
||||
for (const name of names) {
|
||||
let row = this.getRowByName(name);
|
||||
await row.hover();
|
||||
await row.locator('.mat-mdc-checkbox').click();
|
||||
await row.locator('.mat-mdc-checkbox-checked').waitFor({ state: 'attached' });
|
||||
await this.page.waitForTimeout(1000);
|
||||
|
Reference in New Issue
Block a user