itemengine-cypress-automation 1.0.70 → 1.0.72
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropAdditionalSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropEditTabBasic.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsAllOrNothingWithAlternateAnswer.js +6 -18
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsScoring.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsWithAlternateAnswer.js +0 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialEqualWeightsScoring.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedSetCorrectAnswerCheckboxes.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropSetCorrectAnswerCheckboxes.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsScoring.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsWithAlternateAnswer.js +0 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsManualAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsScoring.js +0 -2
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsWithAlternateAnswer.js +0 -4
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAdditionalSettingsBasic.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAllOrNothingScoring.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAllOrNothingScoringWithAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownManuallyAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeights.js +5 -3
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeightsWithAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeights.js +4 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeightsWithAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsBasic.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingWithAlternateAnswer.js +6 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsWithAlternateAnswer.js +6 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsWithAlternateAnswer.js +6 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAddResponseContainer.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettings.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsBasic.js +12 -14
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsMultilineResponse.js +4 -5
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsStudentResponseAreaAndLayout.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextManualAndNonScored.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsScoring.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsWithAlternateAnswer.js +0 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsScoring.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsWithAlternateAnswer.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsAdvanceSettingsForAllResponseAreas.js +17 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsBasic.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAllOrNothingWithAlternateAnswer.js +4 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAutoScoredScoring.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextCaseSensitiveAndIgnoreExtraSpacesCheckboxes.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextManuallyAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeights.js +4 -2
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeightsWithAlternateAnswer.js +3 -1
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeights.js +4 -0
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeightsWithAlternateAnswer.js +2 -0
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsManualAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferentWeightsScoring.js +2 -3
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialDifferrentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsScorings.js +2 -2
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsManualAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialDifferentWeightsScoring.js +2 -3
- package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsScoring.js +2 -2
- package/cypress/e2e/ILC/ListMatching/listMatchingAdditionalSettingsBasic.js +2 -2
- package/cypress/e2e/ILC/ListMatching/listMatchingEditTabScoringTypes.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +2 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +2 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/manuallyAndNonScoredScoring.js +3 -3
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +4 -3
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialDifferentWeightsScoring.js +14 -13
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +2 -2
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/partialEqualWeightsScoring.js +0 -1
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsAnswerNumerationAndOptionLabel.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsBasic.js +2 -2
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsOptionStyleDropdown.js +1 -1
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsSetPointsPopup.js +3 -7
- package/cypress/e2e/ILC/ListOrdering/listOrderingEditTabScoringSection.js +6 -6
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/manuallyAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialDifferentWeightsScoring.js +12 -12
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -2
- package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/partialEqualWeightsScoring.js +13 -13
- package/cypress/e2e/ILC/ListSorting/listSortingAdditionalSettingsBasic.js +2 -2
- package/cypress/e2e/ILC/ListSorting/listSortingEditTabScoringSection.js +6 -6
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionAdditionalSettingsGridOptions.js +1 -1
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAdditionalSettingsBasic.js +16 -19
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAutoScoredScoring.js +4 -4
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabScoringSection.js +2 -2
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridManuallyAndNonScoredScoring.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeights.js +12 -12
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +25 -26
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +23 -24
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +25 -26
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeights.js +14 -13
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +23 -24
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +21 -22
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +23 -24
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridSetCorrectAnswerSection.js +7 -7
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAdditionalSettingsBasic.js +10 -10
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAutoScoredScoring.js +37 -53
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseConditionalCheckboxes.js +3 -3
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseContainsConditionalRadioButton.js +4 -4
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseEditTabScoringSection.js +7 -19
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseExactConditionalRadioButton.js +4 -4
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseManuallyScoredNonScoredScoringSection.js +9 -15
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAdditionalSettingsBasic.js +16 -18
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAutoScoredScoring.js +4 -4
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabBasicSection.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabScoringSection.js +2 -2
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridManuallyAndNonScored.js +3 -3
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeights.js +11 -10
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +18 -18
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +16 -16
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +18 -18
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeights.js +10 -9
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +16 -16
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +14 -14
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +16 -17
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridSetCorrectAnswerSection.js +31 -31
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettings.js +2 -2
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingScoring.js +4 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownManualAndNonScoredScoring.js +1 -1
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsScoring.js +8 -2
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsScoring.js +10 -4
- package/package.json +1 -1
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsAllOrNothingScoring.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/groupedOptionsPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsAllOrNothingScoring.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsAlternatePointsMoreThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListMatching/{Scoring → ListMatchingScoring}/standardOptionsPartialEqualWeightsCorrectPointsMoreThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{Scoring → ListOrderingScoring}/allOrNothingScoring.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{Scoring → ListSortingScoring}/allOrNothingScoring.js +0 -0
@@ -21,12 +21,9 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
21
21
|
.type('Response');
|
22
22
|
shortTextResponsePage.steps.allotPoints(20);
|
23
23
|
shortTextResponsePage.steps.switchToPreviewTab();
|
24
|
-
shortTextResponsePage.
|
25
|
-
|
26
|
-
.
|
27
|
-
.should('be.visible');
|
28
|
-
shortTextResponsePage.showCorrectAnswerCheckboxLabel()
|
29
|
-
.verifyInnerText('Show correct answer');
|
24
|
+
shortTextResponsePage.steps.uncheckShowCorrectAnswerCheckbox();
|
25
|
+
shortTextResponsePage.previewScoreLabel()
|
26
|
+
.verifyInnerText('Score:');
|
30
27
|
cy.log('Checking total points displayed')
|
31
28
|
shortTextResponsePage.previewScoreText()
|
32
29
|
.verifyInnerText('0/20');
|
@@ -45,18 +42,16 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
45
42
|
});
|
46
43
|
|
47
44
|
it('When the user selects \'Show correct answer\' checkbox without attempting the question, correct/Incorrect answer label and border should not be displayed, correct answer container along with correct response should be displayed below the question field', () => {
|
48
|
-
shortTextResponsePage.
|
49
|
-
.click()
|
50
|
-
.should('be.checked');
|
45
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
51
46
|
shortTextResponsePage.correctIcon()
|
52
47
|
.should('not.exist');
|
53
48
|
shortTextResponsePage.incorrectIcon()
|
54
49
|
.should('not.exist');
|
55
|
-
shortTextResponsePage.
|
50
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
56
51
|
.should('not.exist');
|
57
52
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
58
53
|
.should('not.exist');
|
59
|
-
shortTextResponsePage.
|
54
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
60
55
|
.should('not.exist');
|
61
56
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
62
57
|
.should('be.visible');
|
@@ -89,12 +84,11 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
89
84
|
shortTextResponsePage.previewScoreText()
|
90
85
|
.verifyInnerText('0/20');
|
91
86
|
cy.log('When the user selects \'Show correct answer\' checkbox, red cross-mark icon should be displayed besides the incorrect answer input field, incorrect answer label and border should not be displayed below the question field and the correct answer container with the correct answer should be displayed');
|
92
|
-
shortTextResponsePage.
|
93
|
-
.click();
|
87
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
94
88
|
shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon();
|
95
89
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
96
90
|
.should('not.exist');
|
97
|
-
shortTextResponsePage.
|
91
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
98
92
|
.should('not.exist');
|
99
93
|
cy.log('The correct answer container with the correct answer should be displayed')
|
100
94
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
@@ -108,7 +102,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
108
102
|
shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon();
|
109
103
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
110
104
|
.should('not.exist');
|
111
|
-
shortTextResponsePage.
|
105
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
112
106
|
.should('not.exist');
|
113
107
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
114
108
|
.should('not.exist');
|
@@ -125,12 +119,11 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
125
119
|
shortTextResponsePage.previewScoreText()
|
126
120
|
.verifyInnerText('20/20');
|
127
121
|
cy.log('When the user selects the \'Show correct answer\' checkbox, green check-mark icon should be displayed besides the response field, correct answer label and border should not be displayed below the question field, correct answer container should not be displayed and user should be awarded with full points');
|
128
|
-
shortTextResponsePage.
|
129
|
-
.click();
|
122
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
130
123
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
131
124
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
132
125
|
.should('not.exist');
|
133
|
-
shortTextResponsePage.
|
126
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
134
127
|
.should('not.exist');
|
135
128
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
136
129
|
.should('not.exist');
|
@@ -141,7 +134,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
141
134
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
142
135
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
143
136
|
.should('not.exist');
|
144
|
-
shortTextResponsePage.
|
137
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
145
138
|
.should('not.exist');
|
146
139
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
147
140
|
.should('not.exist');
|
@@ -178,8 +171,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
178
171
|
shortTextResponsePage.previewScoreText()
|
179
172
|
.verifyInnerText('0/7');
|
180
173
|
cy.log('When the user selects \'Show correct answer\' checkbox without attempting the question, correct answer container should be displayed with the correct response from the correct tab');
|
181
|
-
shortTextResponsePage.
|
182
|
-
.click();
|
174
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
183
175
|
shortTextResponsePage.steps.verifyCorrectAnswerResponsesInCorrectAnswerContainerAndCount('Response 1');
|
184
176
|
shortTextResponsePage.correctIcon()
|
185
177
|
.should('not.exist');
|
@@ -187,7 +179,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
187
179
|
.should('not.exist');
|
188
180
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
189
181
|
.should('not.exist');
|
190
|
-
shortTextResponsePage.
|
182
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
191
183
|
.should('not.exist');
|
192
184
|
shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
193
185
|
|
@@ -197,12 +189,11 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
197
189
|
cy.log('User should be awarded with full points')
|
198
190
|
shortTextResponsePage.previewScoreText()
|
199
191
|
.verifyInnerText('7/7');
|
200
|
-
shortTextResponsePage.
|
201
|
-
.click();
|
192
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
202
193
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
203
194
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
204
195
|
.should('not.exist');
|
205
|
-
shortTextResponsePage.
|
196
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
206
197
|
.should('not.exist');
|
207
198
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
208
199
|
.should('not.exist');
|
@@ -214,7 +205,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
214
205
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
215
206
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
216
207
|
.should('not.exist');
|
217
|
-
shortTextResponsePage.
|
208
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
218
209
|
.should('not.exist');
|
219
210
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
220
211
|
.should('not.exist');
|
@@ -226,12 +217,11 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
226
217
|
cy.log('User should be awarded points (less than overall) allocated for the Alternate correct answer tab');
|
227
218
|
shortTextResponsePage.previewScoreText()
|
228
219
|
.verifyInnerText('3/7');
|
229
|
-
shortTextResponsePage.
|
230
|
-
.click();
|
220
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
231
221
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
232
222
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
233
223
|
.should('not.exist');
|
234
|
-
shortTextResponsePage.
|
224
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
235
225
|
.should('not.exist');
|
236
226
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
237
227
|
.should('not.exist');
|
@@ -243,7 +233,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
243
233
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
244
234
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
245
235
|
.should('not.exist');
|
246
|
-
shortTextResponsePage.
|
236
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
247
237
|
.should('not.exist');
|
248
238
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
249
239
|
.should('not.exist');
|
@@ -260,10 +250,9 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
260
250
|
shortTextResponsePage.previewScoreText()
|
261
251
|
.verifyInnerText('0/10')
|
262
252
|
cy.log('When the user selects \'Show correct answer\' checkbox without attempting the question, correct answer container should be displayed with the correct response from the Alternate tab')
|
263
|
-
shortTextResponsePage.
|
264
|
-
.click();
|
253
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
265
254
|
shortTextResponsePage.steps.verifyCorrectAnswerResponsesInCorrectAnswerContainerAndCount('Response 2');
|
266
|
-
shortTextResponsePage.
|
255
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
267
256
|
.should('not.exist');
|
268
257
|
shortTextResponsePage.correctIcon()
|
269
258
|
.should('not.exist');
|
@@ -271,7 +260,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
271
260
|
.should('not.exist');
|
272
261
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
273
262
|
.should('not.exist');
|
274
|
-
shortTextResponsePage.
|
263
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
275
264
|
.should('not.exist');
|
276
265
|
shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
277
266
|
|
@@ -280,12 +269,11 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
280
269
|
.type('Response 1');
|
281
270
|
shortTextResponsePage.previewScoreText()
|
282
271
|
.verifyInnerText('7/10');
|
283
|
-
shortTextResponsePage.
|
284
|
-
.click();
|
272
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
285
273
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
286
274
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
287
275
|
.should('not.exist');
|
288
|
-
shortTextResponsePage.
|
276
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
289
277
|
.should('not.exist');
|
290
278
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
291
279
|
.should('not.exist')
|
@@ -297,7 +285,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
297
285
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
298
286
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
299
287
|
.should('not.exist');
|
300
|
-
shortTextResponsePage.
|
288
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
301
289
|
.should('not.exist');
|
302
290
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
303
291
|
.should('not.exist');
|
@@ -309,12 +297,11 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
309
297
|
cy.log('User should be awarded with full points');
|
310
298
|
shortTextResponsePage.previewScoreText()
|
311
299
|
.verifyInnerText('10/10');
|
312
|
-
shortTextResponsePage.
|
313
|
-
.click();
|
300
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
314
301
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
315
302
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
316
303
|
.should('not.exist');
|
317
|
-
shortTextResponsePage.
|
304
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
318
305
|
.should('not.exist');
|
319
306
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
320
307
|
.should('not.exist')
|
@@ -326,7 +313,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
326
313
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
327
314
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
328
315
|
.should('not.exist');
|
329
|
-
shortTextResponsePage.
|
316
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
330
317
|
.should('not.exist');
|
331
318
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
332
319
|
.should('not.exist');
|
@@ -344,10 +331,9 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
344
331
|
.verifyInnerText('0/7');
|
345
332
|
|
346
333
|
cy.log('When the user selects the \'Show correct answer\' checkbox without attempting the question, correct answer container should be displayed with the correct response from the correct tab and Correct/Incorrect answer label and border should not be displayed')
|
347
|
-
shortTextResponsePage.
|
348
|
-
.click();
|
334
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
349
335
|
shortTextResponsePage.steps.verifyCorrectAnswerResponsesInCorrectAnswerContainerAndCount('Response 1');
|
350
|
-
shortTextResponsePage.
|
336
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
351
337
|
.should('not.exist');
|
352
338
|
shortTextResponsePage.correctIcon()
|
353
339
|
.should('not.exist');
|
@@ -355,7 +341,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
355
341
|
.should('not.exist');
|
356
342
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
357
343
|
.should('not.exist');
|
358
|
-
shortTextResponsePage.
|
344
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
359
345
|
.should('not.exist');
|
360
346
|
shortTextResponsePage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
361
347
|
|
@@ -365,8 +351,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
365
351
|
cy.log('User should be awarded with full points')
|
366
352
|
shortTextResponsePage.previewScoreText()
|
367
353
|
.verifyInnerText('7/7');
|
368
|
-
shortTextResponsePage.
|
369
|
-
.click();
|
354
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
370
355
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
371
356
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
372
357
|
.should('not.exist');
|
@@ -378,7 +363,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
378
363
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
379
364
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
380
365
|
.should('not.exist');
|
381
|
-
shortTextResponsePage.
|
366
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
382
367
|
.should('not.exist');
|
383
368
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
384
369
|
.should('not.exist');
|
@@ -390,12 +375,11 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
390
375
|
cy.log('User should be awarded with full points')
|
391
376
|
shortTextResponsePage.previewScoreText()
|
392
377
|
.verifyInnerText('7/7');
|
393
|
-
shortTextResponsePage.
|
394
|
-
.click();
|
378
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
395
379
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
396
380
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
397
381
|
.should('not.exist');
|
398
|
-
shortTextResponsePage.
|
382
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
399
383
|
.should('not.exist');
|
400
384
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
401
385
|
.should('not.exist');
|
@@ -407,7 +391,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
407
391
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
408
392
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
409
393
|
.should('not.exist');
|
410
|
-
shortTextResponsePage.
|
394
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
411
395
|
.should('not.exist');
|
412
396
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
413
397
|
.should('not.exist');
|
@@ -10,7 +10,7 @@ describe('Create item page - Short text response: \'Case sensitive\' and \'Ignor
|
|
10
10
|
describe('User can select different property (Exact or Contains text) across multiple set answer tabs (Correct answer tab and Alternate answer tabs)', () => {
|
11
11
|
abortEarlySetup();
|
12
12
|
before(() => {
|
13
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow
|
13
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow student to check answer checkbox and switching to preview tab');
|
14
14
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
15
15
|
shortTextResponsePage.questionInstructionsInputField()
|
16
16
|
.type('Question Instructions');
|
@@ -53,7 +53,7 @@ describe('Create item page - Short text response: \'Case sensitive\' and \'Ignor
|
|
53
53
|
describe('\'Case sensitive\' property should be applied globally to all the set correct answer tabs (Correct answer tab and Alternate answer tabs)', () => {
|
54
54
|
abortEarlySetup();
|
55
55
|
before(() => {
|
56
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow
|
56
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow student to check answer checkbox and switching to preview tab');
|
57
57
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
58
58
|
shortTextResponsePage.questionInstructionsInputField()
|
59
59
|
.type('Question Instructions');
|
@@ -105,7 +105,7 @@ describe('Create item page - Short text response: \'Case sensitive\' and \'Ignor
|
|
105
105
|
describe('\'Ignore spaces before and after\' property should be applied globally to all the set correct answer tabs (Correct answer tab and Alternate answer tabs)', () => {
|
106
106
|
abortEarlySetup();
|
107
107
|
before(() => {
|
108
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow
|
108
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, checking the allow student to check answer checkbox and switching to preview tab');
|
109
109
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
110
110
|
shortTextResponsePage.questionInstructionsInputField()
|
111
111
|
.type('Question Instructions');
|
package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseContainsConditionalRadioButton.js
CHANGED
@@ -10,7 +10,7 @@ describe('Create item page - Short text response: \'Contains text\', \'Case sens
|
|
10
10
|
describe('\'Contains text\' radio button is selected, \'Case sensitive\' checkbox is unchecked and \'Ignore spaces before and after\' checkbox is checked', () => {
|
11
11
|
abortEarlySetup();
|
12
12
|
before(() => {
|
13
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button and checking the allow
|
13
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button and checking the allow student to check answer checkbox and switching to Preview tab');
|
14
14
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
15
15
|
shortTextResponsePage.questionInstructionsInputField()
|
16
16
|
.type('Question Instructions');
|
@@ -51,7 +51,7 @@ describe('Create item page - Short text response: \'Contains text\', \'Case sens
|
|
51
51
|
describe('\'Contains text\' radio button is selected, \'Case sensitive\' checkbox is checked and \'Ignore spaces before and after\' checkbox is unchecked', () => {
|
52
52
|
abortEarlySetup();
|
53
53
|
before(() => {
|
54
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button and checking the allow
|
54
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button and checking the allow student to check answer checkbox and switching to Preview tab');
|
55
55
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
56
56
|
shortTextResponsePage.questionInstructionsInputField()
|
57
57
|
.type('Question Instructions');
|
@@ -91,7 +91,7 @@ describe('Create item page - Short text response: \'Contains text\', \'Case sens
|
|
91
91
|
describe('\'Contains text\' radio button is selected, and both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is unchecked', () => {
|
92
92
|
abortEarlySetup();
|
93
93
|
before(() => {
|
94
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button, unchecking the Ignore spaces before and after checkbox, checking the allow
|
94
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button, unchecking the Ignore spaces before and after checkbox, checking the allow student to check answer checkbox and switching to preview tab');
|
95
95
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
96
96
|
shortTextResponsePage.questionInstructionsInputField()
|
97
97
|
.type('Question Instructions');
|
@@ -129,7 +129,7 @@ describe('Create item page - Short text response: \'Contains text\', \'Case sens
|
|
129
129
|
describe('\'Contains text\' radio button is selected, and both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is checked', () => {
|
130
130
|
abortEarlySetup();
|
131
131
|
before(() => {
|
132
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button, checking the Case sensitive checkbox, checking the allow
|
132
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field, selecting Contains text radio button, checking the Case sensitive checkbox, checking the allow student to check answer checkbox and switching to preview tab');
|
133
133
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
134
134
|
shortTextResponsePage.questionInstructionsInputField()
|
135
135
|
.type('Question Instructions');
|
@@ -17,7 +17,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
17
17
|
shortTextResponsePage.tests.verifyScoringTypeLabelAndDropdown('autoScored');
|
18
18
|
|
19
19
|
it('CSS of Scoring section', { tags: 'css' }, () => {
|
20
|
-
shortTextResponsePage.
|
20
|
+
shortTextResponsePage.minimumScoringLabel()
|
21
21
|
.verifyCSS(css.color.labels, css.fontSize.normal, css.fontWeight.semibold);
|
22
22
|
shortTextResponsePage.pointsLabel()
|
23
23
|
.verifyCSS(css.color.labels, css.fontSize.normal, css.fontWeight.semibold);
|
@@ -25,7 +25,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
25
25
|
|
26
26
|
it('Accessibility of Scoring Section', { tags: 'a11y' }, () => {
|
27
27
|
cy.checkAccessibility(shortTextResponsePage.scoringTypeDropdown());
|
28
|
-
cy.checkAccessibility(shortTextResponsePage.
|
28
|
+
cy.checkAccessibility(shortTextResponsePage.minimumScoringDropdown());
|
29
29
|
cy.checkAccessibility(shortTextResponsePage.pointsInputField());
|
30
30
|
});
|
31
31
|
});
|
@@ -37,21 +37,7 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
37
37
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
38
38
|
});
|
39
39
|
|
40
|
-
|
41
|
-
shortTextResponsePage.pointsLabel()
|
42
|
-
.verifyInnerText('Points')
|
43
|
-
.and('be.visible');
|
44
|
-
shortTextResponsePage.pointsInputField()
|
45
|
-
.should('have.value', '')
|
46
|
-
.and('be.visible');
|
47
|
-
shortTextResponsePage.minimumScoreIfAttemptedLabel()
|
48
|
-
.verifyInnerText('Minimum score awarded (if attempted)')
|
49
|
-
.and('be.visible');
|
50
|
-
shortTextResponsePage.minimumScoreIfAttemptedInputField()
|
51
|
-
.should('have.value', '')
|
52
|
-
.and('be.visible');
|
53
|
-
});
|
54
|
-
|
40
|
+
shortTextResponsePage.tests.verifyAutoScoredAllOrNothingPointsAndMinimumScoreAwardedLabelAndInputField();
|
55
41
|
shortTextResponsePage.tests.verifyPointsFieldErrorState(10);
|
56
42
|
shortTextResponsePage.tests.verifyMinimumScoreIfAttemptedFieldErrorState(10, 20, 10);
|
57
43
|
});
|
@@ -67,11 +53,13 @@ describe('Create Item page - Short text response: Scoring Section', () => {
|
|
67
53
|
shortTextResponsePage.steps.selectAScoringTypeFromScoringTypeDropdown('Manually scored');
|
68
54
|
});
|
69
55
|
|
70
|
-
it('When the user has selected \'Manually scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed; \'Points\' and \'Minimum score awarded (if attempted)\' labels and input field should be displayed; and inside \'Additional settings accordion\', \'Check answer\' section i.e. \'Check answer\' label and \'Allow
|
56
|
+
it('When the user has selected \'Manually scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed; \'Points\' and \'Minimum score awarded (if attempted)\' labels and input field should be displayed; and inside \'Additional settings accordion\', \'Check answer\' section i.e. \'Check answer\' label and \'Allow student to check answer\' checkbox should not be displayed', () => {
|
71
57
|
shortTextResponsePage.setCorrectAnswerLabel()
|
72
58
|
.should('not.exist');
|
59
|
+
shortTextResponsePage.steps.expandMinimumScoringDropdown();
|
60
|
+
shortTextResponsePage.steps.selectMinimumScoringTypeListOption('Award minimum score only if attempted');
|
73
61
|
shortTextResponsePage.minimumScoreIfAttemptedLabel()
|
74
|
-
.verifyInnerText('Minimum
|
62
|
+
.verifyInnerText('Minimum points')
|
75
63
|
.and('be.visible');
|
76
64
|
shortTextResponsePage.minimumScoreIfAttemptedInputField()
|
77
65
|
.should('have.value', '')
|
@@ -10,7 +10,7 @@ describe('Create item page - Short text response: \'Exact\', \'Case sensitive\'
|
|
10
10
|
describe('\'Exact\' radio button is selected, \'Case sensitive\' checkbox is unchecked and \'Ignore spaces before and after\' checkbox is checked', () => {
|
11
11
|
abortEarlySetup();
|
12
12
|
before(() => {
|
13
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow
|
13
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox and switch to Preview tab');
|
14
14
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
15
15
|
shortTextResponsePage.questionInstructionsInputField()
|
16
16
|
.type('Question Instructions');
|
@@ -48,7 +48,7 @@ describe('Create item page - Short text response: \'Exact\', \'Case sensitive\'
|
|
48
48
|
describe('\'Exact\' radio button is selected, \'Case sensitive\' checkbox is checked and \'Ignore spaces before and after\' checkbox is unchecked', () => {
|
49
49
|
abortEarlySetup();
|
50
50
|
before(() => {
|
51
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow
|
51
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox and switching to Preview tab');
|
52
52
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
53
53
|
shortTextResponsePage.questionInstructionsInputField()
|
54
54
|
.type('Question Instructions');
|
@@ -86,7 +86,7 @@ describe('Create item page - Short text response: \'Exact\', \'Case sensitive\'
|
|
86
86
|
describe('\'Exact\' radio button is selected, and both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is unchecked', () => {
|
87
87
|
abortEarlySetup();
|
88
88
|
before(() => {
|
89
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow
|
89
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox, unchecking the Ignore spaces before and after checkbox and switching to preview tab');
|
90
90
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
91
91
|
shortTextResponsePage.questionInstructionsInputField()
|
92
92
|
.type('Question Instructions');
|
@@ -122,7 +122,7 @@ describe('Create item page - Short text response: \'Exact\', \'Case sensitive\'
|
|
122
122
|
describe('\'Exact\' radio button is selected, and both \'Case sensitive\' and \'Ignore spaces before and after\' checkbox is checked', () => {
|
123
123
|
abortEarlySetup();
|
124
124
|
before(() => {
|
125
|
-
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow
|
125
|
+
cy.log('Navigating to Short text response question type, giving input to question instruction input field, points input field and response input field and checking the allow student to check answer checkbox, checking the Case sensitive checkbox and switching to preview tab');
|
126
126
|
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
127
127
|
shortTextResponsePage.questionInstructionsInputField()
|
128
128
|
.type('Question Instructions');
|
package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseManuallyScoredNonScoredScoringSection.js
CHANGED
@@ -23,7 +23,7 @@ describe('Create Item page - Short text response: Scoring Section - Manually sco
|
|
23
23
|
shortTextResponsePage.steps.verifyQuestionInstructionsText();
|
24
24
|
});
|
25
25
|
|
26
|
-
shortTextResponsePage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab()
|
26
|
+
shortTextResponsePage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored')
|
27
27
|
});
|
28
28
|
|
29
29
|
describe('Question Preview: Non scored', () => {
|
@@ -45,14 +45,12 @@ describe('Create Item page - Short text response: Scoring Section - Manually sco
|
|
45
45
|
shortTextResponsePage.tests.verifyShowCorrectAnswerLabelAndCheckboxExistAndPreviewScoreNotExistInPreviewTab();
|
46
46
|
|
47
47
|
it('On selecting Show correct answer checkbox, no green checkmark or red crossmark icon should be displayed besides response field and no label should be displayed below the field', () => {
|
48
|
-
shortTextResponsePage.
|
49
|
-
.click()
|
50
|
-
.should('be.checked');
|
48
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
51
49
|
shortTextResponsePage.correctIcon()
|
52
50
|
.should('not.exist');
|
53
51
|
shortTextResponsePage.incorrectIcon()
|
54
52
|
.should('not.exist');
|
55
|
-
shortTextResponsePage.
|
53
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
56
54
|
.should('not.exist');
|
57
55
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
58
56
|
.should('not.exist');
|
@@ -66,13 +64,11 @@ describe('Create Item page - Short text response: Scoring Section - Manually sco
|
|
66
64
|
cy.log('When the user selects show correct answer checkbox, red crossmark icon should be displayed besides the response fields, Incorrect answer label and border should not be displayed')
|
67
65
|
shortTextResponsePage.previewTabResponseField()
|
68
66
|
.type('Incorrect');
|
69
|
-
shortTextResponsePage.
|
70
|
-
.click()
|
71
|
-
.should('be.checked');
|
67
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
72
68
|
shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon();
|
73
69
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
74
70
|
.should('not.exist');
|
75
|
-
shortTextResponsePage.
|
71
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
76
72
|
.should('not.exist');
|
77
73
|
cy.log('Correct answer container should be displayed')
|
78
74
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
@@ -84,7 +80,7 @@ describe('Create Item page - Short text response: Scoring Section - Manually sco
|
|
84
80
|
shortTextResponsePage.steps.verifyIncorrectOptionCrossmarkIcon();
|
85
81
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
86
82
|
.should('not.exist');
|
87
|
-
shortTextResponsePage.
|
83
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
88
84
|
.should('not.exist');
|
89
85
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
90
86
|
.should('not.exist');
|
@@ -95,13 +91,11 @@ describe('Create Item page - Short text response: Scoring Section - Manually sco
|
|
95
91
|
shortTextResponsePage.previewTabResponseField()
|
96
92
|
.clear()
|
97
93
|
.type('Response');
|
98
|
-
shortTextResponsePage.
|
99
|
-
.click()
|
100
|
-
.should('be.checked');
|
94
|
+
shortTextResponsePage.steps.checkShowCorrectAnswerCheckbox();
|
101
95
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
102
96
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
103
97
|
.should('not.exist');
|
104
|
-
shortTextResponsePage.
|
98
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
105
99
|
.should('not.exist');
|
106
100
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
107
101
|
.should('not.exist');
|
@@ -112,7 +106,7 @@ describe('Create Item page - Short text response: Scoring Section - Manually sco
|
|
112
106
|
shortTextResponsePage.steps.verifyCorrectOptionCheckmarkIcon();
|
113
107
|
shortTextResponsePage.correctIncorrectAnswerBorder()
|
114
108
|
.should('not.exist');
|
115
|
-
shortTextResponsePage.
|
109
|
+
shortTextResponsePage.correctIncorrectAnswerLabel()
|
116
110
|
.should('not.exist');
|
117
111
|
shortTextResponsePage.previewTabCorrectAnswerContainer()
|
118
112
|
.should('not.exist');
|
@@ -5,8 +5,7 @@ const css = Cypress.env('css');
|
|
5
5
|
const questionStems = ['Pollution caused by treating chemical waste', 'Pollution caused by cement production', 'Pollution caused by methane production', 'Pollution caused by cement and methane production'];
|
6
6
|
const options = ['Fully agree as true', 'Fully agree as false'];
|
7
7
|
|
8
|
-
const
|
9
|
-
const fontSizes = ['16px', '12px', '14px', '17px', '20px', '24px'];
|
8
|
+
const fontSizes = { 'Tiny': '12px', 'Small': '14px', 'Default': '16px', 'Normal': '18px', 'Big': '22px', 'Huge': '26px' };
|
10
9
|
|
11
10
|
describe('Create Item page - Single Selection Grid: Additional settings', () => {
|
12
11
|
before(() => {
|
@@ -48,22 +47,21 @@ describe('Create Item page - Single Selection Grid: Additional settings', () =>
|
|
48
47
|
singleSelectionGridPage.steps.addInputToTitleForOptionsInputField('Title for options')
|
49
48
|
});
|
50
49
|
|
51
|
-
|
52
|
-
|
53
|
-
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview (options, question instructions question stems) should be changed to ${option} in the set correct answer table`, () => {
|
50
|
+
Object.keys(fontSizes).forEach((option, fontsIndex) => {
|
51
|
+
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview (options, question instructions question stems) should be changed to ${fontSizes[option]} in the set correct answer table`, () => {
|
54
52
|
singleSelectionGridPage.steps.selectFontSizeOptionFromFontSizeDropdown(fontsIndex)
|
55
53
|
singleSelectionGridPage.fontSizeDropdown()
|
56
54
|
.verifyInnerText(`${option}`);
|
57
55
|
singleSelectionGridPage.setCorrectAnswerTableHeader()
|
58
|
-
.should('have.css', 'font-size', fontSizes[
|
56
|
+
.should('have.css', 'font-size', fontSizes[option]);
|
59
57
|
singleSelectionGridPage.questionStemNumeration()
|
60
|
-
.should('have.css', 'font-size', fontSizes[
|
58
|
+
.should('have.css', 'font-size', fontSizes[option]);
|
61
59
|
singleSelectionGridPage.setCorrectAnswertableQuestionStem()
|
62
|
-
.should('have.css', 'font-size', fontSizes[
|
60
|
+
.should('have.css', 'font-size', fontSizes[option]);
|
63
61
|
singleSelectionGridPage.setCorrectAnswerTableQuestionStemTitle()
|
64
|
-
.should('have.css', 'font-size', fontSizes[
|
62
|
+
.should('have.css', 'font-size', fontSizes[option]);
|
65
63
|
singleSelectionGridPage.setCorrectAnswerTableOptionsTitle()
|
66
|
-
.should('have.css', 'font-size', fontSizes[
|
64
|
+
.should('have.css', 'font-size', fontSizes[option]);
|
67
65
|
});
|
68
66
|
});
|
69
67
|
});
|
@@ -82,24 +80,24 @@ describe('Create Item page - Single Selection Grid: Additional settings', () =>
|
|
82
80
|
singleSelectionGridPage.steps.addInputToTitleForOptionsInputField('Title for options');
|
83
81
|
});
|
84
82
|
|
85
|
-
|
86
|
-
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview (options, question instructions question stems) should be changed to ${option} in the preview tab Answer table`, () => {
|
83
|
+
Object.keys(fontSizes).forEach((option, fontsIndex) => {
|
84
|
+
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview (options, question instructions question stems) should be changed to ${fontSizes[option]} in the preview tab Answer table`, () => {
|
87
85
|
singleSelectionGridPage.steps.selectFontSizeOptionFromFontSizeDropdown(fontsIndex)
|
88
86
|
singleSelectionGridPage.fontSizeDropdown()
|
89
87
|
.verifyInnerText(`${option}`);
|
90
88
|
singleSelectionGridPage.steps.switchToPreviewTab();
|
91
89
|
singleSelectionGridPage.questionInstructionsText()
|
92
|
-
.should('have.css', 'font-size', fontSizes[
|
90
|
+
.should('have.css', 'font-size', fontSizes[option]);
|
93
91
|
singleSelectionGridPage.previewTabAnswerTableHeader()
|
94
|
-
.should('have.css', 'font-size', fontSizes[
|
92
|
+
.should('have.css', 'font-size', fontSizes[option]);
|
95
93
|
singleSelectionGridPage.previewTabQuestionStemNumeration()
|
96
|
-
.should('have.css', 'font-size', fontSizes[
|
94
|
+
.should('have.css', 'font-size', fontSizes[option]);
|
97
95
|
singleSelectionGridPage.previewTabAnswertableQuestionStem()
|
98
|
-
.should('have.css', 'font-size', fontSizes[
|
96
|
+
.should('have.css', 'font-size', fontSizes[option]);
|
99
97
|
singleSelectionGridPage.previewTabAnswerTableQuestionStemTitle()
|
100
|
-
.should('have.css', 'font-size', fontSizes[
|
98
|
+
.should('have.css', 'font-size', fontSizes[option]);
|
101
99
|
singleSelectionGridPage.previewTabAnswerTableOptionsTitle()
|
102
|
-
.should('have.css', 'font-size', fontSizes[
|
100
|
+
.should('have.css', 'font-size', fontSizes[option]);
|
103
101
|
singleSelectionGridPage.steps.switchToEditTab();
|
104
102
|
});
|
105
103
|
});
|
@@ -40,7 +40,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
40
40
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 2, 2, 1]);
|
41
41
|
singleSelectionGridPage.incorrectIcon()
|
42
42
|
.should('not.exist');
|
43
|
-
singleSelectionGridPage.
|
43
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
44
44
|
.should('not.exist');
|
45
45
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
46
46
|
|
@@ -40,7 +40,7 @@ describe('Create Item page - Single Selection Grid: Preview tab Scoring Section'
|
|
40
40
|
singleSelectionGridPage.steps.verifyCorrectOptionCheckmarkIconForAllQuestionStems([0, 1, 0, 1]);
|
41
41
|
singleSelectionGridPage.incorrectIcon()
|
42
42
|
.should('not.exist');
|
43
|
-
singleSelectionGridPage.
|
43
|
+
singleSelectionGridPage.correctIncorrectAnswerLabel()
|
44
44
|
.should('not.exist');
|
45
45
|
singleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible()
|
46
46
|
|