diff --git a/.changeset/shaggy-crabs-thank.md b/.changeset/fresh-doors-watch.md similarity index 66% rename from .changeset/shaggy-crabs-thank.md rename to .changeset/fresh-doors-watch.md index 416b12445d..865938e424 100644 --- a/.changeset/shaggy-crabs-thank.md +++ b/.changeset/fresh-doors-watch.md @@ -3,7 +3,6 @@ "@jspsych/plugin-audio-button-response": minor "@jspsych/plugin-audio-keyboard-response": minor "@jspsych/plugin-audio-slider-response": minor -"@jspsych/test-utils": minor --- -Changed plugins to use AudioPlayer class; added tests using AudioPlayer mock; plugins now use AudioPlayerInterface; changed test-utils to fix clickTarget +Changed plugins to use AudioPlayer class; added tests using AudioPlayer mock; plugins now use AudioPlayerInterface. diff --git a/.changeset/silly-cycles-sneeze.md b/.changeset/silly-cycles-sneeze.md deleted file mode 100644 index f006592cb3..0000000000 --- a/.changeset/silly-cycles-sneeze.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jspsych/test-utils": minor ---- - -Call `flushPromises()` in event-dispatching utility functions to simplify tests involving jsPsych 8 diff --git a/.changeset/thick-berries-arrive.md b/.changeset/thick-berries-arrive.md new file mode 100644 index 0000000000..ff7a5f24fe --- /dev/null +++ b/.changeset/thick-berries-arrive.md @@ -0,0 +1,5 @@ +--- +"@jspsych/test-utils": minor +--- + +clickTarget method now respects disabled tag on form elements. diff --git a/docs/reference/jspsych-pluginAPI.md b/docs/reference/jspsych-pluginAPI.md index 937e2d444b..c907a54e53 100644 --- a/docs/reference/jspsych-pluginAPI.md +++ b/docs/reference/jspsych-pluginAPI.md @@ -330,7 +330,8 @@ Returns nothing. #### Description -Method that belongs to the AudioPlayer class. Adds an event listener to the audio buffer held by the AudioPlayer class instance. +Method that belongs to the AudioPlayer class. Adds an event listener to the media Element that corresponds to +the AudioPlayer class instance. #### Example @@ -361,7 +362,8 @@ Returns nothing. #### Description -Method that belongs to the AudioPlayer class. Removes an event listener from the audio buffer held by the AudioPlayer class instance. +Method that belongs to the AudioPlayer class. Removes an event listener from the media Element that corresponds to +the AudioPlayer class instance. #### Example