Skip to content

Add manual live Prepublish smoke test - #66

Merged
MortenFriisSiteImprove merged 2 commits into
masterfrom
test/prepublish-live
Sep 10, 2026
Merged

MortenFriisSiteImprove merged 2 commits into
masterfrom
test/prepublish-live

Conversation

@MortenFriisSiteImprove

@MortenFriisSiteImprove MortenFriisSiteImprove commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

The credential-free tests in #65 verify WordPress preview capture but cannot establish that Siteimprove accepts the draft or returns results. This follow-up adds an initial manual Chromium test that signs in with a direct test account, verifies existing Live page data for the mapped crawled URL, and requests a fresh Prepublish check of an unpublished autosave with an empty HTML title.

The test observes the real SDK handoff and requires this run's unique draft marker before accepting a completed missing-title result. A disposable WordPress fixture preserves the mapped path and query; the plugin performs its normal Public URL conversion. The crawled website is never visited directly.

The workflow is manual-only, restricted to master, pinned to PR #64 commit a23af85, and uses the siteimprove-test environment. The six environment secrets are passed only to the live step. Account diagnostics, screenshots, traces and server logs are not uploaded. No workflow has been dispatched.

Validation: ten credential-free contract tests passed, including both login failure paths and account-artifact privacy guards. Four WordPress fixture checks passed in Chromium and Firefox, covering root/nested paths, query preservation, empty titles, draft privacy and inline styles. The synthetic cross-origin observer check passed in Chromium. Its Firefox variant failed during iframe initialization; observer coverage is scoped to Chromium, matching the live runner.

This remains a draft: actual account login, entitlement, SDK selectors, the missing-title issue label and use of the unrelated crawled site's context have not been validated against Siteimprove. Report-rerender styling remains a manual acceptance check. The first authorized live run may require adjustments to those integration details.

Targets master after #65 merged. This diff contains only the live-test follow-up; production plugin code is unchanged. Review this follow-up before enabling a manual live run.

@MortenFriisSiteImprove
MortenFriisSiteImprove changed the base branch from test/prepublish-workflows to master September 10, 2026 19:11
@MortenFriisSiteImprove
MortenFriisSiteImprove marked this pull request as ready for review September 10, 2026 19:12
@MortenFriisSiteImprove
MortenFriisSiteImprove requested a review from a team as a code owner September 10, 2026 19:12
@MortenFriisSiteImprove
MortenFriisSiteImprove merged commit 4609824 into master Sep 10, 2026
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