Skip to content

Commit

Permalink
fix linting for ADF (#9036)
Browse files Browse the repository at this point in the history
* fix linting

* fix linting
  • Loading branch information
DenysVuika committed Oct 27, 2023
1 parent b847383 commit fa7eb87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -461,7 +461,7 @@ export class DataTableComponentPage {

async clickRowByContentCheckbox(name: string): Promise<void> {
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);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class Project {
}

async import(projectFilePath: string): Promise<NodeEntry> {
const fileContent = await fs.createReadStream(projectFilePath);
const fileContent = fs.createReadStream(projectFilePath);
const requestOptions: E2eRequestApiHelperOptions = {
formParams: { file: fileContent },
contentTypes: ['multipart/form-data']
Expand Down

0 comments on commit fa7eb87

Please sign in to comment.