Skip to content

Find the template README by its heading in the template e2e test - #401

Merged
tnkuehne merged 1 commit into
mainfrom
template-readme-locator
Nov 25, 2026
Merged

tnkuehne merged 1 commit into
mainfrom
template-readme-locator

Conversation

@tnkuehne

@tnkuehne tnkuehne commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

tests/e2e/auth.spec.ts › app templates › lets a member find a template and copy its setup prompt fails on main since required secrets render their own Markdown help: page.locator(".markdown") resolves to three elements and Playwright's strict mode rejects it.

The assertion now selects the Markdown block that contains the "Configure Google" heading, which is the template's README.

Verification: the test passes locally against a built control plane.

RetriggerView in GreptileConfidence Score: 5/5

This test-only change appears safe to merge.

Summary

The test now finds the template README by its “Configure Google” heading.

  • The template test checks README text in the block with the “Configure Google” heading.

Reviews (1) · Last reviewed commit: "Find the template README by its heading ..." · Reviewed by Greptile

Required secrets now render their own Markdown help, so the bare
.markdown locator matched three elements and failed in strict mode.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
widefleet-docs c94b2aa Nov 25 2026, 02:32 PM

@tnkuehne
tnkuehne merged commit 469d4dc into main Nov 25, 2026
27 of 29 checks passed
@tnkuehne
tnkuehne deleted the template-readme-locator branch November 25, 2026 15: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.

1 participant