File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ describe('ExercisePreview', () => {
56
56
57
57
it . each `
58
58
selected | description | overlay | showFeedback | showCorrect
59
- ${ true } | ${ 'with overlay and selected true' } | ${ < button > Over</ button > } | ${ undefined } | ${ true }
59
+ ${ true } | ${ 'with overlay and selected true' } | ${ < button > Over</ button > } | ${ undefined } | ${ false }
60
60
${ true } | ${ 'with overlay and correctness' } | ${ < button > Over</ button > } | ${ undefined } | ${ true }
61
61
${ true } | ${ 'with overlay and selected false' } | ${ < button > Over</ button > } | ${ false } | ${ false }
62
62
${ false } | ${ 'without overlay' } | ${ undefined } | ${ true } | ${ true }
Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ exports[`ExercisePreview using step data matches snapshot with overlay and selec
383
383
data-task-step-id = { 1 }
384
384
>
385
385
<div
386
- className = " sc-bczRLJ eAXREJ exercise-step sc-breuTD dSaRVj sc-hAZoDl sc-fnykZs QCsJH dNZVdw preview-card is-selected"
386
+ className = " sc-bczRLJ eAXREJ exercise-step sc-breuTD dSaRVj sc-hAZoDl sc-fnykZs QCsJH kKGUqH preview-card is-selected"
387
387
>
388
388
<div
389
389
onBlur = { [Function ]}
@@ -442,7 +442,7 @@ exports[`ExercisePreview using step data matches snapshot with overlay and selec
442
442
data-test-id = " student-exercise-question"
443
443
>
444
444
<div
445
- className = " sc-iBkjds bohpoA openstax-question step-card-body has-correct-answer "
445
+ className = " sc-iBkjds bohpoA openstax-question step-card-body"
446
446
data-question-number = { 1 }
447
447
data-test-id = " question"
448
448
>
@@ -453,7 +453,7 @@ exports[`ExercisePreview using step data matches snapshot with overlay and selec
453
453
className = " openstax-answer"
454
454
>
455
455
<section
456
- className = " answers-answer disabled answer-correct "
456
+ className = " answers-answer disabled"
457
457
>
458
458
<input
459
459
checked = { false }
@@ -477,12 +477,6 @@ exports[`ExercisePreview using step data matches snapshot with overlay and selec
477
477
<div
478
478
className = " answer-answer"
479
479
>
480
- <div
481
- className = " sc-gKXOVf QPaPs"
482
- >
483
- Correct
484
- Answer
485
- </div >
486
480
<span
487
481
className = " answer-content"
488
482
dangerouslySetInnerHTML = {
You can’t perform that action at this time.
0 commit comments