diff --git a/lib/testing/src/lib/protractor/core/pages/data-table-component.page.ts b/lib/testing/src/lib/protractor/core/pages/data-table-component.page.ts index bfad8205e71..0b18daf765e 100644 --- a/lib/testing/src/lib/protractor/core/pages/data-table-component.page.ts +++ b/lib/testing/src/lib/protractor/core/pages/data-table-component.page.ts @@ -230,7 +230,7 @@ export class DataTableComponentPage { let columnValues: string[] = []; const columnLocator = $$(`adf-datatable div[class*='adf-datatable-body'] adf-datatable-row[class*='adf-datatable-row'] div[title="${column}"] span`); - await BrowserVisibility.waitUntilElementIsPresent(await columnLocator.first(), 1000); + await BrowserVisibility.waitUntilElementIsPresent(columnLocator.first(), 1000); try { await BrowserVisibility.waitUntilElementIsPresent(columnLocator.first(), 1000); columnValues = await columnLocator @@ -461,7 +461,7 @@ export class DataTableComponentPage { async clickRowByContentCheckbox(name: string): Promise { const resultElement = this.rootElement.$$(`div[data-automation-id='${name}']`).first().element(by.xpath(`ancestor::adf-datatable-row/label/mat-checkbox`)); - await browser.actions().mouseMove(resultElement); + browser.actions().mouseMove(resultElement); await BrowserActions.click(resultElement); } diff --git a/lib/testing/src/lib/protractor/process-services-cloud/actions/project.ts b/lib/testing/src/lib/protractor/process-services-cloud/actions/project.ts index 2a91a729624..c616aee2e31 100644 --- a/lib/testing/src/lib/protractor/process-services-cloud/actions/project.ts +++ b/lib/testing/src/lib/protractor/process-services-cloud/actions/project.ts @@ -99,7 +99,7 @@ export class Project { } async import(projectFilePath: string): Promise { - const fileContent = await fs.createReadStream(projectFilePath); + const fileContent = fs.createReadStream(projectFilePath); const requestOptions: E2eRequestApiHelperOptions = { formParams: { file: fileContent }, contentTypes: ['multipart/form-data']