Skip to content

Commit 44ccd91

Browse files
gkorlandCopilot
andauthored
Update e2e/logic/POM/codeGraph.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0e87ee4 commit 44ccd91

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

e2e/logic/POM/codeGraph.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,9 @@ export default class CodeGraph extends BasePage {
730730
await this.page.waitForTimeout(500);
731731
}
732732
const finalStatus = await this.canvasElement.getAttribute("data-engine-status");
733+
if (finalStatus === "stopped") {
734+
return;
735+
}
733736
throw new Error(`Canvas animation did not stop within ${timeout}ms; final status: "${finalStatus}"`);
734737
}
735738
}

0 commit comments

Comments
 (0)