We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b63639 commit 6d2d286Copy full SHA for 6d2d286
1 file changed
e2e/logic/POM/codeGraph.ts
@@ -669,13 +669,13 @@ export default class CodeGraph extends BasePage {
669
670
async isNodeToolTipVisible(): Promise<boolean> {
671
try {
672
- await this.nodeToolTip.waitFor({ state: 'attached', timeout: 5000 });
673
- const box = await this.nodeToolTip.boundingBox();
674
- return box !== null;
+ await this.nodeToolTip.waitFor({ state: 'visible', timeout: 7000 });
+ return await this.nodeToolTip.evaluate(el => getComputedStyle(el).visibility === 'visible');
675
} catch (error) {
676
- console.error("Error checking tooltip visibility:", error);
+ console.error("Tooltip visibility check failed:", error);
677
return false;
678
}
679
680
+
681
0 commit comments