Created on 16 March 2023, over 1 year ago
Updated 24 March 2023, over 1 year ago

Problem/Motivation

There were several major issues in the last release causing WSOD's. To ensure the module works as expected before a release, it should have automated tests in the future.

Community should please help here, it's not only the maintainers job!
I think we should focus on 4.0.x as it's the future...

Steps to reproduce

Proposed resolution

Write tests:

  1. [ ] Install tests (load front afterwards)
  2. [ ] Uninstall tests
  3. [ ] Place block for Content Language (load front afterwards)
  4. [ ] Place block for Interface Language (less important, load front afterwards)
  5. [ ] Test the block to show on non-node (system) pages like /user/login
  6. [ ] Test the block to show on non-node (system) error pages like /non-existing-page (404), /admin as anonymous user (403)
  7. [ ] Test the block to show on node pages translated to the current language
  8. [ ] Test the block to show on node pages NOT translated to the current language
  9. [ ] Test the different block configurations
  10. [ ] Enable only one language and test the block and its contents to show correctly
  11. [ ] Enable multiple languages and test the block and its contents to show correctly
  12. [ ] Test caching (PP on 📌 Make dropdown language block cacheable Postponed )
  13. [ ] Test the different cases/conditions in https://git.drupalcode.org/project/dropdown_language/-/blob/4.0.x/src/Pl... aka /admin/config/regional/dropdown-language-switcher

Some of the cases will need to be combined to test all possible scenarios.

For the more complicated cases it might be helpful to ask @SKAUGHT for the expected results or first test manually to ensure the current behavior makes sense and we don't test for wrong behavior.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Needs work

Version

4.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024