mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[no-issue] refactor failing e2e (#3865)
* fix ps test * fix import * fix import * fix ps * fix hyperlink * fix radio hiperlynk * autorename for clashes * notification fix * convert userdialog to ts * fix travis configuration * fix download in folder * convert contentservice page to ts * convert setting and login to ts * remove unused import * fix login import * fix login page * fix chips * fix import speed up viewer test * fix contentlist * change id * fix cs e2e * fix search lint * fix name issue
This commit is contained in:
@@ -35,37 +35,21 @@ var NavigationBarPage = function () {
|
||||
var headerDataButton = element(by.css("a[data-automation-id='Header Data']"));
|
||||
var menuButton = element(by.css('button[data-automation-id="adf-menu-icon"]'));
|
||||
|
||||
/**
|
||||
* Click Content Services Button
|
||||
* @method clickContentServicesButton
|
||||
*/
|
||||
this.clickContentServicesButton = function () {
|
||||
Util.waitUntilElementIsVisible(contentServicesButton);
|
||||
contentServicesButton.click();
|
||||
};
|
||||
|
||||
/**
|
||||
* Click on Config Editor Button
|
||||
* @method clickContentServicesButton
|
||||
*/
|
||||
this.clickConfigEditorButton = function () {
|
||||
Util.waitUntilElementIsVisible(configEditoButton);
|
||||
configEditoButton.click();
|
||||
};
|
||||
|
||||
/**
|
||||
* Click Process Services Button
|
||||
* @method clickProcessServicesButton
|
||||
*/
|
||||
this.clickProcessServicesButton = function () {
|
||||
Util.waitUntilElementIsVisible(processServicesButton);
|
||||
processServicesButton.click();
|
||||
};
|
||||
|
||||
/**
|
||||
* Click Login Button
|
||||
* @method clickLoginButton
|
||||
*/
|
||||
this.clickLoginButton = function () {
|
||||
Util.waitUntilElementIsVisible(loginButton);
|
||||
loginButton.click();
|
||||
@@ -162,11 +146,6 @@ var NavigationBarPage = function () {
|
||||
appTitle.click();
|
||||
};
|
||||
|
||||
this.checkLogoTooltip = function (logoTooltip) {
|
||||
var logoTooltip = element(by.css('a[title="'+ logoTooltip +'"]'));
|
||||
Util.waitUntilElementIsVisible(logoTooltip);
|
||||
}
|
||||
|
||||
this.openViewer = function (nodeId) {
|
||||
browser.get(TestConfig.adf.url + `/files(overlay:files/${nodeId}/view`);
|
||||
return this;
|
||||
|
Reference in New Issue
Block a user