mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
integrate Prettier with tslint (#1419)
* integrate prettier with tslint * remove obsolte scripts * update tsconfig * fix lint issues * fix lint errors * more rules and fixes * kebab case and lint fixes * update helpers * update util
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
import { ElementFinder, by, browser, ExpectedConditions as EC, protractor } from 'protractor';
|
||||
import { BROWSER_WAIT_TIMEOUT } from '../../configs';
|
||||
import { GenericDialog } from '../dialog/generic-dialog';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import { Utils, isPresentAndDisplayed } from '../../utilities/utils';
|
||||
import { DropDownBreadcrumb } from '../breadcrumb/dropdown-breadcrumb';
|
||||
import { DataTable } from '../data-table/data-table';
|
||||
|
||||
@@ -108,11 +108,11 @@ export class ContentNodeSelectorDialog extends GenericDialog {
|
||||
}
|
||||
|
||||
async isSearchInputPresent(): Promise<boolean> {
|
||||
return await this.searchInput.isPresent();
|
||||
return this.searchInput.isPresent();
|
||||
}
|
||||
|
||||
async isSelectLocationDropdownDisplayed(): Promise<boolean> {
|
||||
return (await this.locationDropDown.isPresent()) && (await this.locationDropDown.isDisplayed());
|
||||
return isPresentAndDisplayed(this.locationDropDown);
|
||||
}
|
||||
|
||||
async isCopyButtonEnabled(): Promise<boolean> {
|
||||
@@ -130,6 +130,6 @@ export class ContentNodeSelectorDialog extends GenericDialog {
|
||||
}
|
||||
|
||||
async getToolbarTitle(): Promise<string> {
|
||||
return await this.toolbarTitle.getText();
|
||||
return this.toolbarTitle.getText();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user