Unit/System Tests PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar heelc29
heelc29
31 Jan 2026

This is a continuation of #45582.

This pull request builds on #46798, so that should be tested/merged first.

Summary of Changes

  • adds system tests (cypress) for workflow plugins
  • return value of new plugin structure do not support return values -> return type should void
  • it is not checked everywhere whether the extension has been excluded for workflow plugin
  • It is possible to bypass the publish/featured status even though it is controlled by the workflow plugin

Testing Instructions

enable workflow integration for articles component
image


  1. fix

comment this line, so the field for change state of an article will be still displayed (alternatively, you can manipulate the POST data so that the field is still sent -> more suitable for experts)

$this->enhanceItemForm($form, $data);

try to save or create an article


  1. fix

add Articles: Articles to Forbidden Extensions of workflow plugin (Publishing/Featuring)
image
try to change the state in list view

Actual result BEFORE applying this Pull Request

  1. fix
    article is saved with new state and two messages are shown (success and danger)
image
  1. fix

its not possible to change the state in list view
image

Expected result AFTER applying this Pull Request

  1. fix

save will fail with danger message
image


  1. fix

its possible to change the state in list view
image

Link to documentations

Please select:

  • No documentation changes for docs.joomla.org needed
  • No documentation changes for manual.joomla.org needed
avatar heelc29 heelc29 - open - 31 Jan 2026
avatar heelc29 heelc29 - change - 31 Jan 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 31 Jan 2026
Category Administration com_workflow Front End Plugins Unit Tests Repository JavaScript
avatar heelc29 heelc29 - change - 31 Jan 2026
Labels Added: Unit/System Tests PR-5.4-dev
avatar brianteeman
brianteeman - comment - 31 Jan 2026

Thanks for updating the test descriptions

Add a Comment

Login with GitHub to post a comment