Skip to content

Add integration tests#81

Merged
AHarmlessPyro merged 2 commits into
mainfrom
integration_tests
May 12, 2026
Merged

Add integration tests#81
AHarmlessPyro merged 2 commits into
mainfrom
integration_tests

Conversation

@AHarmlessPyro
Copy link
Copy Markdown
Contributor

@AHarmlessPyro AHarmlessPyro commented May 11, 2026

Summary

Add integration tests

Validation

yarn test:integration


Open in Devin Review

Note

Low Risk
Low risk: adds CI workflow, new integration tests, and README clarifications without changing runtime SDK behavior.

Overview
Adds a new GitHub Actions workflow (integration-tests.yml) to run Python integration tests on merge-group checks or manual dispatch using Poetry + Python 3.12.

Introduces HTTP-level integration tests for both Hyperbrowser and AsyncHyperbrowser that spin up a local ThreadingHTTPServer to assert request routing (/api/...), headers (x-api-key), request JSON shape, and response parsing for scrape.start and scrape.get_status.

Updates README.md to document API key fallback to hx auth login OAuth sessions, profile naming constraints, and base_url/HYPERBROWSER_BASE_URL normalization expectations.

Reviewed by Cursor Bugbot for commit 3124d86. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

@AHarmlessPyro AHarmlessPyro merged commit 59b8b59 into main May 12, 2026
1 check passed
@AHarmlessPyro AHarmlessPyro deleted the integration_tests branch May 12, 2026 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants