[5.3][cypress] Use generated API bearer token#45796
Merged
laoneo merged 2 commits intojoomla:5.3-devfrom Jul 29, 2025
Merged
Conversation
Member
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/46494785677https://github.com/joomla/joomla-cms/actions/runs/16542404641/job/46785435525
https://github.com/joomla/joomla-cms/actions/runs/16474850085/job/46573698007
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: