diff --git a/e2e/pages/adf/navigationBarPage.ts b/e2e/pages/adf/navigationBarPage.ts index 47bb6598b0..d025d7939d 100644 --- a/e2e/pages/adf/navigationBarPage.ts +++ b/e2e/pages/adf/navigationBarPage.ts @@ -43,8 +43,6 @@ export class NavigationBarPage { menuButton = element(by.css('button[data-automation-id="adf-menu-icon"]')); formButton = element(by.css('a[data-automation-id="Form"]')); treeViewButton = element(by.css('a[data-automation-id="Tree View"]')); - processListButton = element(by.css('a[data-automation-id="Process List"]')); - treeViewButton = element(by.css('a[data-automation-id="Tree View"]')); iconsButton = element(by.css('a[data-automation-id="Icons"]')); customSourcesButton = element(by.css('a[data-automation-id="Custom Sources"]')); @@ -53,11 +51,6 @@ export class NavigationBarPage { this.dataTableButton.click(); } - navigateToDatatable() { - Util.waitUntilElementIsVisible(this.dataTableButton); - this.dataTableButton.click(); - } - clickContentServicesButton() { Util.waitUntilElementIsVisible(this.contentServicesButton); this.contentServicesButton.click(); @@ -194,10 +187,6 @@ export class NavigationBarPage { browser.get(TestConfig.adf.url + `/files/${site.entry.guid}/display/list`); } - checkContentServicesButtonIsDisplayed() { - Util.waitUntilElementIsVisible(this.contentServicesButton); - } - clickTreeViewButton() { Util.waitUntilElementIsVisible(this.treeViewButton); this.treeViewButton.click(); @@ -208,21 +197,6 @@ export class NavigationBarPage { this.iconsButton.click(); } - clickProcessListButton = function () { - Util.waitUntilElementIsClickable(this.processListButton); - return this.processListButton.click(); - }; - - clickTreeViewButton() { - Util.waitUntilElementIsVisible(this.treeViewButton); - this.treeViewButton.click(); - } - - checkProcessListButtonIsDisplayed = function () { - Util.waitUntilElementIsVisible(this.processListButton); - return this; - }; - navigateToCustomSources() { Util.waitUntilElementIsVisible(this.customSourcesButton); this.customSourcesButton.click(); diff --git a/e2e/process-services-cloud/task-filters-cloud.e2e.ts b/e2e/process-services-cloud/task-filters-cloud.e2e.ts index 677cec596c..860454170f 100644 --- a/e2e/process-services-cloud/task-filters-cloud.e2e.ts +++ b/e2e/process-services-cloud/task-filters-cloud.e2e.ts @@ -58,9 +58,9 @@ describe('Task filters cloud', () => { tasksCloudDemoPage.completedTasksFilter().checkTaskFilterIsDisplayed(); }); - it('[C290009] Should display default filters and created task', async() => { + it('[C290009] Should display default filters and created task', async () => { await tasksService.init(user, password); - let task = await tasksService.createStandaloneTask(newTask, simpleApp); + let task = await tasksService.createStandaloneTask(newTask, simpleApp); await tasksService.claimTask(task.entry.id, simpleApp); tasksCloudDemoPage.completedTasksFilter().clickTaskFilter(); @@ -73,7 +73,7 @@ describe('Task filters cloud', () => { tasksCloudDemoPage.taskListCloudComponent().getDataTable().checkContentIsDisplayed(newTask); }); - it('[C289955] Should display task in Complete Tasks List when task is completed', async() => { + it('[C289955] Should display task in Complete Tasks List when task is completed', async () => { await tasksService.init(user, password); let task = await tasksService.createStandaloneTask(completedTask, simpleApp);