Test for #614 - #903
Conversation
Revised and simplified: - Discarded a use case that was both elaborate and probably set up wrong. If we want to test template output, a second file (incoming-02) would be more appropriate. - Covered two issues separately (SemanticMediaWiki#614 and SemanticMediaWiki#984).
Updated JSONScript test cases to remove div elements and adjust query formats. I do wonder if 'incoming' is at all enabled in the integration tests.
|
Interestingly, A previous version, without |
Maybe use object structure with "append" instead of "srfgFormats[]"?
object structure with append not working
|
I give up. @gesinn-it-gea, I was hoping you'd be able to tell what's wrong with the integration test. It looks like either the incoming format refuses to be enabled, in spite of the explicit settings, or there may be other reasons why the query is simply not able to pick up incoming semantic data. [Edit - 9 July] Looks like the solution will be #1117, which needs to be merged first. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #903 +/- ##
============================================
+ Coverage 58.38% 58.84% +0.45%
Complexity 2469 2469
============================================
Files 129 129
Lines 11828 11828
Branches 473 473
============================================
+ Hits 6906 6960 +54
+ Misses 4577 4523 -54
Partials 345 345 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Adds a JSONScript test file for the incoming format, focusing for now on #614.