mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-7364] Changed getRowsCount&getNthRow method not to count header row (#3752)
* Changed getRowsCount method not to count header row * Removed commented code * Fixed missing empty line * Fixed getNthRow method usage
This commit is contained in:
@@ -57,7 +57,7 @@ export class DataTableComponent extends BaseComponent {
|
||||
sitesRole = this.page.locator('.adf-datatable-body [data-automation-id*="datatable-row"] [aria-label="My Role"]');
|
||||
|
||||
/** Locator for row (or rows) */
|
||||
getRowLocator = this.getChild(`adf-datatable-row`);
|
||||
getRowLocator = this.page.getByRole('rowgroup').nth(1).locator('adf-datatable-row');
|
||||
|
||||
/** Locator to get "No results found" message */
|
||||
getNoResultsFoundMessage = this.getChild('adf-custom-empty-content-template', { hasText: 'No results found' });
|
||||
|
Reference in New Issue
Block a user