4 Commits
Author SHA1 Message Date
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