[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

@@ -28,7 +28,7 @@ export class FolderDialog {
validationMessage: ElementFinder = this.folderDialog.element(by.css('div.mat-form-field-subscript-wrapper mat-hint span'));
async getDialogTitle(): Promise<string> {
return await BrowserActions.getText(this.folderTitle);
return BrowserActions.getText(this.folderTitle);
}
async checkFolderDialogIsDisplayed(): Promise<void> {
@@ -62,11 +62,11 @@ export class FolderDialog {
}
async getFolderName(): Promise<string> {
return await this.folderNameField.getAttribute('value');
return this.folderNameField.getAttribute('value');
}
async getValidationMessage(): Promise<string> {
return await BrowserActions.getText(this.validationMessage);
return BrowserActions.getText(this.validationMessage);
}
async checkValidationMessageIsNotDisplayed(): Promise<void> {