Skip to content

fix(website): fix flaky e2e test blocking production deploys#38

Merged
blove merged 2 commits into
mainfrom
claude/blissful-bartik
Apr 7, 2026
Merged

fix(website): fix flaky e2e test blocking production deploys#38
blove merged 2 commits into
mainfrom
claude/blissful-bartik

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented Apr 7, 2026

Summary

The pricing page e2e test fails in strict mode because page.locator('form') resolves to 2 elements (lead form + newsletter form). This blocks the Vercel deploy step, preventing all production updates.

Fix: use .first() to target the primary lead form.

This also unblocks the base-href deploy fix from PR #37 which merged but couldn't deploy.

Test plan

  • Fix matches the error: locator('form') resolved to 2 elements
  • CI passes with fix
  • Deploy proceeds after merge

blove added 2 commits April 6, 2026 16:45
…ct subpath

Production Angular examples at examples.stream-resource.dev returned 404 for
main.js, styles.css, and chunks. Root cause: all index.html files had
<base href="/"> so asset URLs resolved to the domain root instead of
/{product}/{topic}/. Fix: assemble script now rewrites base href to the
correct subpath for each example.
@blove blove merged commit 4d7631b into main Apr 7, 2026
13 checks passed
blove added a commit that referenced this pull request Apr 7, 2026
* fix(deploy): rewrite base href per example so assets resolve to correct subpath

Production Angular examples at examples.stream-resource.dev returned 404 for
main.js, styles.css, and chunks. Root cause: all index.html files had
<base href="/"> so asset URLs resolved to the domain root instead of
/{product}/{topic}/. Fix: assemble script now rewrites base href to the
correct subpath for each example.

* fix(website): use .first() on form locator to handle multiple forms on pricing page
blove added a commit that referenced this pull request Apr 7, 2026
* fix(deploy): rewrite base href per example so assets resolve to correct subpath

Production Angular examples at examples.stream-resource.dev returned 404 for
main.js, styles.css, and chunks. Root cause: all index.html files had
<base href="/"> so asset URLs resolved to the domain root instead of
/{product}/{topic}/. Fix: assemble script now rewrites base href to the
correct subpath for each example.

* fix(website): use .first() on form locator to handle multiple forms on pricing page
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