dotCMS / dotCMS/core

UVE: Improve test runner

Open
#31,484 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Team : Scout Type : Task
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Parent Issue

No response

Task

The UVE portlet currently has a large number of unit tests.
However, running them takes significantly longer compared to other test runners.

For other tests, execution starts immediately, even if the tests themselves take time to complete.

In the case of UVE, the tests take around 5 minutes just to start running.

Sometimes, they never start executing, requiring a manual restart of the process.
Other times, they start but never progress or complete, forcing another restart.
This issue needs investigation—there may be a misconfiguration in Jest for this portlet. While a long execution time is expected due to the number of tests, the excessive delay in starting suggests a deeper problem beyond just test volume.

Proposed Objective

Core Features

Proposed Priority

Priority 3 - Average

Acceptance Criteria

No response

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

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the UVE portlet test runner behavior and inspecting its Jest configuration, then compare startup behavior with the other test runners. Done means the tests begin reliably without a five-minute delay, hanging, or requiring a manual process restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.