dotCMS / dotCMS/core

E2E test reporting fails due to bash syntax error in CI pipeline

Open
#33,219 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #33220 by @spbolton — closed without merging
dotCMS : Technical Debt Priority : 2 High Team : Platform
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Description

E2E tests are failing to generate test reports in nightly CI runs due to bash syntax error with double bracket conditional. The issue occurs when tests fail - the pipeline tries to execute 'if [[ != ci ]]; then yarn playwright show-report; fi' but /bin/sh doesn't support double bracket syntax, causing 'not found' error and preventing proper test report generation.

Acceptance Criteria

  • [Define what needs to be accomplished]

Additional Notes

[Any additional context or notes]

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

Inspect the nightly CI pipeline step that runs yarn playwright show-report after E2E failures, starting with the shell used to execute the conditional. Reproduce a failing E2E run and verify that report generation completes without a shell syntax error.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
Domain
ci-cd
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.