Skip to content

[Release] Stage to Main#5927

Open
milo-pr-merge[bot] wants to merge 2 commits into
mainfrom
stage
Open

[Release] Stage to Main#5927
milo-pr-merge[bot] wants to merge 2 commits into
mainfrom
stage

Conversation

* MWPW-191951: Detect unpublished M@S fragments in Preflight

Adds an M@S unpublished-fragment check to the Preflight modal. Scans
every <aem-fragment fragment> on the page, calls the Adobe MAS fragment
API per UUID, and surfaces 404s as a CRITICAL fail through the shared
preflight aggregator.

- New checks/merch.js: findFragmentElements, checkFragmentPublished,
  checkUnpublishedFragments (with diagnostic log), runChecks factory.
- preflightApi.js: wires merch into the runChecks aggregator and
  hasFailures result.
- panels/merch.js: M@S panel renders an "Unpublished Fragments" section
  using the shared helper; affected cards get a "Not published" badge,
  red outline, and diagonal hatch overlay.
- preflight-notification.js: appends an additive M@S line to the
  failure toast (no hard-block).
- preflight.css: .preflight-mas-unpublished outline, hatch background,
  and corner badge styles.
- Unit tests cover element discovery, fetch status mapping, aggregator
  output, runChecks pass/fail, and API URL shape.

* MWPW-191951: Replace console.log with lana and fix hardcoded font-family

- Replace console.log + eslint-disable with window.lana logging (only on unpublished)
- Replace hardcoded Adobe Clean font-family with var(--body-font-family)

* chore: re-trigger CI
@milo-pr-merge
Copy link
Copy Markdown
Contributor Author

milo-pr-merge Bot commented May 12, 2026

Testing can start @adobecom/bacom-sot @adobecom/creative-cloud-sot @adobecom/document-cloud-sot @adobecom/express-sot @adobecom/homepage-sot @adobecom/miq-sot @adobecom/blog-sot

@milo-pr-merge milo-pr-merge Bot requested a review from a team as a code owner May 12, 2026 21:16
@aem-code-sync
Copy link
Copy Markdown
Contributor

aem-code-sync Bot commented May 12, 2026

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-sync branch
Commits

@github-actions
Copy link
Copy Markdown
Contributor

SNOW Change Request Transaction ID: 0000019c1ef37582-e7eb895

@mokimo mokimo temporarily deployed to milo_pr_merge May 13, 2026 02:49 — with GitHub Actions Inactive
Adds comprehensive end-to-end test coverage for the Floodgate for DA tool
(MWPW-189268) running against da.live with the da-floodgate branch.

What's included:
- Page Object Model with iframe + shadow DOM traversal (floodgate.page.js)
- 51 test cases across 7 suites: Page Load, Path Validation, Copy (Simple +
  Real Events), Content Integrity, Promote, Delete, Cancel/Retry, E2E
  Smoke Chain
- Real-content seed script that pulls 5 production event pages + their
  fragments into a sandbox at /drafts/nala-fg-test/
- DA login helper that saves a Playwright storageState for test reuse
- Self-healing test data hooks via DA admin API (ensureFileInFg) so
  delete tests don't break each other
- Byte-level source-vs-FG content comparator that normalizes URL rewrites
  and verifies CaaS-encoded payload preservation
- Full English TEST-PLAN.md with execution instructions and risk register

Test execution:
- 51 tests, 49 pass, 2 intentional skips, 0 failures
- ~7 min runtime at workers=1
- Verified Bugs #1 (runtime fragment discovery) and #2 (.link file
  handling) are now fixed in the da-floodgate branch

Auth setup:
- Run `node nala/utils/da-login.js` once to create auth.json (gitignored)
- Tests reuse the storageState; no credentials in code

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

3 participants