mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-3739] Fix task_filters_cloud.e2e.ts tests (#4030)
* Fix task_filters_cloud.e2e.ts tests * fix locators * fix protractor import * update tests and delete the duplicated test * update selectors * move methods and update methods for custom filters * remove comments * change user for apps_section_cloud.e2e.ts * remove user * delete old dataTablePage.js file * update selectors * remove unused methods * add variable for user and password
This commit is contained in:
committed by
Eugenio Romano
parent
6a6e9f3b39
commit
ef8e15ff60
@@ -216,19 +216,19 @@ export class DataTablePage {
|
||||
}
|
||||
|
||||
checkContentIsDisplayed(content) {
|
||||
let row = by.cssContainingText(`span`, content);
|
||||
let row = by.cssContainingText(`[data-automation-id*="${content}"]`, content);
|
||||
Util.waitUntilElementIsVisible(this.tableBody.all(row).first());
|
||||
return this;
|
||||
}
|
||||
|
||||
checkContentIsNotDisplayed(content) {
|
||||
let row = by.cssContainingText(`span`, content);
|
||||
let row = by.cssContainingText(`[data-automation-id*="${content}"]`, content);
|
||||
Util.waitUntilElementIsNotOnPage(this.tableBody.all(row).first());
|
||||
return this;
|
||||
}
|
||||
|
||||
selectRowByContentName(content) {
|
||||
let row = by.cssContainingText(`span`, content);
|
||||
let row = by.cssContainingText(`[data-automation-id*="${content}"]`, content);
|
||||
Util.waitUntilElementIsVisible(this.tableBody.element(row));
|
||||
this.tableBody.element(row).click();
|
||||
return this;
|
||||
|
Reference in New Issue
Block a user