mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[AAE-726] Add new return await rule (#5203)
* add new return await rule * update tslint * add lint exception
This commit is contained in:
committed by
Denys Vuika
parent
a4730cd9cf
commit
2e046945c7
@@ -100,7 +100,7 @@ export class TasksCloudDemoPage {
|
||||
}
|
||||
|
||||
async getActiveFilterName(): Promise<string> {
|
||||
return await BrowserActions.getText(this.activeFilter);
|
||||
return BrowserActions.getText(this.activeFilter);
|
||||
}
|
||||
|
||||
customTaskFilter(filterName): TaskFiltersCloudComponentPage {
|
||||
@@ -146,13 +146,13 @@ export class TasksCloudDemoPage {
|
||||
|
||||
async getNoOfSelectedRows(): Promise<number> {
|
||||
await this.checkSelectedRowsIsDisplayed();
|
||||
return await this.noOfSelectedRows.count();
|
||||
return this.noOfSelectedRows.count();
|
||||
}
|
||||
|
||||
async getSelectedTaskRowText(rowNo: string): Promise<string> {
|
||||
await this.checkSelectedRowsIsDisplayed();
|
||||
const row: ElementFinder = element(by.xpath(`//div[text()=' Selected Rows: ']//li[${rowNo}]`));
|
||||
return await BrowserActions.getText(row);
|
||||
return BrowserActions.getText(row);
|
||||
}
|
||||
|
||||
async addActionIsDisplayed(): Promise<void> {
|
||||
|
Reference in New Issue
Block a user