Skip to content

Core rewrite

Core rewrite #1227

Triggered via pull request July 14, 2023 09:28
@bjolucbjoluc
synchronize #2858
core-rewrite
Status Failure
Total duration 7m 14s
Artifacts

build.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
image-button-response › displays image stimulus: packages/jspsych/src/timeline/Trial.ts#L348
A non-array value (`<button class="jspsych-btn">%choice%</button>`) was provided for the array parameter "button_html" in the "image-button-response" plugin. Please make sure that "button_html" is an array. at assignParameterValues (../jspsych/src/timeline/Trial.ts:348:1) at Trial.assignParameterValues [as processParameters] (../jspsych/src/timeline/Trial.ts:374:1) at Trial.run (../jspsych/src/timeline/Trial.ts:43:1) at Timeline.run (../jspsych/src/timeline/Timeline.ts:85:1) at JsPsych.run (../jspsych/src/JsPsych.ts:144:1)
image-button-response › displays image stimulus: packages/plugin-image-button-response/src/index.spec.ts#L18
expect(received).toContain(expected) // indexOf Expected substring: "<img src=\"../media/blue.png\"" Received string: "" at Object.<anonymous> (src/index.spec.ts:18:1)
image-button-response › display button labels: packages/jspsych/src/timeline/Trial.ts#L348
A non-array value (`<button class="jspsych-btn">%choice%</button>`) was provided for the array parameter "button_html" in the "image-button-response" plugin. Please make sure that "button_html" is an array. at assignParameterValues (../jspsych/src/timeline/Trial.ts:348:1) at Trial.assignParameterValues [as processParameters] (../jspsych/src/timeline/Trial.ts:374:1) at Trial.run (../jspsych/src/timeline/Trial.ts:43:1) at Timeline.run (../jspsych/src/timeline/Timeline.ts:85:1) at JsPsych.run (../jspsych/src/JsPsych.ts:144:1)
image-button-response › display button labels: packages/plugin-image-button-response/src/index.spec.ts#L31
expect(received).toContain(expected) // indexOf Expected substring: "<button class=\"jspsych-btn\">button-choice1</button>" Received string: "" at Object.<anonymous> (src/index.spec.ts:31:1)
image-button-response › display button html: packages/jspsych/src/timeline/Trial.ts#L348
A non-array value (`<button class="jspsych-custom-button">%choice%</button>`) was provided for the array parameter "button_html" in the "image-button-response" plugin. Please make sure that "button_html" is an array. at assignParameterValues (../jspsych/src/timeline/Trial.ts:348:1) at Trial.assignParameterValues [as processParameters] (../jspsych/src/timeline/Trial.ts:374:1) at Trial.run (../jspsych/src/timeline/Trial.ts:43:1) at Timeline.run (../jspsych/src/timeline/Timeline.ts:85:1) at JsPsych.run (../jspsych/src/JsPsych.ts:144:1)
image-button-response › display button html: packages/plugin-image-button-response/src/index.spec.ts#L46
expect(received).toContain(expected) // indexOf Expected substring: "<button class=\"jspsych-custom-button\">buttonChoice</button>" Received string: "" at Object.<anonymous> (src/index.spec.ts:46:1)
image-button-response › display should clear after button click: packages/jspsych/src/timeline/Trial.ts#L348
A non-array value (`<button class="jspsych-btn">%choice%</button>`) was provided for the array parameter "button_html" in the "image-button-response" plugin. Please make sure that "button_html" is an array. at assignParameterValues (../jspsych/src/timeline/Trial.ts:348:1) at Trial.assignParameterValues [as processParameters] (../jspsych/src/timeline/Trial.ts:374:1) at Trial.run (../jspsych/src/timeline/Trial.ts:43:1) at Timeline.run (../jspsych/src/timeline/Timeline.ts:85:1) at JsPsych.run (../jspsych/src/JsPsych.ts:144:1)
image-button-response › display should clear after button click: packages/plugin-image-button-response/src/index.spec.ts#L59
expect(received).toContain(expected) // indexOf Expected substring: "<img src=\"../media/blue.png\" id=\"jspsych-image-button-response-stimulus\"" Received string: "" at Object.<anonymous> (src/index.spec.ts:59:1)
image-button-response › prompt should append below button: packages/jspsych/src/timeline/Trial.ts#L348
A non-array value (`<button class="jspsych-btn">%choice%</button>`) was provided for the array parameter "button_html" in the "image-button-response" plugin. Please make sure that "button_html" is an array. at assignParameterValues (../jspsych/src/timeline/Trial.ts:348:1) at Trial.assignParameterValues [as processParameters] (../jspsych/src/timeline/Trial.ts:374:1) at Trial.run (../jspsych/src/timeline/Trial.ts:43:1) at Timeline.run (../jspsych/src/timeline/Timeline.ts:85:1) at JsPsych.run (../jspsych/src/JsPsych.ts:144:1)
image-button-response › prompt should append below button: packages/plugin-image-button-response/src/index.spec.ts#L78
expect(received).toContain(expected) // indexOf Expected substring: "<button class=\"jspsych-btn\">button-choice</button></div></div><p>This is a prompt</p>" Received string: "" at Object.<anonymous> (src/index.spec.ts:78:1)