Skip to content

feat(qa): #2065 golden unattended Playwright smoke vs H2 qa-up - #2154

Merged
natechadwick merged 2 commits into
mainfrom
feat/issue-2065-golden-unattended-smoke
Aug 6, 2026
Merged

natechadwick merged 2 commits into
mainfrom
feat/issue-2065-golden-unattended-smoke

Conversation

@natechadwick-intsof

Copy link
Copy Markdown
Collaborator

Summary

Fixes #2065 — Parent #1928 slice B (epic #1827). Ship one golden unattended Playwright path (Admin login + modern Content Explorer) green against H2 perc-devctl qa-up with env-only invocation (no DEV_PERCUSSION_INSTALL).

Also unblocks silent H2 install / Rhythmyx startup defects found while running the live path:

Fix Why
Register PSGenerateRepositoryPassword in perc-ant antlib Silent install failed: failed to create task or type PSGenerateRepositoryPassword
Replace legacy <cxf:logging/> with LoggingFeature + cxf-rt-features-logging Jetty up but /Rhythmyx/login 503 — Spring could not parse CXF logging element
Modern React login selectors in auth.js Login form is SPA data-testid (no native select[name=j_locale])

Delivered

Item Location
Golden smoke spec modules/perc-qa-automation/frontend/tests/golden-unattended-smoke.spec.js
npm script npm run test:golden
One-shot docs (Unix + Windows) + artifact paths module README.md, docs/developer-module/workbench-rest-and-qa-modes.md
antlib registration + unit test modules/perc-ant antlib + AntlibTaskRegistrationTest
CXF logging readiness projects/sitemanage beans + pom
Auth helper dual path (modern + legacy) frontend/tests/helpers/auth.js

Out of scope (siblings)

Live smoke evidence

` ext
python docker/scripts/perc-devctl.py qa-up --skip-image-build

RESULT:OK STEP:qa-up

TEST_CMS_URL=http://127.0.0.1:9993 ADMIN_USERNAME=Admin (password from stdout)

cd modules/perc-qa-automation/frontend
='http://127.0.0.1:9993'
='Admin'
=
='h2'
npm run test:golden

2 passed (2.3s) — env resolve + Admin login + Content Explorer shell

python docker/scripts/perc-devctl.py qa-down

RESULT:OK STEP:qa-down

`

Failure artifacts (if red): modules/perc-qa-automation/frontend/test-results/, playwright-report/ — attach runbook playwright-failure-artifacts.md.

Test plan

  • cd modules/perc-qa-automation/frontend && npm run test:unit — 48 passed
  • cd modules/perc-qa-automation && ../../mvnw.cmd clean install — BUILD SUCCESS
  • cd modules/perc-ant && ../../mvnw.cmd clean install — BUILD SUCCESS
  • cd projects/sitemanage && ../../mvnw.cmd clean install — BUILD SUCCESS
  • Live H2 golden: npm run test:golden against qa-up — 2 passed
  • No secrets committed

Gates evidence

Gate Result
Live golden smoke 2 passed vs H2 freeport cell
Module clean install perc-qa-automation, perc-ant, sitemanage SUCCESS
Unit tests 48 frontend; AntlibTaskRegistrationTest + PSGenerateRepositoryPasswordTest
Cross-platform Docs document bash + cmd; freeport TEST_CMS_URL only
Secrets None in git; password from qa-up stdout only

Operator

Operator: Grok: night-issue-prs (model grok-4.5)

Parent tracker: #1928 · Epic: #1827

…l fix

Partial for #2065 (#1928 slice B / epic #1827):
- Add golden-unattended-smoke.spec.js (Admin login + Content Explorer shell)
- npm run test:golden; document Unix/Windows one-shot and artifact paths
- Register PSGenerateRepositoryPassword in perc-ant antlib (silent H2 qa-up
  previously failed mid-install without this taskdef) + unit test

Live evidence: after antlib fix, silent install completes and Jetty starts on
freeport; /Rhythmyx/login still 503 (Spring BeanDefinitionParser for CXF
logging in sitemanage-beans.xml). Residual issues filed for stack readiness.

Gates: perc-ant + perc-qa-automation clean install SUCCESS; npm test:unit 48 pass.

> Co-Authored by Grok Build using grok-4.5 with agent main.
Unblocks live golden smoke against perc-devctl qa-up (#2065):
- sitemanage-beans: replace legacy <cxf:logging/> with LoggingFeature bean
  and add cxf-rt-features-logging runtime dep (Spring parser 503)
- auth.js: fill modern React login via data-testid; keep legacy form path

Live: qa-up RESULT:OK → npm run test:golden → 2 passed → qa-down.

> Co-Authored by Grok Build using grok-4.5 with agent main.
@natechadwick
natechadwick merged commit 28969b4 into main Aug 6, 2026
7 checks passed
@natechadwick
natechadwick deleted the feat/issue-2065-golden-unattended-smoke branch August 6, 2026 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

model:grok-4.5 Grok 4.5 model operator:grok Changes authored by Grok operator:night-issue-prs night-issue-prs workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(qa): #1928 slice B — golden unattended Playwright smoke vs H2 qa-up

2 participants