Skip to content

Commit

Permalink
chore: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanttV committed Dec 12, 2023
1 parent 2406cb8 commit 5045fb5
Showing 1 changed file with 126 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,58 @@ exports[`ScoringCard snapshot snapshot: scoring setting card 1`] = `
className="scoringCard"
extraSections={Array []}
hasExpandableTextArea={false}
summary="{weight, plural, =0 {Ungraded} other {# points}} · {attempts, plural, =1 {# attempt} other {# attempts}}"
summary="{weight, plural, =0 {Ungraded} other {# points}} · {attempts, plural, =1 {# attempt} other {# attempts}} · Last Score"
title="Scoring"
>
<div
className="mb-4"
>
<FormattedMessage
defaultMessage="Specify point weight and the number of answer attempts"
defaultMessage="Specify grading strategy, point weight and the number of answer attempts"
description="Descriptive text for scoring settings"
id="authoring.problemeditor.settings.scoring.label"
/>
</div>
<Form.Group>
<Form.Control
as="select"
floatingLabel="Grading Strategy"
onChange={[MockFunction scoringCardHooks.handleGradingStrategyChange]}
value="last_score"
>
<option
key="last_score"
value="last_score"
>
Last Score
</option>
<option
key="highest_score"
value="highest_score"
>
Highest Score
</option>
<option
key="average_score"
value="average_score"
>
Average Score
</option>
<option
key="first_score"
value="first_score"
>
First Score
</option>
</Form.Control>
<Form.Control.Feedback>
<FormattedMessage
defaultMessage="Define the grading strategy for this problem. By default, it is the score of the last submission made by the student."
description="Summary text for scoring grading strategy"
id="authoring.problemeditor.settings.scoring.gradingStrategy.hint"
/>
</Form.Control.Feedback>
</Form.Group>
<Form.Group>
<Form.Control
floatingLabel="Points"
Expand Down Expand Up @@ -80,18 +120,58 @@ exports[`ScoringCard snapshot snapshot: scoring setting card max attempts 1`] =
className="scoringCard"
extraSections={Array []}
hasExpandableTextArea={false}
summary="{weight, plural, =0 {Ungraded} other {# points}} · Unlimited attempts"
summary="{weight, plural, =0 {Ungraded} other {# points}} · Unlimited attempts · Last Score"
title="Scoring"
>
<div
className="mb-4"
>
<FormattedMessage
defaultMessage="Specify point weight and the number of answer attempts"
defaultMessage="Specify grading strategy, point weight and the number of answer attempts"
description="Descriptive text for scoring settings"
id="authoring.problemeditor.settings.scoring.label"
/>
</div>
<Form.Group>
<Form.Control
as="select"
floatingLabel="Grading Strategy"
onChange={[MockFunction scoringCardHooks.handleGradingStrategyChange]}
value="last_score"
>
<option
key="last_score"
value="last_score"
>
Last Score
</option>
<option
key="highest_score"
value="highest_score"
>
Highest Score
</option>
<option
key="average_score"
value="average_score"
>
Average Score
</option>
<option
key="first_score"
value="first_score"
>
First Score
</option>
</Form.Control>
<Form.Control.Feedback>
<FormattedMessage
defaultMessage="Define the grading strategy for this problem. By default, it is the score of the last submission made by the student."
description="Summary text for scoring grading strategy"
id="authoring.problemeditor.settings.scoring.gradingStrategy.hint"
/>
</Form.Control.Feedback>
</Form.Group>
<Form.Group>
<Form.Control
floatingLabel="Points"
Expand Down Expand Up @@ -155,18 +235,58 @@ exports[`ScoringCard snapshot snapshot: scoring setting card zero zero weight 1`
className="scoringCard"
extraSections={Array []}
hasExpandableTextArea={false}
summary="{weight, plural, =0 {Ungraded} other {# points}} · {attempts, plural, =1 {# attempt} other {# attempts}}"
summary="{weight, plural, =0 {Ungraded} other {# points}} · {attempts, plural, =1 {# attempt} other {# attempts}} · Last Score"
title="Scoring"
>
<div
className="mb-4"
>
<FormattedMessage
defaultMessage="Specify point weight and the number of answer attempts"
defaultMessage="Specify grading strategy, point weight and the number of answer attempts"
description="Descriptive text for scoring settings"
id="authoring.problemeditor.settings.scoring.label"
/>
</div>
<Form.Group>
<Form.Control
as="select"
floatingLabel="Grading Strategy"
onChange={[MockFunction scoringCardHooks.handleGradingStrategyChange]}
value="last_score"
>
<option
key="last_score"
value="last_score"
>
Last Score
</option>
<option
key="highest_score"
value="highest_score"
>
Highest Score
</option>
<option
key="average_score"
value="average_score"
>
Average Score
</option>
<option
key="first_score"
value="first_score"
>
First Score
</option>
</Form.Control>
<Form.Control.Feedback>
<FormattedMessage
defaultMessage="Define the grading strategy for this problem. By default, it is the score of the last submission made by the student."
description="Summary text for scoring grading strategy"
id="authoring.problemeditor.settings.scoring.gradingStrategy.hint"
/>
</Form.Control.Feedback>
</Form.Group>
<Form.Group>
<Form.Control
floatingLabel="Points"
Expand Down

0 comments on commit 5045fb5

Please sign in to comment.