Skip to content

Commit 5cdf983

Browse files
committed
update test
1 parent 32d13b5 commit 5cdf983

4 files changed

Lines changed: 186 additions & 186 deletions

File tree

e2e/logic/POM/codeGraph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ export default class CodeGraph extends BasePage {
669669

670670
async isNodeToolTipVisible(): Promise<boolean> {
671671
try {
672-
await this.page.waitForTimeout(2000);
672+
await this.page.waitForTimeout(10000);
673673
const count = await this.nodeToolTip.count();
674674
if (count === 0) {
675675
console.error("Tooltip not found");

e2e/logic/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const waitForStableText = async (locator: Locator, timeout: number = 5000
3434
return stableText;
3535
};
3636

37-
export const waitForElementToBeVisible = async (locator:Locator,time=500,retry=5):Promise<boolean> => {
37+
export const waitForElementToBeVisible = async (locator:Locator,time=500,retry=10):Promise<boolean> => {
3838

3939
while(retry > 0){
4040
if(await locator.isVisible()){

0 commit comments

Comments
 (0)