Skip to content

Fix/bug fixes#5

Open
kevinvalentinopanjaitan wants to merge 2 commits intocheckly:mainfrom
kevinvalentinopanjaitan:fix/bug-fixes
Open

Fix/bug fixes#5
kevinvalentinopanjaitan wants to merge 2 commits intocheckly:mainfrom
kevinvalentinopanjaitan:fix/bug-fixes

Conversation

@kevinvalentinopanjaitan
Copy link

fix: add null checks and type safety for env vars and query param

  • Throw a clear error early if USER or PW env vars are missing
    instead of silently passing "undefined" as a string to the login form
  • Add missing string type to the query param in PlaywrightPage.search()

kevinvalentinopanjaitan and others added 2 commits March 9, 2026 09:23
Demonstrates the three core Playwright request interception APIs:
- route.fulfill() — return synthetic responses without hitting a real server
- route.abort() — block requests (analytics, images, unavailable services)
- route.continue() inspection, waitForRequest, and waitForResponse

All 9 tests are self-contained using page.setContent() with absolute URLs
so Playwright can intercept them without a running web server.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Throw a clear error early if USER or PW env vars are missing
  instead of silently passing "undefined" as a string to the login form
- Add missing `string` type to the `query` param in PlaywrightPage.search()
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.

1 participant