[AAE-726] Add new return await rule (#5203)

* add new return await rule

* update tslint

* add lint exception
This commit is contained in:
Eugenio Romano
2019-10-30 19:29:43 +00:00
committed by Denys Vuika
parent a4730cd9cf
commit 2e046945c7
48 changed files with 308 additions and 305 deletions

View File

@@ -100,7 +100,7 @@ export class PermissionsPage {
}
async getPermissionInheritedButtonText(): Promise<string> {
return await BrowserActions.getText(this.permissionInheritedButton);
return BrowserActions.getText(this.permissionInheritedButton);
}
async checkPermissionsDatatableIsDisplayed(): Promise<void> {
@@ -109,7 +109,7 @@ export class PermissionsPage {
async getRoleCellValue(rowName): Promise<string> {
const locator = this.dataTableComponentPage.getCellByRowContentAndColumn('Authority ID', rowName, column.role);
return await BrowserActions.getText(locator);
return BrowserActions.getText(locator);
}
async clickRoleDropdownByUserOrGroupName(name): Promise<void> {