mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Dev gmandakini automate actionmenu for rows (#4905)
* removing hte test as iti s duplicated. The same tests exist under e2e/content-services/document-list/document-list-actions.e2e.ts * C260127 - Move - Destination picker search, test for content highlighted * C260128 - Move same name file test added * test name updated * C260134 - Move Folder with subfolder and file within it, test added * formatting * C260135 - Move same name folder - test added * C260131 - Copy - Destination picker search, search text highlighted in the results in the Copy dialog. * C260129, C260136 - Tests for Copy same name file and same name folder added * added tests for Copy and Move actions on no permission folder. * added tests for Copy and Move actions on no permission folder.
This commit is contained in:
committed by
Eugenio Romano
parent
cf761ba0b2
commit
939277366f
@@ -324,6 +324,12 @@ export class DataTableComponentPage {
|
||||
return cell;
|
||||
}
|
||||
|
||||
checkCellByHighlightContent(content) {
|
||||
const cell = this.rootElement.element(by.cssContainingText(`div[class*='adf-datatable-row'] div[class*='adf-name-location-cell-name'] span.adf-highlight`, content));
|
||||
BrowserVisibility.waitUntilElementIsVisible(cell);
|
||||
return cell;
|
||||
}
|
||||
|
||||
clickRowByContent(name) {
|
||||
const resultElement = this.rootElement.all(by.css(`div[data-automation-id='${name}']`)).first();
|
||||
BrowserActions.click(resultElement);
|
||||
@@ -335,6 +341,12 @@ export class DataTableComponentPage {
|
||||
return this;
|
||||
}
|
||||
|
||||
checkRowContentIsDisabled(content) {
|
||||
const resultElement = this.rootElement.all(by.css(`div[data-automation-id='${content}'] div.adf-cell-value img[aria-label='disable']`)).first();
|
||||
BrowserVisibility.waitUntilElementIsVisible(resultElement);
|
||||
return this;
|
||||
}
|
||||
|
||||
doubleClickRowByContent(name) {
|
||||
const resultElement = this.rootElement.all(by.css(`div[data-automation-id='${name}']`)).first();
|
||||
BrowserActions.click(resultElement);
|
||||
|
Reference in New Issue
Block a user