Skip to content

Commit

Permalink
fix(test): update test to work with new logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ReidyT committed Sep 12, 2024
1 parent 8a23735 commit e6a9e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/play/multipleChoices.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const checkCorrection = (selection: number[], showCorrection = true) => {
}
);

if (showCorrection || wasSelected) {
if (wasSelected && !isCorrect) {
cy.get(dataCyWrapper(buildMultipleChoiceHintPlayCy(idx))).should(
'contain',
explanation
Expand Down

0 comments on commit e6a9e77

Please sign in to comment.