-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Codi 🐶 default base test #1195
Codi 🐶 default base test #1195
Conversation
To test this you can navigate to http://localhost:3000/{dir}?template=test_view. You should see something like the following in your console. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Loving it - so easy to use and covers so many good tests! 👌👏
Only one thing - can we update the readme / config docs somewhere to highlight this option and how to use?
@simon-leech I have included a how to test on the mapview module docs. Will need to think how we can better document the tests too. Lets create a TODO for that 👍 |
Thanks Rob! Just that little bit of docs looks good to me for now. We can revisit more detailed in the future 👍 |
Quality Gate passedIssues Measures |
I have also made each test in the _default.test.mjs await so that we ensure nothing runs before it needs to. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐶 Added Codi Test Module for Building Default Mapview 🧪
Description 📝
This pull request introduces a comprehensive test module that ensures the correct functionality and behavior of a mapview in our application. The test module covers various aspects of the mapview, including dictionary merging, user authentication, language selection, scroll restoration, tab functionality, locale retrieval, mapview creation, layer management, gazetteer integration, and more.
Key Features and Improvements ✨
1. Dictionary Merging 📘
2. User Authentication 🔒
3. Language Selection 🌐
4. Scroll Restoration 📜
5. Tab Functionality 🗂️
6. Locale Retrieval 🌎
7. Mapview Creation 🗺️
8. Layer Management
9. Gazetteer Integration 📍
10. Listview Creation 📋
11. Highlight Interaction 🔦
12. Tabview Functionality 🗂️
fin 🎉
This test module serves as a comprehensive suite to validate the functionality and behavior of a view that simulates our default mapview. It ensures that all the critical components, such as dictionary merging, user authentication, language selection, tab functionality, locale retrieval, mapview creation, layer management, gazetteer integration, and listview creation, are working as expected.
By including this test module, we can have confidence in the stability and reliability of our application's default mapview. It will help catch any potential issues or regressions during development and provide a solid foundation for future enhancements and modifications.
Please can you review the test module and provide any feedback or suggestions for improvement. Once approved, we can merge this pull request and include the test module in our codebase.