Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix linting for ADF #9036

Merged
merged 2 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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