Skip to content

Commit

Permalink
update tooltip locator
Browse files Browse the repository at this point in the history
  • Loading branch information
Santoshkumar Sharanappa Nateekar authored and Santoshkumar Sharanappa Nateekar committed Dec 9, 2024
1 parent 82098c7 commit 600e282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nala/blocks/table/table.page.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default class Table {
// verify tooltip information
if (tooltip) {
const headerColumnTooltip = await headerColumn.locator('.milo-tooltip');
await expect(await headerColumnTooltip.locator('.icon-milo-info')).toBeVisible();
await expect(await headerColumnTooltip.locator('.icon-milo')).toBeVisible();
await expect(await headerColumnTooltip).toHaveAttribute('data-tooltip', tooltip.tooltipText);
await headerColumnTooltip.hover();
}
Expand Down Expand Up @@ -94,7 +94,7 @@ export default class Table {
}
if (column.tooltip) {
const tooltip = await sectionRowColumn.locator('.milo-tooltip');
await expect(await tooltip.locator('.icon-milo-info')).toBeVisible();
await expect(await tooltip.locator('.icon-milo')).toBeVisible();
await expect(await tooltip).toHaveAttribute('data-tooltip', column.tooltipText);
await tooltip.hover();
}
Expand Down

0 comments on commit 600e282

Please sign in to comment.