mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-19551 e2e material locators refactor (#9403)
* AAE-19551 e2e-material-locators-refactor * testing lib * e2e lib * playwright refactor * fix lint issues * bring back excluded process e2e * fix spinner * locator fixes
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
import { by, browser, ElementFinder, $, $$ } from 'protractor';
|
||||
import { BrowserVisibility, BrowserActions } from '@alfresco/adf-testing';
|
||||
import { BrowserVisibility, BrowserActions, materialLocators } from '@alfresco/adf-testing';
|
||||
|
||||
export class UploadDialogPage {
|
||||
closeButton = $('#adf-upload-dialog-close');
|
||||
@@ -24,7 +24,7 @@ export class UploadDialogPage {
|
||||
minimizedDialog = $('div[class*="upload-dialog--minimized"]');
|
||||
uploadedStatusIcon = '.adf-file-uploading-row__status--done';
|
||||
cancelledStatusIcon = 'div[class*="status--cancelled"]';
|
||||
errorStatusIcon = 'div[class*="status--error"] mat-icon';
|
||||
errorStatusIcon = `div[class*="status--error"] ${materialLocators.Icon.root}`;
|
||||
rowByRowName = by.xpath('ancestor::adf-file-uploading-list-row');
|
||||
title = $('span[class*="upload-dialog__title"]');
|
||||
toggleMinimizeButton = $(`[data-automation-id='adf-upload-dialog__toggle-minimize']`);
|
||||
|
Reference in New Issue
Block a user