mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
Fixing tests for Search Page (#3759)
This commit is contained in:
committed by
Eugenio Romano
parent
49a3749167
commit
89cf47318f
@@ -82,6 +82,13 @@ var ContentList = function () {
|
||||
deleteContent.click();
|
||||
};
|
||||
|
||||
this.checkDeleteIsDisabled = function (content) {
|
||||
this.clickOnActionMenu(content);
|
||||
this.waitForContentOptions();
|
||||
let disabledDelete = element(by.css("button[data-automation-id*='DELETE'][disabled='true']"));
|
||||
Util.waitUntilElementIsVisible(disabledDelete);
|
||||
};
|
||||
|
||||
this.metadataContent = function (content) {
|
||||
this.clickOnActionMenu(content);
|
||||
this.waitForContentOptions();
|
||||
|
Reference in New Issue
Block a user