Skip to content

Commit 1b63639

Browse files
committed
update locators
1 parent 08d899d commit 1b63639

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

e2e/logic/POM/codeGraph.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,14 @@ export default class CodeGraph extends BasePage {
668668
}
669669

670670
async isNodeToolTipVisible(): Promise<boolean> {
671-
return await this.nodeToolTip.isVisible();
671+
try {
672+
await this.nodeToolTip.waitFor({ state: 'attached', timeout: 5000 });
673+
const box = await this.nodeToolTip.boundingBox();
674+
return box !== null;
675+
} catch (error) {
676+
console.error("Error checking tooltip visibility:", error);
677+
return false;
678+
}
672679
}
680+
673681
}

0 commit comments

Comments
 (0)