We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08d899d commit 1b63639Copy full SHA for 1b63639
1 file changed
e2e/logic/POM/codeGraph.ts
@@ -668,6 +668,14 @@ export default class CodeGraph extends BasePage {
668
}
669
670
async isNodeToolTipVisible(): Promise<boolean> {
671
- return await this.nodeToolTip.isVisible();
+ 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
+ }
679
680
+
681
0 commit comments