Skip to content

Commit

Permalink
fix: try fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyutaotao committed Dec 27, 2024
1 parent 2f1a779 commit de60965
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/web-integration/tests/ai/web/puppeteer/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ export async function launchPage(
const pages = await browser.pages();
await Promise.all(pages.map((page) => page.close()));
await browser.close();
await sleep(1000);
},
};
}

async function sleep(ms: number) {
return new Promise((resolve) => setTimeout(resolve, ms));
}

0 comments on commit de60965

Please sign in to comment.