Skip to content

fix(tests): repair CI critical-path Playwright failures on main - #65

Merged
wonkwonlee merged 1 commit into
mainfrom
fix/ci-critical-paths-post-pr64
Aug 9, 2026
Merged

fix(tests): repair CI critical-path Playwright failures on main#65
wonkwonlee merged 1 commit into
mainfrom
fix/ci-critical-paths-post-pr64

Conversation

@wonkwonlee

Copy link
Copy Markdown
Owner

Summary

main has been red on the Playwright critical-paths job since PR #64 merged. Bisected against the pre-#64 commit (355a58d, which passes cleanly) and confirmed these are real regressions carried in by #64's diff, not flakiness:

  • Terraform: the diff-inspect <summary> text grew to Inspect values for module.boundary.aws_instance.worker_009, which now substring-matches the same getByText query used for the address cell — a strict-mode violation (2 elements). Scoped the test locator to exact: true.
  • Kubernetes: an earlier commit added a pricing-engine Deployment to the shared snapshot (for the protected-resource-change fixture), moving the snapshot from 153 to 154 resources. The e2e assertion still hardcoded 153.
  • Self-hosted: the disabled three-pane shell was replaced by an explainer when no gateway is configured, but the e2e test still exercised the old interactive controls (Example artifact select, disabled buttons) that no longer render in that state. Rewrote the test to assert the explainer's actual content.

No product code changed — test-only fixes.

Test plan

🤖 Generated with Claude Code

Three tests broke on main after PR #64 merged, each from a mismatch
between an already-merged UI change and stale test expectations that
predate this session's work:

- The Terraform table's diff-inspect summary text grew to include the
  resource address ("Inspect values for module.boundary.aws_instance.
  worker_009"), which now substring-matches the same getByText query
  used for the address cell itself - a strict-mode violation. Scoped
  to exact: true.
- An earlier commit added a pricing-engine Deployment to the shared
  Kubernetes snapshot (for the protected-resource-change fixture),
  taking the snapshot from 153 to 154 resources; the e2e assertion was
  never updated.
- The self-hosted workbench's disabled three-pane shell was replaced
  by an explainer when no gateway is configured, but its e2e test
  still exercised the old interactive controls (select, disabled
  buttons) that no longer render in that state. Rewritten to assert
  the explainer's actual content instead.

Verified by diffing against the pre-#64 commit (355a58d), where all
three passed - confirming these are real regressions from that merge,
not new breakage from anything in this fix.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
change-safe Ready Ready Preview Aug 8, 2026 3:58pm

@wonkwonlee
wonkwonlee merged commit bcd45d6 into main Aug 9, 2026
9 checks passed
@wonkwonlee
wonkwonlee deleted the fix/ci-critical-paths-post-pr64 branch August 9, 2026 02:11
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