9 Commits
Author SHA1 Message Date
James MaesandClaude Opus 5.5 3ac26b2bac ci: run the Selenium ITs headless against the dev server, as the orb did
maven / build (push) Successful in 15m19s
build / maven (push) Successful in 15m19s
The Selenium ITs need a headless Chrome and the HTTPS React dev server on
:3001. Move the prebuild into scripts/ci-prebuild.sh, which also starts the
dev server (HTTPS, port 3001, backend proxy 8001) the way the qqq-orb
frontend-material pipeline did, and treat CI=true like QQQ_SELENIUM_HEADLESS
(and like CIRCLECI for waitForever) so the tests run headless on any CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 17:41:38 -06:00
james.maes 738cfbb261 fix(#942): include project notices in published jars 2026-09-30 23:24:58 -05:00
james.maes 76d8d4dce1 feat(e2e): add dual-platform visual regression snapshots
Use platform-specific snapshot directories (linux/, darwin/) to enable
visual regression tests on both CI and local development environments.

- Remove obsolete theme-defaults.spec.ts tests
2026-01-17 08:00:31 -06:00
james.maes 1ba88ba891 fix: regenerate snapshots with servers running inside Docker (#128)
Runs both fixture server and React dev server inside Docker container
to match CI environment exactly, ensuring font rendering consistency.
2026-01-16 13:59:07 -06:00
james.maes 5bfd0c6a56 test: add Docker-based snapshot generation for CI compatibility (#128)
- Regenerate snapshots via Linux Docker container matching CI environment
- Add scripts/update-snapshots.sh for consistent cross-platform snapshots
- Update playwright config with snapshot path template
2026-01-16 13:59:07 -06:00
james.maes 54ae073925 fix: Updated server handles for ci 2025-09-08 13:24:16 -05:00
james.maes 6a28b1c446 fix:Updated integration tests to be IT intest of Test to fit into standard Maven convention 2025-09-08 12:59:29 -05:00
james.maes 6f42b836b9 Additional CICD updates to get GHA running 2025-09-08 12:31:00 -05:00
james.maes c390fc1e50 feat: Integrate NPM server lifecycle into Maven build process
- Add Maven-NPM server integration for Java Selenium tests
- Configure frontend-maven-plugin to manage React dev server lifecycle
- Add server start/stop executions in pre/post-integration-test phases
- Create robust server manager script with health checks and cleanup
- Add ServerHealthChecker utility for server readiness validation
- Update QBaseSeleniumTest to detect Maven-managed environment
- Configure Maven Failsafe plugin for proper integration test handling
- Fix test failure behavior to block deployment when tests fail
- Update CircleCI to capture both Surefire and Failsafe test reports
- Add comprehensive documentation in README.md

Changes:
- pom.xml: Add NPM server lifecycle, Failsafe plugin, fix test failure handling
- package.json: Add start-server and stop-server npm scripts
- scripts/server-manager.js: New server lifecycle management script
- src/test/java/.../ServerHealthChecker.java: New server readiness utility
- src/test/java/.../QBaseSeleniumTest.java: Update for Maven integration
- circleci-config.yml: Enhanced test result capture and artifact storage
- README.md: Added Maven-NPM integration documentation
2025-09-08 08:06:46 -05:00