Unit/System Tests PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar muhme
muhme
26 Jan 2025

Summary of Changes

Since setSefDefaults already returns a Promise (which Cypress understands and waits for), there's no need to wrap it in an anonymous function. Therefore, the code has been simplified to make it prettier and a little more suitable for the next copy&paste.

Thanks to @laoneo for the hint.

Testing Instructions

Run Joomla System test plugins/system/sef/SefPlugin.cy.js with Cypress.

Actual result BEFORE applying this Pull Request

Joomla System test SefPlugin.cy.js is running w/o errors.

Expected result AFTER applying this Pull Request

Joomla System test SefPlugin.cy.js is still running w/o errors.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar muhme muhme - open - 26 Jan 2025
avatar muhme muhme - change - 26 Jan 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Jan 2025
Category JavaScript Unit Tests
avatar laoneo laoneo - change - 26 Jan 2025
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-01-26 10:55:08
Closed_By laoneo
Labels Added: Unit/System Tests PR-5.2-dev
avatar laoneo laoneo - close - 26 Jan 2025
avatar laoneo laoneo - merge - 26 Jan 2025
avatar laoneo
laoneo - comment - 26 Jan 2025

Thanks!

Add a Comment

Login with GitHub to post a comment