dotCMS / core

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

Transform test results to unit test format and include them in test results artifact #29848

Closed victoralfaro-dotcms closed 1 week ago

victoralfaro-dotcms commented 1 month ago

Parent Issue

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

User Story

As a dev-ops/CICD engineer, I want to ensure the E2E test results are output in the correct unit test results format. Once formatted, bundle all the test results and upload them as a GitHub artifact, following the same process as other test types. This artifact must then be downloaded by subsequent workflows (e.g., Report and/or Finalize jobs in cicd_#_... workflow files) to interpret the results and resolve the overall test results.

Acceptance Criteria

dotCMS Version

master

Proposed Objective

Quality Assurance

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. Ensure E2E test results are in the correct unit test format - 3 hours
  2. Bundle all test results and configure artifact upload - 4 hours
  3. Modify Report and/or Finalize jobs to download and process the artifact - 3 hours
  4. Test and validate the workflow across environments - 4 hours
victoralfaro-dotcms commented 2 weeks ago

QA Notes:

jcastro-dotcms commented 2 weeks ago

INTERNAL QA: PASSED

The test report is now including errors from E2E tests. Here's an example of a report I generated based on the instructions provided by @victoralfaro-dotcms : https://github.com/dotCMS/core/pull/30227/checks?check_run_id=30998887410

josemejias11 commented 4 days ago

Approved: