User tests: Successful: Unsuccessful:
Added Cypress test for categories of banners , contacts and content.
Category | ⇒ | JavaScript Unit Tests |
Status | New | ⇒ | Pending |
Labels |
Added:
?
?
PR-4.4-dev
|
Thanks for the pr. Can you change the describe texts that they look the same as https://github.com/joomla/joomla-cms/blob/4.4-dev/tests/System/integration/api/com_newsfeed/Categories.cy.js#L1?
Done.
Run the install test first and then this one. You will figure out what the problem is then.
Labels |
Added:
Feature
|
The problem was that there are default categories created during installation (with the title 'Uncategorized') where data[0] is returning that one instead the newly created one.
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-06-16 07:23:03 |
Closed_By | ⇒ | laoneo |
Finally, thanks!
The problem was that there are default categories created during installation (with the title 'Uncategorized') where data[0] is returning that one instead the newly created one.
Ok understood. I spent a lot of time to understand why test is failing but fail to get the reason.
Thanks a lot for this.
Thanks for the pr. Can you change the describe texts that they look the same as https://github.com/joomla/joomla-cms/blob/4.4-dev/tests/System/integration/api/com_newsfeed/Categories.cy.js#L1?