config.json:_spoor._advancedSettings._uniqueInteractionIds = false to allow control over unique cmi.interactions.n.id entries
Switched cookeLMS to store values in nested objects and arrays rather than as a hash of key value pairs (backward compatible), such that it's possible to properly test the cmi.interactions property. In the future cmi.objectives, cmi.comments_from_learner and cmi.interactions.n.objectives.m can be easily added to the scorm_test_harness.html cookie lms as a result
Running from scorm_test_harness.html, in the console, window.API.LMSGetValue('cmi.interactions._count') should return 0 initially and then the number of interactions if any questions are answered.
fixes #277
New
config.json:_spoor._advancedSettings._uniqueInteractionIds = false
to allow control over uniquecmi.interactions.n.id
entriescmi.interactions
property. In the futurecmi.objectives
,cmi.comments_from_learner
andcmi.interactions.n.objectives.m
can be easily added to thescorm_test_harness.html
cookie lms as a resultThe cookie lms will look like this now:
Instead of this:
SCORM 2004 v4 Spec, RTE-4-5: Only support for
cmi.interactions
has been added to the testing environment.Testing
Running from scorm_test_harness.html, in the console,
window.API.LMSGetValue('cmi.interactions._count')
should return0
initially and then the number of interactions if any questions are answered.