Skip to content

Match live report identity to the requested page URL - #20

Merged
MortenFriisSiteImprove merged 1 commit into
mainfrom
test/live-report-contract
Sep 15, 2026
Merged

MortenFriisSiteImprove merged 1 commit into
mainfrom
test/live-report-contract

Conversation

@MortenFriisSiteImprove

@MortenFriisSiteImprove MortenFriisSiteImprove commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

The live run received authenticated, error-free SDK responses with valid issue counts, but the test rejected their URL fields. Match the exact crawled page against the polling request's url parameter, as the WordPress live runner does. Require a nonempty response mainUrl without assuming that it is the crawled page address.

Keep authentication, success and numeric issue-count checks. Regression cases accept a separate report link and reject the wrong requested page, missing links, unauthenticated responses and invalid issue counts. Safe diagnostics distinguish request URL matching from report-link presence without exposing either URL.

Validation: 17 local unit tests and all CI checks passed. The approved live run passed authenticated report lookup for the exact mapped URL, report-panel opening, and fresh handoff/loading-state exit for both saved draft revisions. The missing-image-alternative result assertion remains explicitly skipped; correct issue detection and removal are not yet established.

@MortenFriisSiteImprove
MortenFriisSiteImprove requested a review from a team as a code owner September 15, 2026 20:04
@MortenFriisSiteImprove
MortenFriisSiteImprove merged commit c06052a into main Sep 15, 2026
8 checks passed
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