Skip to content

Commit

Permalink
Update CVA test
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasxsong committed Jan 17, 2024
1 parent b542f0e commit b178dad
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
26 changes: 13 additions & 13 deletions cypress/e2e/participant/buttonGamesList.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ export const games = [
clickableItem: '.vocab_img',
numIter: 4,
},
// {
// name: 'ROAR Written Vocabulary',
// id: 'cva',
// startBtn: '.jspsych-btn',
// introBtn: '.go-button',
// introIters: 2,
// setupChoice: '',
// stimulus: '.item-stimulus-cva',
// preChoiceDelay: 1700,
// clickableItem: 'button',
// correctChoice: '.glowingButton',
// numIter: 4,
// },
{
name: 'ROAR Written Vocabulary',
id: 'cva',
startBtn: '.jspsych-btn',
introBtn: '.go-button',
introIters: 3,
setupChoice: '',
stimulus: '.item-stimulus-cva',
preChoiceDelay: 1700,
clickableItem: 'button',
correctChoice: '.glowingButton',
numIter: 6,
},
{
name: 'ROAR-Morphology',
id: 'multichoice',
Expand Down
1 change: 1 addition & 0 deletions cypress/e2e/participant/playButtonGames.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ function playROARGame(game) {
// overflow prevents recursive call from recursing forever
let overflow = 0;
for (let i = 0; i < game.numIter; i++) {
cy.log("iteration: ", game.numIter)
makeChoiceOrContinue(game, overflow);
}
}
Expand Down

0 comments on commit b178dad

Please sign in to comment.