User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Add mod_articles_popular system test.
Category | ⇒ | JavaScript Unit Tests |
Status | New | ⇒ | Pending |
Surely thats just testing if the module loads something and not that it loads something popular
Surely thats just testing if the module loads something and not that it loads something popular
It would indeed be nicer to load, for example, the last five articles with one of them with the title of the test article.
The question is whether that is possible in a simple way.
I've tried that but haven't gotten it done yet.
For now this is ok, we can always add more tests in the future when we get more experience.
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-03-25 08:19:45 |
Closed_By | ⇒ | laoneo | |
Labels |
Added:
?
PR-4.4-dev
|
Note; It would then be nice to use an if statement if there are no articles yet
Tests should not have conditions and you have to always assume the database is empty. So you have to setup tthe database in a way you want to test it.
Thanks
Result of the (local) Cypress test in browser