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
@@ -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> {
|
||||
|
Reference in New Issue
Block a user