Skip to content

Conversation

@vdusek
Copy link
Contributor

@vdusek vdusek commented Feb 12, 2026

Summary

  • Add 6 e2e tests verifying each Crawlee crawler type (BasicCrawler, HttpCrawler, BeautifulSoupCrawler, ParselCrawler, PlaywrightCrawler, AdaptivePlaywrightCrawler) works correctly when deployed as an Actor on the Apify platform
  • Each test deploys an Actor that crawls a local 5-page e-commerce test server, exercises link discovery (enqueue_links / add_requests), data extraction (push_data), and KVS storage (Actor.set_value)
  • Shared test infrastructure in conftest.py: ASGI test server, Playwright Dockerfile template, product data expectations, and a _verify_crawler_results helper that checks run status, dataset contents, and KVS records

Relates: #785

Test plan

  • Run poe e2e-tests with APIFY_TEST_USER_API_TOKEN set to verify all 6 crawler tests pass on the Apify platform
  • Verify lint passes: poe lint

🤖 Generated with Claude Code

@github-actions github-actions bot added this to the 134th sprint - Tooling team milestone Feb 12, 2026
@github-actions github-actions bot added t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics. labels Feb 12, 2026
@vdusek vdusek marked this pull request as draft February 12, 2026 17:03
@codecov
Copy link

codecov bot commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.86%. Comparing base (a814c63) to head (6a28b53).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #784   +/-   ##
=======================================
  Coverage   81.86%   81.86%           
=======================================
  Files          46       46           
  Lines        2696     2696           
=======================================
  Hits         2207     2207           
  Misses        489      489           
Flag Coverage Δ
e2e 43.50% <ø> (ø)
integration 55.45% <ø> (ø)
unit 68.02% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vdusek vdusek added the adhoc Ad-hoc unplanned task added during the sprint. label Feb 12, 2026
vdusek and others added 2 commits February 12, 2026 19:00
Add 6 e2e tests (one per crawler type) verifying that each Crawlee
crawler works correctly when deployed as an Actor on the Apify platform.
Each test exercises link discovery, data extraction (push_data), and
KVS storage against a local 5-page e-commerce test server.

Crawlers covered: BasicCrawler, HttpCrawler, BeautifulSoupCrawler,
ParselCrawler, PlaywrightCrawler, AdaptivePlaywrightCrawler.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The Playwright browser process uses ~244MB at startup, exceeding the
256MB default. Both PlaywrightCrawler and AdaptivePlaywrightCrawler
tests timed out due to memory pressure. Add memory_mbytes parameter
to make_actor and set it to 1024MB for Playwright tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant