Unit/System Tests Test instructions missing NPM Resource Changed PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar Bodge-IT
Bodge-IT
17 Dec 2025
avatar Bodge-IT Bodge-IT - open - 17 Dec 2025
avatar Bodge-IT Bodge-IT - change - 17 Dec 2025
Status New Pending
avatar joomla-cms-bot
joomla-cms-bot - comment - 17 Dec 2025

Please add more information to your issue. Without test instructions and/or any description we will close this issue within 4 weeks. Thanks.
This is an automated message from the J!Tracker Application.

avatar joomla-cms-bot joomla-cms-bot - change - 17 Dec 2025
Category JavaScript Repository NPM Change Front End com_banners Plugins Unit Tests
avatar richard67
richard67 - comment - 17 Dec 2025

@Heelc Could you check why the system tests from your 5.4-dev PR #45497 fails here in 6.0-dev at least with PostgreSQL?

See extract from the log here:

Running:  plugins/system/tasknotification/TaskNotification.cy.js                      (145 of 149)

  Test that the task notification system plugin
    ✓ can display notification form (1414ms)
    1) can notify successful task execution
    2) can notify failed task execution

  1 passing (12s)
  2 failing

  1) Test that the task notification system plugin
       can notify successful task execution:
     AssertionError: Timed out retrying after 4000ms: expected '<header.joomla-dialog-header>' to contain 'Test task (ID: 8)'
      at Context.eval (webpack://joomla/./tests/System/integration/plugins/system/tasknotification/TaskNotification.cy.js:38:46)
      at withinFn (https://localhost/__cypress/runner/cypress_runner.js:135871:8)
      at <unknown> (https://localhost/__cypress/runner/cypress_runner.js:135952:16)
      at __WEBPACK_DEFAULT_EXPORT__ (https://localhost/__cypress/runner/cypress_runner.js:133787:10)
      at Context.within (https://localhost/__cypress/runner/cypress_runner.js:135938:67)
      at wrapped (https://localhost/__cypress/runner/cypress_runner.js:141596:19)

  2) Test that the task notification system plugin
       can notify failed task execution:
     AssertionError: Timed out retrying after 4000ms: expected '<header.joomla-dialog-header>' to contain 'Test task (ID: 9)'
      at Context.eval (webpack://joomla/./tests/System/integration/plugins/system/tasknotification/TaskNotification.cy.js:73:46)
      at withinFn (https://localhost/__cypress/runner/cypress_runner.js:135871:8)
      at <unknown> (https://localhost/__cypress/runner/cypress_runner.js:135952:16)
      at __WEBPACK_DEFAULT_EXPORT__ (https://localhost/__cypress/runner/cypress_runner.js:133787:10)
      at Context.within (https://localhost/__cypress/runner/cypress_runner.js:135938:67)
      at wrapped (https://localhost/__cypress/runner/cypress_runner.js:141596:19)

  (Results)
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        3                                                                                │
  │ Passing:      1                                                                                │
  │ Failing:      2                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  2                                                                                │
  │ Video:        false                                                                            │
  │ Duration:     12 seconds                                                                       │
  │ Spec Ran:     plugins/system/tasknotification/TaskNotification.cy.js                           │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘

Thanks in advance.

avatar richard67
richard67 - comment - 17 Dec 2025

@Bodge-IT Please apply @heelc29 's two change suggestions above to make system tests passing.

avatar Bodge-IT Bodge-IT - change - 17 Dec 2025
Labels Added: Unit/System Tests Test instructions missing NPM Resource Changed PR-6.0-dev
avatar richard67
richard67 - comment - 17 Dec 2025

See #45313

Thanks @Heelc for your help.

avatar Bodge-IT Bodge-IT - change - 17 Dec 2025
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-12-17 19:01:11
Closed_By Bodge-IT
avatar Bodge-IT Bodge-IT - close - 17 Dec 2025
avatar Bodge-IT Bodge-IT - merge - 17 Dec 2025

Add a Comment

Login with GitHub to post a comment