Fix CI JS corruption from obfuscator stdout; clean up flaky test guards #81
Reference in New Issue
Block a user
Delete Branch "fix/stage-ci-paths"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
elc --obfuscateprints a[javascript-obfuscator-cli]progress line to stdout. CI was redirecting all stdout directly todist/js/${name}.js, prepending this non-JS line to every compiled file and causing browser parse errors on stage.elcoutput to/tmp/_elc_out.jsfirst, thensedstrips[javascript-obfuscatorlines before writing todist/js/.waitForFunction(signUpWithEmail)guards frombuyer-nameandbuyer-emailtests (pure DOM structural tests, no auth interaction).chat.spec.tsbeforeEachfromnetworkidletodomcontentloaded(SSR elements present at DOM ready; networkidle caused cold-start timeouts).Test plan
[javascript-obfuscatorprefix indist/jsfilesinitStripefrom loading)