Stage: fix CI JS corruption from obfuscator stdout + flaky test guards #82

Merged
will.anderson merged 2 commits from dev into stage 2026-05-11 14:16:52 +00:00
Owner

Promotes the CI fix from dev.

  • Strip [javascript-obfuscator-cli] progress line from elc --obfuscate stdout before writing compiled JS files — was corrupting all stage JS, causing browser parse errors and every mock Stripe test to fail
  • Remove spurious auth guards from buyer-name/buyer-email DOM tests
  • Switch chat.spec.ts beforeEach to domcontentloaded to avoid cold-start networkidle timeouts
Promotes the CI fix from dev. - Strip `[javascript-obfuscator-cli]` progress line from `elc --obfuscate` stdout before writing compiled JS files — was corrupting all stage JS, causing browser parse errors and every mock Stripe test to fail - Remove spurious auth guards from buyer-name/buyer-email DOM tests - Switch `chat.spec.ts` beforeEach to `domcontentloaded` to avoid cold-start networkidle timeouts
will.anderson added 2 commits 2026-05-11 14:16:43 +00:00
Fix CI JS corruption from obfuscator stdout; clean up flaky test guards
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 1m54s
61f006f62d
- Strip [javascript-obfuscator-cli] progress line from elc --obfuscate
  output before writing to dist/js/ (was prepended to every compiled JS
  file, causing browser parse errors on stage)
- Remove spurious waitForFunction(signUpWithEmail) guards from
  buyer-name and buyer-email structural tests (pure DOM tests, no auth)
- Switch chat.spec.ts beforeEach to domcontentloaded (SSR elements
  present at DOM ready; networkidle caused cold-start timeouts)
Merge fix/stage-ci-paths: fix CI JS corruption + flaky test guards
will.anderson merged commit f9a5f93070 into stage 2026-05-11 14:16:52 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/neuron-web#82