[tests] Added basic test for leaflet plugins #492 #499#503
Conversation
WalkthroughThis pull request updates the netjsonmap-plugins example template with formatting adjustments, then introduces test infrastructure to verify the example works correctly. The changes consist of: whitespace and indentation corrections in the HTML template file, addition of a new URL mapping for the plugins example in the test utilities, and a new browser test case that navigates to the plugins example, verifies the presence of expected Leaflet UI elements (container, draw toolbar, polyline button, measure control), and confirms no console errors occur during rendering. Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (3)**/*.{js,ts,css,scss,json}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.test.{js,ts}📄 CodeRabbit inference engine (AGENTS.md)
Files:
test/netjsongraph.browser.test.js📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (2)📚 Learning: 2026-01-22T22:37:11.271ZApplied to files:
📚 Learning: 2026-01-20T00:56:36.062ZApplied to files:
🧬 Code graph analysis (1)test/netjsongraph.browser.test.js (1)
🔇 Additional comments (3)
✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Added basic test for leaflet plugins.
Related to #492
Related to #499
Checklist