dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
846 stars 465 forks source link

Create dotCMS child project to host E2E tests #29845

Open victoralfaro-dotcms opened 2 weeks ago

victoralfaro-dotcms commented 2 weeks ago

Parent Issue

https://github.com/dotCMS/core/issues/29350

User Story

As a dev-ops/CICD engineer, I want to create a new Maven module project to be included in the main dotCMS root Maven project file. This file should reference any new dependencies from the application BOM file, so changes in the corresponding POM will be required. Additionally, there should be some sort of output indicating a forked process that needs to be executed by a Maven plugin (probably Failsafe) at the same phase of integration and Postman tests.

Acceptance Criteria

dotCMS Version

master

Proposed Objective

Core Features

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

_todefine

Assumptions & Initiation Needs

Quality Assurance Notes & Workarounds

Sub-Tasks & Estimates

  1. Create new Maven module project and integrate with root POM - 4 hours
  2. Update BOM file with new dependencies - 2 hours
  3. Configure Maven plugin (Failsafe) for forked process - 3 hours
  4. Test integration and output generation - 5 hours
victoralfaro-dotcms commented 3 days ago

QA Notes: Since this is merely for developers usage to test this initiative please run:

# Build dotCMS
./mvnw -DskipTests clean install

Then

# Java E2E tests
./mvnw -pl :dotcms-e2e-java verify -De2e.test.skip=false

and

# Node.js E2E tests
./mvnw -pl :dotcms-e2e-node verify -De2e.test.skip=false

To kill any remaining containers run:

./mvnw -pl :dotcms-e2e -Pdocker-stop -De2e.test.skip=false
jcastro-dotcms commented 2 days ago

INTERNAL QA: PASSED

E2E testing for both Java and Node.js work perfectly. This is what I can see in my local:

josemejias11 commented 2 days ago

Approved: Tested on trunk_ea7843a, Docker, macOS 14.5, FF v126.0.1