mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix lint
This commit is contained in:
@@ -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();
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user