mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-3370] Create automated tests for process filters - sorting (#3605)
* [ADF-3337] Creation of automated test for new filters * [ADF-3370] Create automated tests for process filters - sorting * Removing the fdescibe * Removing spaces * Removing too many characters from a single line * Removing fdescribe * changes on the loginPage.js file * Moving tests to the right folder * Adding back the chnages on appNavigationBarPage
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
*/
|
||||
|
||||
var Util = require('../../../util/util');
|
||||
var TasksPage = require('./tasksPage');
|
||||
|
||||
var AppNavigationBarPage = function () {
|
||||
|
||||
@@ -27,22 +26,18 @@ var AppNavigationBarPage = function () {
|
||||
|
||||
this.clickTasksButton = function () {
|
||||
Util.waitUntilElementIsVisible(tasksButton);
|
||||
tasksButton.click();
|
||||
return new TasksPage();
|
||||
return tasksButton.click();
|
||||
};
|
||||
|
||||
this.clickProcessButton = function () {
|
||||
Util.waitUntilElementIsVisible(processButton);
|
||||
processButton.click();
|
||||
return processButton.click();
|
||||
};
|
||||
|
||||
this.clickReportsButton = function () {
|
||||
Util.waitUntilElementIsVisible(reportsButton);
|
||||
reportsButton.click();
|
||||
Util.waitUntilElementIsVisible(reportsButtonSelected);
|
||||
return Util.waitUntilElementIsVisible(reportsButtonSelected);
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
|
||||
module.exports = AppNavigationBarPage;
|
||||
|
Reference in New Issue
Block a user