Unit/System Tests PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar heelc29
heelc29
27 Jul 2025

Summary of Changes

Get generated API bearer token from backend instead of fixed value (needs manipulated secret) for systemtests

tests sometimes fails due duplicated key for api user
> ER_DUP_ENTRY: Duplicate entry '3' for key 'PRIMARY'
https://github.com/joomla/joomla-cms/actions/runs/16449121867/job/46489472330
https://github.com/joomla/joomla-cms/actions/runs/16483703457/job/46604072452
> Postgres query failed: duplicate key value violates unique constraint "cpostgresmax_users_pkey" https://github.com/joomla/joomla-cms/actions/runs/16450618807/job/46494785677
https://github.com/joomla/joomla-cms/actions/runs/16542404641/job/46785435525
https://github.com/joomla/joomla-cms/actions/runs/16474850085/job/46573698007
image

Testing Instructions

api tests should work (without manipulated secret)

Actual result BEFORE applying this Pull Request

secret must be manipulated
tests could fail due fix user id for api user

Expected result AFTER applying this Pull Request

Secret does not need to be adjusted
No user with fixed user id does not need to be created (no possibility for tests failing)

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 - 27 Jul 2025
avatar heelc29 heelc29 - change - 27 Jul 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Jul 2025
Category JavaScript Unit Tests
avatar heelc29 heelc29 - change - 28 Jul 2025
The description was changed
avatar heelc29 heelc29 - edited - 28 Jul 2025
avatar laoneo laoneo - change - 29 Jul 2025
Labels Added: Unit/System Tests PR-5.3-dev
avatar laoneo laoneo - close - 29 Jul 2025
avatar laoneo laoneo - merge - 29 Jul 2025
avatar laoneo laoneo - change - 29 Jul 2025
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-07-29 05:26:16
Closed_By laoneo
avatar laoneo
laoneo - comment - 29 Jul 2025

Thanks!

Add a Comment

Login with GitHub to post a comment