Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

test: skip flaky test

Martin Adámeke2e8ad25854b
diff --git a/test/browser-pool/browser-pool.test.ts b/test/browser-pool/browser-pool.test.ts
index 9f21322ac..7a011b518 100644
--- a/test/browser-pool/browser-pool.test.ts
+++ b/test/browser-pool/browser-pool.test.ts
@@ -128,7 +128,8 @@ describe.each([
expect(page.close).toBeDefined();
});
- test('should allow early aborting in case of outer timeout', async () => {
+ // TODO: this test is very flaky in the CI
+ test.skip('should allow early aborting in case of outer timeout', async () => {
const timeout = browserPool.operationTimeoutMillis;
browserPool.operationTimeoutMillis = 500;
// @ts-expect-error mocking private method