Skip to content

Commit

Permalink
resolve lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alokhyland committed Oct 28, 2024
1 parent 20a079f commit b58af3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ export default class DocumentPublications extends BasePage {
let index;
for (let i = 0; i < rows.length; i++) {
const row = rows[i];
if (row.isVisible('nuxeo-data-table-cell a.path')) {
const isRowVisible = await row.isVisible('nuxeo-data-table-cell a.path');
if (isRowVisible) {
const foundPathEle = await row.$('nuxeo-data-table-cell a.path');
const foundPath = await foundPathEle.getText();
const foundPathLowerCase = await foundPath.trim().toLowerCase();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default class DocumentVersions extends BasePage {
return true;
}
const listItems = await this.listItems;
const versionItem = await listItems.$('div[name="version-item"] .title')
const versionItem = await listItems.$('div[name="version-item"] .title');
await versionItem.waitForVisible();
const listItems1 = await this.listItems.$$('div[name="version-item"]');
const itemsTitle = await browser.$$('div[name="version-item"]').map((img) => img.$('.title').getText());
Expand Down

0 comments on commit b58af3d

Please sign in to comment.