Skip to content

web-e2e: fill the package delay by its field's own label, so the proxy-delay spec passes again - #783

Merged
schmitch merged 1 commit into
mainfrom
claude/781-web-e2e-package-delay-label
Nov 2, 2026
Merged

schmitch merged 1 commit into
mainfrom
claude/781-web-e2e-package-delay-label

Conversation

@schmitch

@schmitch schmitch commented Nov 2, 2026

Copy link
Copy Markdown
Member

Fixes #781

What

Since #744 (package delay overrides), the repository form puts a proxy's delay settings in a panel titled Package delay, which labels its <section>. proxy-delay.spec.ts filled the field with getByLabel(/package delay/i), which now matches the panel and the Package delay (seconds) input both. Playwright's strict mode refused it, so web-e2e failed on main (CI run of 1114a17):

Error: locator.fill: Error: strict mode violation: getByLabel(/package delay/i) resolved to 2 elements

The spec now names the field, getByLabel('Package delay (seconds)'), as RepositoryForm.test.tsx does. A test-only change, so there is no changelog fragment.

Why it blocks 2.2.0

release.yml needs a CI run of the tagged commit that passed every job in REQUIRED_JOBS, web-e2e included. Together with #780 (e2e), this turns main green again.

Tests

pnpm exec playwright test e2e/specs/proxy-delay.spec.ts passes locally against the built SPA and a real forge-server: 1 passed. I launched it with the sandbox's preinstalled Chromium through a local wrapper config, which is not committed.


Generated by Claude Code

Since the package delay overrides (#744), the repository form shows
the proxy's delay in a panel titled Package delay, which labels its
section. The spec's `getByLabel(/package delay/i)` matched the panel
and the seconds field, and Playwright's strict mode refused it, so
web-e2e failed on main. The spec now names the field, `Package delay
(seconds)`, as RepositoryForm.test.tsx does.

Fixes #781

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012e6DJb6V3DHD5wQrsYhKda
@schmitch
schmitch enabled auto-merge November 2, 2026 19:31
@schmitch
schmitch added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit b39386a Nov 2, 2026
19 checks passed
@schmitch
schmitch deleted the claude/781-web-e2e-package-delay-label branch November 2, 2026 19:35
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.

CI: web-e2e proxy-delay spec fails on main since #744, its "package delay" label matches the new Package delay panel too

2 participants