User tests: Successful: Unsuccessful:
On line 22 "ci-admin" was hardcoded, causing the test to fail, if another user is configured in cypress.config.mjs
replaced ci-admin with Cypress.env('username')
Configure cypress.config.mjs to user other than "ci-admin"
"can display a list of actions" will fail due to "ci-admin" not being found in log
Test will pass, due to searching for the actual username
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
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Unit Tests |
Labels |
Added:
Unit/System Tests
PR-5.2-dev
|
I changed the Syntax to not use the concatenation Drone was complaining about. However - I don't see why it's failing now with "Unexpected token username" as this is the Variable from Cypress' config and the test works perfectly like that.
Thanks @richard67 👍
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-11-12 06:49:19 |
Closed_By | ⇒ | laoneo |
Thanks!
@pAnd0rASBG Could you check and fix the javascript codestyle error reported by Drone here https://ci.joomla.org/joomla/joomla-cms/80258/1/20 ?