Commit Graph

247 Commits

Author SHA1 Message Date
Becky Gilbert
c782de4348 add displayData to end (commented-out for hardware timing tests) 2021-04-23 15:40:21 -07:00
Josh de Leeuw
ab7ea845df add timing tests to test folder 2021-04-21 10:24:08 -04:00
Becky Gilbert
deb3dd6287 allow jsPsych.pluginAPI.compareKeys to handle null arguments, add tests - fixes #1577 2021-03-25 09:23:44 -07:00
Becky Gilbert
101508863c remove numeric keyCodes from tests (missed one) 2021-02-20 14:25:45 -08:00
Becky Gilbert
c6e09d7578 remove numeric keyCodes from tests 2021-02-20 14:24:36 -08:00
Josh de Leeuw
f2d2ced2a6 fix test to expect non-stringified data 2021-02-20 17:10:39 -05:00
Josh de Leeuw
3713be80f4 Merge branch 'master' into feature-params-in-data 2021-02-20 17:09:33 -05:00
Becky Gilbert
d22bdf1021 default to case-insensitive in compareKeys and getKeyboardResponse if called before jsPsych.init, add tests #396 2021-02-19 10:18:52 -08:00
Becky Gilbert
0b952934c1 adds tests to pluginAPI.compareKeys for case sensitive or insensitive key string comparison #396 2021-02-18 12:50:37 -08:00
Becky Gilbert
8a9e1a655a change responses to response in survey-text plugin #638 2021-02-17 15:58:54 -08:00
Becky Gilbert
db2a2dc6bc change responses to response in survey-multi-select plugin #638 2021-02-17 15:51:14 -08:00
Becky Gilbert
19a6485068 change responses to response in survey-multi-choice plugin #638 2021-02-17 15:46:04 -08:00
Becky Gilbert
967f546bfd change responses to response in survey-likert plugin #638 2021-02-17 15:41:50 -08:00
Becky Gilbert
56bf9c68e7 change responses to response in survey-html-form plugin #638 2021-02-17 15:38:22 -08:00
Becky Gilbert
584e03f7b0 fix failing tests: change key_press to response 2021-02-17 15:12:45 -08:00
Becky Gilbert
a8a1ffac2f change key_press to response in rdk plugin #638 2021-02-17 14:42:55 -08:00
Becky Gilbert
fe340488fc fix failing tests: change key_press to response 2021-02-17 14:36:56 -08:00
Becky Gilbert
efdd0eace3 change left/right data properties to a response object with left/right keys in maxdiff plugin #638 2021-02-17 14:21:09 -08:00
Becky Gilbert
b85ced4f0a change answers to response in cloze plugin #638 2021-02-17 13:45:33 -08:00
Becky Gilbert
2d845a45af add test for instructions view_history data JSON conversion - #670 2021-02-16 16:51:15 -08:00
Becky Gilbert
62db853317 add tests for change from JSON strings to objects/arrays in data 2021-02-16 15:25:16 -08:00
Becky Gilbert
2312550127 Merge branch 'master' into feature-objects-arrays-in-data 2021-02-16 14:37:07 -08:00
Josh de Leeuw
01ee2d02f5 add tests for extensions 2021-02-16 09:22:26 -05:00
Becky Gilbert
6436230760 add raw data comparison to values test 2021-02-12 16:32:04 -08:00
Becky Gilbert
62db19826e remove video tests (console error when plugin tries to pause video) 2021-02-12 16:30:50 -08:00
Becky Gilbert
5e58f6b952 add response scoring test for serial-reaction-time 2021-02-12 16:14:22 -08:00
Becky Gilbert
0e5264fa72 remove redundant test 2021-02-12 16:05:27 -08:00
Becky Gilbert
ca0c427e8f add a few more JSON and CSV conversion tests with plugins that uses objects and arrays in the data #670 2021-02-12 15:59:35 -08:00
Becky Gilbert
94d72ddf82 merge changes from master and fix merge conflicts #670 2021-02-12 15:58:48 -08:00
Becky Gilbert
080b2955da Merge branch 'master' into feature-timeline-events 2021-02-12 10:58:01 -08:00
Josh de Leeuw
969484f0e6 Merge branch 'master' into preload-docs 2021-02-12 11:28:47 -05:00
Becky Gilbert
5331b5c123 change numeric keyCodes to key strings, change valid keys to lowercase in examples/docs (missed these out in the earlier keyCode->key change) 2021-02-11 15:06:03 -08:00
Becky Gilbert
470c0d4c5f remove auto_preload: false in jsPsych.init from tests because preloading is moved to plugin 2021-02-11 14:25:31 -08:00
Becky Gilbert
9729cd99ef video tests just check that register preload is called, no longer test for auto-preloading 2021-02-11 14:24:29 -08:00
Josh de Leeuw
418e15db3d Merge branch 'master' of https://github.com/jspsych/jsPsych 2021-02-10 09:05:06 -05:00
Josh de Leeuw
8c4d17d675 fix a few test console.log and console.error messages 2021-02-10 09:05:02 -05:00
Becky Gilbert
d465c20b05 add tests 2021-02-09 17:17:08 -08:00
Becky Gilbert
7e288d4481 change keyCodes to keys in calls to utils.pressKey() 2021-02-09 15:29:02 -08:00
Becky Gilbert
d01881c692 merge changes from master and fix merge conflict 2021-02-09 15:23:40 -08:00
Becky Gilbert
51ee542e2e update with changes to master and fix merge conflict 2021-02-09 14:22:59 -08:00
Becky Gilbert
a106dbbd13 fix tests for addNodeToEndOfTimeline (no longer accepts callback) 2021-02-09 14:18:31 -08:00
Becky Gilbert
2e6378d7e2 change keyCodes to keys passed to utils.pressKey() 2021-02-09 14:12:28 -08:00
Becky Gilbert
fe0b40bfd5 fix timeline callback event tests and add new tests #585 2021-02-09 13:59:28 -08:00
Becky Gilbert
c8298e226f merge master into preload plugin branch and fix merge conflict 2021-02-09 10:57:46 -08:00
Josh de Leeuw
89a99da36f
Merge branch 'feature-all-timeline-vars' into feature-timeline-events 2021-02-09 13:32:18 -05:00
Josh de Leeuw
e0c0cc1d08
Merge pull request #1492 from jspsych/master
merge master updates into feature-all-timeline-vars-branch
2021-02-09 13:16:58 -05:00
Josh de Leeuw
b10c69eb21
Merge branch 'master' into feature-key-code-update 2021-02-08 22:00:09 -05:00
Josh de Leeuw
fbd9e4ca85 remove media folder from tests since functions are now mocked 2021-02-05 10:57:50 -05:00
Josh de Leeuw
bb07c913c7 change tests to use mock functions 2021-02-05 10:55:52 -05:00
Josh de Leeuw
7dbcfea7da add a test to ensure loop function runs only once with TVs #585 2021-02-04 21:53:55 -05:00