[ADF-3962] sso download directive automated (#4452)

* sso download directive automated

* temp changes

* temp changes

* moving of services under lib testing and ADF-3962 automated

* removed the browser sleep

* cspell and linting fixes.

* codacy improvements

* export public-api update

* remove circular dep

* remove circular dep

* fixes

* fix user info test

* fix datatable

* random commit

* move other string

* fix lint

* fix lint

* fix prolem type

* fix failing test

* fix tag test

* fix problems after rebase

* fix lint

* remove space

* remove visibility method duplicated
This commit is contained in:
gmandakini
2019-03-27 09:36:58 +00:00
committed by Eugenio Romano
parent 89f612bbb0
commit 4376d357ac
191 changed files with 2664 additions and 2299 deletions

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { Util } from '../../../util/util';
import { BrowserVisibility } from '@alfresco/adf-testing';
import { DataTableComponentPage } from '../dataTableComponentPage';
import { element, by } from 'protractor';
@@ -67,7 +67,7 @@ export class TaskListCloudComponent {
}
getRow(taskName) {
return this.dataTable.getRow('Name', taskName);
return this.dataTable.getRowElement('Name', taskName);
}
checkContentIsDisplayedByProcessInstanceId(taskName) {
@@ -87,12 +87,12 @@ export class TaskListCloudComponent {
}
checkTaskListIsLoaded() {
Util.waitUntilElementIsVisible(this.taskList);
BrowserVisibility.waitUntilElementIsVisible(this.taskList);
return this;
}
getNoTasksFoundMessage() {
Util.waitUntilElementIsVisible(this.noTasksFound);
BrowserVisibility.waitUntilElementIsVisible(this.noTasksFound);
return this.noTasksFound.getText();
}
@@ -106,7 +106,7 @@ export class TaskListCloudComponent {
getIdCellValue(rowName) {
const locator = new DataTableComponentPage().getCellByRowAndColumn('Name', rowName, column.id);
Util.waitUntilElementIsVisible(locator);
BrowserVisibility.waitUntilElementIsVisible(locator);
return locator.getText();
}