mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-07 17:48:54 +00:00
[ADF-3658][ADF-3660][ADF-3661] Revisiting automated tests and test cases (#3869)
* [ADF-3658] Revisiting Content Services automated tests and test cases * [ADF-3661] Revisiting automated tests and test cases for Core and Insights folders * [ADF-3660] Revisiting automated tests and test cases for Process Services * Fixing lint errors
This commit is contained in:
committed by
Eugenio Romano
parent
04d42e2535
commit
094e1dab91
@@ -27,7 +27,7 @@ var FormFields = function () {
|
||||
var noFormMessage = element(by.css("span[id*='no-form-message']"));
|
||||
var completedTaskNoFormMessage = element(by.css("div[id*='completed-form-message'] p"));
|
||||
var attachFormButton = element(by.id("adf-no-form-attach-form-button"));
|
||||
var selectFormDropDownArrow = element(by.css("adf-attach-form div[class*='mat-select-arrow']"));
|
||||
var selectFormDropDownArrow = element.all(by.css("adf-attach-form div[class*='mat-select-arrow']")).first();
|
||||
var selectFormContent = element(by.css("div[class*='mat-select-content']"));
|
||||
var completeButton = element(by.id('adf-form-complete'));
|
||||
|
||||
@@ -55,7 +55,7 @@ var FormFields = function () {
|
||||
};
|
||||
|
||||
this.getFieldText = function (fieldId, labelLocatorParam) {
|
||||
var label = this.getWidget(fieldId).element(labelLocatorParam || labelLocator);
|
||||
var label = this.getWidget(fieldId).all(labelLocatorParam || labelLocator).first();
|
||||
Util.waitUntilElementIsVisible(label);
|
||||
return label.getText();
|
||||
};
|
||||
|
Reference in New Issue
Block a user