We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e505c6 commit 60a977cCopy full SHA for 60a977c
1 file changed
e2e/logic/POM/codeGraph.ts
@@ -579,7 +579,7 @@ export default class CodeGraph extends BasePage {
579
580
async getGraphDetails(): Promise<any> {
581
await this.canvasElementBeforeGraphSelection.waitFor({ state: 'detached' });
582
- await this.page.waitForTimeout(3000);
+ await this.waitForCanvasAnimationToEnd();
583
await this.page.waitForFunction(() => !!window.graph);
584
585
const graphData = await this.page.evaluate(() => {
@@ -591,7 +591,7 @@ export default class CodeGraph extends BasePage {
591
592
593
async getGraphNodes(): Promise<any[]> {
594
595
596
597
return (window as any).graph;
0 commit comments