mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +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"]'));
|
menuButton = element(by.css('button[data-automation-id="adf-menu-icon"]'));
|
||||||
formButton = element(by.css('a[data-automation-id="Form"]'));
|
formButton = element(by.css('a[data-automation-id="Form"]'));
|
||||||
treeViewButton = element(by.css('a[data-automation-id="Tree View"]'));
|
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"]'));
|
iconsButton = element(by.css('a[data-automation-id="Icons"]'));
|
||||||
customSourcesButton = element(by.css('a[data-automation-id="Custom Sources"]'));
|
customSourcesButton = element(by.css('a[data-automation-id="Custom Sources"]'));
|
||||||
|
|
||||||
@@ -53,11 +51,6 @@ export class NavigationBarPage {
|
|||||||
this.dataTableButton.click();
|
this.dataTableButton.click();
|
||||||
}
|
}
|
||||||
|
|
||||||
navigateToDatatable() {
|
|
||||||
Util.waitUntilElementIsVisible(this.dataTableButton);
|
|
||||||
this.dataTableButton.click();
|
|
||||||
}
|
|
||||||
|
|
||||||
clickContentServicesButton() {
|
clickContentServicesButton() {
|
||||||
Util.waitUntilElementIsVisible(this.contentServicesButton);
|
Util.waitUntilElementIsVisible(this.contentServicesButton);
|
||||||
this.contentServicesButton.click();
|
this.contentServicesButton.click();
|
||||||
@@ -194,10 +187,6 @@ export class NavigationBarPage {
|
|||||||
browser.get(TestConfig.adf.url + `/files/${site.entry.guid}/display/list`);
|
browser.get(TestConfig.adf.url + `/files/${site.entry.guid}/display/list`);
|
||||||
}
|
}
|
||||||
|
|
||||||
checkContentServicesButtonIsDisplayed() {
|
|
||||||
Util.waitUntilElementIsVisible(this.contentServicesButton);
|
|
||||||
}
|
|
||||||
|
|
||||||
clickTreeViewButton() {
|
clickTreeViewButton() {
|
||||||
Util.waitUntilElementIsVisible(this.treeViewButton);
|
Util.waitUntilElementIsVisible(this.treeViewButton);
|
||||||
this.treeViewButton.click();
|
this.treeViewButton.click();
|
||||||
@@ -208,21 +197,6 @@ export class NavigationBarPage {
|
|||||||
this.iconsButton.click();
|
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() {
|
navigateToCustomSources() {
|
||||||
Util.waitUntilElementIsVisible(this.customSourcesButton);
|
Util.waitUntilElementIsVisible(this.customSourcesButton);
|
||||||
this.customSourcesButton.click();
|
this.customSourcesButton.click();
|
||||||
|
@@ -58,7 +58,7 @@ describe('Task filters cloud', () => {
|
|||||||
tasksCloudDemoPage.completedTasksFilter().checkTaskFilterIsDisplayed();
|
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);
|
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);
|
await tasksService.claimTask(task.entry.id, simpleApp);
|
||||||
@@ -73,7 +73,7 @@ describe('Task filters cloud', () => {
|
|||||||
tasksCloudDemoPage.taskListCloudComponent().getDataTable().checkContentIsDisplayed(newTask);
|
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);
|
await tasksService.init(user, password);
|
||||||
let task = await tasksService.createStandaloneTask(completedTask, simpleApp);
|
let task = await tasksService.createStandaloneTask(completedTask, simpleApp);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user