mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-08-07 17:48:27 +00:00
[ACS-5678] create folder from template tests (#3456)
* [ACS-5678] create folder from template tests * taking out only flag * fixes for linter, import, method name and locator * fix import and utils strings
This commit is contained in:
@@ -39,10 +39,14 @@ export class DataTableComponent extends BaseComponent {
|
||||
getEmptyFolderLocator = this.getChild('.adf-empty-folder');
|
||||
getEmptyContentTitleLocator = this.getChild('adf-empty-content .adf-empty-content__title');
|
||||
getEmptyContentSubTitleLocator = this.getChild('adf-empty-content .adf-empty-content__subtitle');
|
||||
getSelectedRow = this.getChild('.adf-datatable-row.adf-is-selected');
|
||||
|
||||
/** Locator for row (or rows) */
|
||||
getRowLocator = this.getChild(`adf-datatable-row`);
|
||||
|
||||
/** Locator to get "No results found" message */
|
||||
getNoResultsFoundMessage = this.getChild('adf-custom-empty-content-template', { hasText: "No results found" });
|
||||
|
||||
/**
|
||||
* Method used in cases where we want to check that some record is visible in the datatable. It will consider whole row
|
||||
*
|
||||
|
@@ -35,6 +35,7 @@ export class MatMenuComponent extends BaseComponent {
|
||||
public getMenuItemsLocator = this.getChild('button');
|
||||
public getMenuItemTextLocator = this.getChild('[data-automation-id="menu-item-title"]');
|
||||
public createFolder = this.getChild('[id="app.create.folder"]');
|
||||
public createFolderFromTemplate = this.getChild('[id="app.create.folderFromTemplate"]');
|
||||
public createLibrary = this.getChild('[id="app.create.library"]');
|
||||
public getButtonByText = (text: string) => this.getChild('button', { hasText: text });
|
||||
|
||||
|
Reference in New Issue
Block a user