itemengine-cypress-automation 1.0.50 → 1.0.62
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerEditTab.js +342 -0
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +218 -0
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerEditTabTitleDescriptionAndTranscript.js +187 -0
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerHeaderSection.js +73 -0
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTab.js +302 -0
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTabPlaybackPlayer.js +245 -0
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTabSupportedFileTypes.js +78 -0
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTabTitleDescriptionAndTranscript.js +248 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsBasic.js +222 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsResponseAccordions.js +366 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsStudentResponseAndLayout.js +206 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingWithAlternateAnswer.js +624 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsWithAlternateAnswer.js +865 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsWithAlternateAnswer.js +763 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownSupportedFileTypes.js +86 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +213 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +215 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +215 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingScoring.js +187 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/manualAndNonScored.js +162 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsAlternatePointsMoreThanCorrectPoints.js +316 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsCorrectEqualToAlternatePoints.js +385 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsCorrectPointsMoreThanAlternatePoints.js +316 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsScoring.js +245 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsAlternatePointsMoreThanCorrectPoints.js +250 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsCorrectPointEqualToAlternatePoints.js +266 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsCorrectPointsMoreThanAlternatePoints.js +250 -0
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsScoring.js +226 -0
- package/cypress/e2e/ILC/Highlight/highlightAdditionalSettingsBasic.js +221 -0
- package/cypress/e2e/ILC/Highlight/highlightAdditionalSettingsMaximumNumberOfAnswers.js +137 -0
- package/cypress/e2e/ILC/Highlight/highlightBasicScoringForTextSelectionTypes.js +457 -0
- package/cypress/e2e/ILC/Highlight/highlightColorLibraryFlyout.js +143 -0
- package/cypress/e2e/ILC/Highlight/highlightEditTabScoringSection.js +361 -0
- package/cypress/e2e/ILC/Highlight/highlightHeaderSection.js +91 -0
- package/cypress/e2e/ILC/Highlight/highlightQuestionInstructionsAndQuestion.js +178 -0
- package/cypress/e2e/ILC/Highlight/highlightScoringSectionBasic.js +21 -0
- package/cypress/e2e/ILC/Highlight/highlightSetCorrectAnswerSection.js +204 -0
- package/cypress/e2e/ILC/Highlight/highlightTextSelectionDropdownAndHighlightOptionsSection.js +175 -0
- package/cypress/e2e/ILC/Highlight/highlightTextSelectionTypeInPreviewTab.js +237 -0
- package/cypress/e2e/ILC/Highlight/highlightTextSelectionTypeInSetCorrectAnswerSection.js +341 -0
- package/cypress/e2e/ILC/Highlight/highlightTextSelectionTypesInHighlightOptionsSection.js +375 -0
- package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +28 -0
- package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsAllOrNothingScoringWithAlternateAnswer.js → Scoring/groupedOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js} +5 -7
- package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsAllOrNothingScoring.js → Scoring/groupedOptionsAllOrNothingScoring.js} +2 -2
- package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsManualAndNonScoredScoring.js → Scoring/groupedOptionsManualAndNonScoredScoring.js} +2 -2
- package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsPartialDifferentScorings.js → Scoring/groupedOptionsPartialDifferentWeightsScoring.js} +2 -2
- package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsPartialDifferrentWeightsAlternatePointsGreaterThanCorrectPoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsPartialDifferentScoringWithAlternateTab.js → Scoring/groupedOptionsPartialDifferrentWeightsCorrectPointsEqualToAlternatePoints.js} +6 -6
- package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsPartialDifferrentWeightsCorrectPointsGreaterThanAlternatePoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsPartialEqualWeightsScoringWithAlternateTab.js → Scoring/groupedOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js} +6 -6
- package/cypress/e2e/ILC/ListMatching/Scoring/groupedOptionsPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingGroupedOptionsPartialEqualWeightsScoring.js → Scoring/groupedOptionsPartialEqualWeightsScorings.js} +2 -2
- package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +28 -0
- package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsAllOrNothingScoringWithAlternateAnswer.js → Scoring/standardOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js} +5 -7
- package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsAllOrNothingScoring.js → Scoring/standardOptionsAllOrNothingScoring.js} +2 -2
- package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsManualAndNonScoredScoring.js → Scoring/standardOptionsManualAndNonScoredScoring.js} +2 -2
- package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsPartialDifferentScoringWithAlternateAnswer.js → Scoring/standardOptionsPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js} +6 -6
- package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +30 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsPartialDIfferentScoring.js → Scoring/standardOptionsPartialDifferentWeightsScoring.js} +2 -2
- package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsPartialEqualWeightsAlternatePointsMoreThanCorrectPoints.js +29 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsPartialEqualScoringWithAlternateAnswer.js → Scoring/standardOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js} +6 -6
- package/cypress/e2e/ILC/ListMatching/Scoring/standardOptionsPartialEqualWeightsCorrectPointsMoreThanAlternatePoints.js +29 -0
- package/cypress/e2e/ILC/ListMatching/{listMatchingStandardOptionsPartialEqualScoring.js → Scoring/standardOptionsPartialEqualWeightsScoring.js} +2 -2
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAdditionalSettingsBasic.js +11 -5
- package/cypress/e2e/ILC/MultipleSelectionGrid/{multipleSelectionGridQuestionStemAdditionalSettings.js → multipleSelectionGridAdditionalSettingsQuestionStem.js} +0 -11
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +263 -0
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +263 -0
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +261 -0
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +340 -0
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +310 -0
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +341 -0
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +313 -0
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +285 -0
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +316 -0
- package/cypress/e2e/ILC/ReadingRuler/readingRulerEditTabBasicsSection.js +185 -0
- package/cypress/e2e/ILC/ReadingRuler/readingRulerHeaderSection.js +55 -0
- package/cypress/e2e/ILC/ReadingRuler/readingRulerPreviewTab.js +257 -0
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +173 -0
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +179 -0
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +174 -0
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +247 -0
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +219 -0
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +246 -0
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +225 -0
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +197 -0
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +226 -0
- package/cypress/e2e/ILC/VideoResponse/videoResponseAdditionalSettings.js +135 -0
- package/cypress/e2e/ILC/VideoResponse/videoResponseAdditionalSettingsBasic.js +88 -0
- package/cypress/e2e/ILC/VideoResponse/videoResponseEditTabBasic.js +78 -0
- package/cypress/e2e/ILC/VideoResponse/videoResponseHeaderSection.js +74 -0
- package/cypress/e2e/ILC/VideoResponse/videoResponsePreviewTab.js +627 -0
- package/cypress/e2e/ILC/VideoResponse/videoResponseScoringSection.js +76 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAddResponseContainer.js +230 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettings.js +247 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingScoring.js +352 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownConditionalCheckboxes.js +258 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditAriaLabelCheckbox.js +134 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditTabBasicSection.js +132 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditTabScoringSection.js +237 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownHeaderSection.js +113 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownImageProperties.js +156 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownManualAndNonScoredScoring.js +165 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownOptionsForResponse.js +303 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsScoring.js +372 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsScoring.js +371 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPreviewTab.js +77 -0
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownSetCorrectAnswerSection.js +117 -0
- package/cypress/pages/dragAndDropIntoCategoriesAllOrNothingScoring.js +1 -1
- package/cypress/pages/listMatchingScoring.js +16 -105
- package/package.json +1 -1
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingWithAlternateAnswer.js +0 -731
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsWithAlternateAnswer.js +0 -942
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsWithAlternateAnswer.js +0 -864
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingWithAlternateAnswer.js +0 -472
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsWithAlternateAnswer.js +0 -662
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsWIthAlternateAnswer.js +0 -595
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsAllOrNothing.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachCell.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachCellAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachCellCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachCellCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachResponse.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachResponseAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachResponseCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsPartialScoreForEachResponseCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenCell.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenCellsAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenCellsCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenCellsCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenResponses.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenResponsesAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenResponsesCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/groupedOptionsTotalScoreDividedBetweenResponsesCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardAllOrNothing.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachCell.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachCellAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachCellCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachCellCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachResponse.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachResponseAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachResponseCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardPartialScoreForEachResponseCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenCell.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenCellAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenCellCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenCellCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenResponse.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenResponseAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenResponseCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesScoringFiles → dragAndDropIntoCategoriesScoring}/standardTotalScoreDividedBetweenResponseCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/allOrNothingScoring.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/manuallyAndNonScoredScoring.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialDifferentWeightsScoring.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListOrdering/{ListOrderingScoringFiles → Scoring}/partialEqualWeightsScoring.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/allOrNothingScoring.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/manuallyAndNonScoredScoring.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialDifferentWeightsScoring.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -0
- /package/cypress/e2e/ILC/ListSorting/{ListSortingScoringFiles → Scoring}/partialEqualWeightsScoring.js +0 -0
@@ -0,0 +1,341 @@
|
|
1
|
+
import { multipleSelectionGridPage } from "../../../pages/multipleSelectionGridPage";
|
2
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
|
+
const css = Cypress.env('css');
|
4
|
+
|
5
|
+
const questionStems = ['Bat', 'Ostrich', 'Platypus', 'Eagle'];
|
6
|
+
const options = ['Is mammal', 'Lays eggs', 'Can fly'];
|
7
|
+
|
8
|
+
describe('Create Item page - Multiple Selection Grid: Preview tab Scoring Section', () => {
|
9
|
+
before(() => {
|
10
|
+
cy.loginAs('admin');
|
11
|
+
});
|
12
|
+
|
13
|
+
describe('Question Preview: AutoScored - Partial different weights with alternate answer', () => {
|
14
|
+
abortEarlySetup();
|
15
|
+
before(() => {
|
16
|
+
cy.log('Navigating to multiple selection grid question type');
|
17
|
+
multipleSelectionGridPage.steps.navigateToCreateQuestion('multiple selection grid');
|
18
|
+
cy.log('Adding question instructions, question stems, options, setting correct answer and adding points for Autoscored Partial equal weights scoring type and switching to Preview tab');
|
19
|
+
multipleSelectionGridPage.steps.addQuestionInstructions();
|
20
|
+
multipleSelectionGridPage.steps.addOption()
|
21
|
+
multipleSelectionGridPage.steps.addInputToAllQuestionStemFields(questionStems);
|
22
|
+
multipleSelectionGridPage.steps.addInputToAllOptionsFields(options);
|
23
|
+
multipleSelectionGridPage.steps.selectPartialDifferentWeightsCheckbox();
|
24
|
+
multipleSelectionGridPage.steps.uncheckRoundDownScoreCheckbox()
|
25
|
+
multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInSetCorrectAnswerTable([[0, 2], [1], [0, 1], [1, 2]]);
|
26
|
+
multipleSelectionGridPage.steps.allotPartialDifferentWeightsToAllPointsFields([5, 7, 4, 8]);
|
27
|
+
multipleSelectionGridPage.steps.clickOnAddAlternateAnswerButton();
|
28
|
+
multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInSetCorrectAnswerTable([[1], [0, 2], [0, 1], [2]]);
|
29
|
+
multipleSelectionGridPage.steps.allotPartialDifferentWeightsToAllPointsFields([3, 9, 2, 6]);
|
30
|
+
multipleSelectionGridPage.steps.expandAdditonalSettings();
|
31
|
+
multipleSelectionGridPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
32
|
+
multipleSelectionGridPage.steps.switchToPreviewTab();
|
33
|
+
});
|
34
|
+
|
35
|
+
it('Alternate answer case: When Correct Answer points are more than Alternate Answer points', () => {
|
36
|
+
cy.log('Total points displayed besides Show correct answer checkbox should be of Correct Answer points')
|
37
|
+
multipleSelectionGridPage.previewScoreText()
|
38
|
+
.verifyInnerText('0/24');
|
39
|
+
|
40
|
+
cy.log('When the user selects the Show correct answer checkbox without attempting the question, green check-mark icons should be displayed besides only correct answer options')
|
41
|
+
multipleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
|
42
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [0, 2]);
|
43
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [1]);
|
44
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
45
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [1, 2]);
|
46
|
+
multipleSelectionGridPage.incorrectIcon()
|
47
|
+
.should('not.exist');
|
48
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
49
|
+
.should('not.exist');
|
50
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
51
|
+
multipleSelectionGridPage.steps.uncheckShowCorrectAnswerCheckbox();
|
52
|
+
|
53
|
+
cy.log('When the user selects correct answer options, points specified for correct answers should be provided and on selecting \'Show correct answer\' checkbox green check-mark icon should be displayed besides options from the correct tab and correct/incorrect answer label and its border should not be displayed')
|
54
|
+
multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInPreviewTabAnswerTable([[0, 2], [1], [0, 1], [1, 2]]);
|
55
|
+
multipleSelectionGridPage.previewScoreText()
|
56
|
+
.verifyInnerText('24/24');
|
57
|
+
multipleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox();
|
58
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [0, 2]);
|
59
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [1]);
|
60
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
61
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [1, 2]);
|
62
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
63
|
+
.should('not.exist');
|
64
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
65
|
+
|
66
|
+
multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
67
|
+
|
68
|
+
cy.log('When the user clicks on \'Check answer\' button,green check-mark icon should be displayed besides options from the correct tab and correct/incorrect answer label and its border should not be displayed')
|
69
|
+
multipleSelectionGridPage.steps.checkAnswer()
|
70
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [0, 2]);
|
71
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [1]);
|
72
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
73
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [1, 2]);
|
74
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
75
|
+
.should('not.exist');
|
76
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
77
|
+
|
78
|
+
cy.log('When the user selects alternate correct answer options, points specified for alternate correct answer (less than overall points) should be provided and on selecting Show correct answer checkbox green check-mark icons should be displayed besides alternate correct answer options and correct/incorrect answer label and its border should not be displayed')
|
79
|
+
multipleSelectionGridPage.steps.resetQuestionPreview()
|
80
|
+
multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInPreviewTabAnswerTable([[1], [0, 2], [0, 1], [2]]);
|
81
|
+
multipleSelectionGridPage.previewScoreText()
|
82
|
+
.verifyInnerText('20/24');
|
83
|
+
multipleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
|
84
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [1]);
|
85
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [0, 2]);
|
86
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
87
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [2]);
|
88
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
89
|
+
.should('not.exist');
|
90
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
91
|
+
|
92
|
+
multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
93
|
+
|
94
|
+
cy.log('When the user clicks on \'Check answer\' button, then green check-mark icons should be displayed besides selected alternate correct answer options and correct/incorrect answer label and its border should not be displayed')
|
95
|
+
multipleSelectionGridPage.steps.checkAnswer();
|
96
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [1]);
|
97
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [0, 2]);
|
98
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
99
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [2]);
|
100
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
101
|
+
.should('not.exist');
|
102
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
103
|
+
|
104
|
+
cy.log('When user selects partially correct answer options such that user has selected correct options only from the correct tab and user selects show correct answer checkbox then user should be awarded with points for the correctly attempted options and green check-mark icons should be displayed beside the options set in the correct tab and correct/incorrect answer label and its border should not be displayed')
|
105
|
+
multipleSelectionGridPage.steps.resetQuestionPreview()
|
106
|
+
multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInPreviewTabAnswerTable([[0, 2], [1]]);
|
107
|
+
multipleSelectionGridPage.previewScoreText()
|
108
|
+
.verifyInnerText('12/24');
|
109
|
+
multipleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
|
110
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [0, 2]);
|
111
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [1]);
|
112
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
113
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [1, 2]);
|
114
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
115
|
+
.should('not.exist');
|
116
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
117
|
+
|
118
|
+
multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
119
|
+
|
120
|
+
cy.log('When the user clicks on \'Check answer\' button, green check-mark icons should be displayed beside the selected correct answer options and correct/incorrect answer label and its border should not be displayed')
|
121
|
+
multipleSelectionGridPage.steps.checkAnswer();
|
122
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [0, 2]);
|
123
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [1]);
|
124
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
125
|
+
.should('not.exist');
|
126
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
127
|
+
|
128
|
+
cy.log('When user selects partially correct answer options such that user has selected correct options only from the alternate tab and user selects show correct answer checkbox then user should be awarded with the points from selected correct answer options and green check-mark icons should be displayed beside the options set in the alternate tab and correct/incorrect answer label and its border should not be displayed')
|
129
|
+
multipleSelectionGridPage.steps.resetQuestionPreview()
|
130
|
+
multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInPreviewTabAnswerTable([[1], [0, 2]]);
|
131
|
+
multipleSelectionGridPage.previewScoreText()
|
132
|
+
.verifyInnerText('12/24');
|
133
|
+
multipleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
|
134
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [1]);
|
135
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [0, 2]);
|
136
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
137
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [2]);
|
138
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
139
|
+
.should('not.exist');
|
140
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
141
|
+
|
142
|
+
multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
143
|
+
|
144
|
+
cy.log('When the user clicks on \'Check answer\' button, green check-mark icons should be displayed beside the selected alternate answer options and correct/incorrect answer label and its border should not be displayed')
|
145
|
+
multipleSelectionGridPage.steps.checkAnswer();
|
146
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [1]);
|
147
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [0, 2]);
|
148
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
149
|
+
.should('not.exist');
|
150
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
151
|
+
|
152
|
+
cy.log('When user selects equal number of options from the correct tab and alternate tab then points of the correctly attempted options from the tab that awards maximum points i.e. correct tab in this case should be awarded and on selecting show correct answer checkbox green check-mark icon should be displayed beside options from the correct tab and red cross-mark icon should be displayed beside the options from the alternate tab and correct/incorrect answer label and its border should not be displayed')
|
153
|
+
multipleSelectionGridPage.steps.resetQuestionPreview()
|
154
|
+
multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInPreviewTabAnswerTable([[1], [1], [0, 1]]);
|
155
|
+
multipleSelectionGridPage.previewScoreText()
|
156
|
+
.verifyInnerText('11/24');
|
157
|
+
multipleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
|
158
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [0, 2]);
|
159
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(0, [1]);
|
160
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [1]);
|
161
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
162
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [1, 2]);
|
163
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
164
|
+
.should('not.exist');
|
165
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
166
|
+
|
167
|
+
multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
168
|
+
|
169
|
+
cy.log('When the user clicks on \'Check answer\' button,green check-mark icon should be displayed beside selected options from the correct tab and red cross-mark icon should be displayed beside the selected options from the alternate tab and correct/incorrect answer label and its border should not be displayed')
|
170
|
+
multipleSelectionGridPage.steps.checkAnswer()
|
171
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(0, [1]);
|
172
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [1]);
|
173
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
174
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
175
|
+
.should('not.exist');
|
176
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
177
|
+
|
178
|
+
cy.log('When user selects equal number of options from the correct tab and alternate tab then points of the correctly attempted options from the tab that awards maximum points i.e. alternate tab in this case should be awarded and on selecting show correct answer checkbox green check-mark icon should be displayed beside options from the alternate tab and red cross-mark icon should be displayed beside the options from the correct tab and correct/incorrect answer label and its border should not be displayed')
|
179
|
+
multipleSelectionGridPage.steps.resetQuestionPreview()
|
180
|
+
multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInPreviewTabAnswerTable([[0, 2], [0, 2], [0, 1]]);
|
181
|
+
multipleSelectionGridPage.previewScoreText()
|
182
|
+
.verifyInnerText('11/24');
|
183
|
+
multipleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
|
184
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [1]);
|
185
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(0, [0, 2]);
|
186
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [0, 2]);
|
187
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
188
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [2]);
|
189
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
190
|
+
.should('not.exist');
|
191
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
192
|
+
|
193
|
+
multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
194
|
+
|
195
|
+
cy.log('When the user clicks on \'Check answer\' button, green check-mark icon should be displayed beside selected options from the alternate tab and red cross-mark icon should be displayed beside the selected options from the correct tab and correct/incorrect answer label and its border should not be displayed')
|
196
|
+
multipleSelectionGridPage.steps.checkAnswer()
|
197
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(0, [0, 2]);
|
198
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [0, 2]);
|
199
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
200
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
201
|
+
.should('not.exist');
|
202
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
203
|
+
|
204
|
+
cy.log('Race condition 1: When user attempts a question stem with correct options of both correct and alternate tab (same options set correct in both the correct and alternate tabs) then the user should be awarded with points of the correct tab(as it has more points) and when user selects show correct answer checkbox then green checkmark icon should be displayed for the correct tab options and correct/incorrect answer label and its border should not be displayed')
|
205
|
+
multipleSelectionGridPage.steps.resetQuestionPreview()
|
206
|
+
multipleSelectionGridPage.steps.setAnswersForQuestionStemInPreviewTabAnswerTable(2, [0, 1]);
|
207
|
+
multipleSelectionGridPage.previewScoreText()
|
208
|
+
.verifyInnerText('4/24');
|
209
|
+
multipleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
|
210
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [0, 2]);
|
211
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [1]);
|
212
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
213
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [1, 2]);
|
214
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
215
|
+
.should('not.exist');
|
216
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
217
|
+
|
218
|
+
multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
219
|
+
|
220
|
+
cy.log('When the user clicks on \'Check answer\' button green check-mark icons should be displayed beside the selected correct tab answer options and correct/incorrect answer label and its border should not be displayed')
|
221
|
+
multipleSelectionGridPage.steps.checkAnswer()
|
222
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
223
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
224
|
+
.should('not.exist');
|
225
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
226
|
+
|
227
|
+
cy.log('Race condition 2: When user attempts a question stem with correct options of both correct and alternate tab (one common option set correct in both the correct and alternate tabs) and user selects show correct answer checkbox then green check-mark icons should be displayed for the correct tab options and user should be awarded points of the correctly selected option and correct/incorrect answer label and its border should not be displayed')
|
228
|
+
multipleSelectionGridPage.steps.resetQuestionPreview()
|
229
|
+
multipleSelectionGridPage.steps.setAnswersForQuestionStemInPreviewTabAnswerTable(3, [1, 2]);
|
230
|
+
multipleSelectionGridPage.previewScoreText()
|
231
|
+
.verifyInnerText('8/24');
|
232
|
+
multipleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
|
233
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [0, 2]);
|
234
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [1]);
|
235
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
236
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [1, 2]);
|
237
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
238
|
+
.should('not.exist');
|
239
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
240
|
+
|
241
|
+
multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
242
|
+
|
243
|
+
cy.log('When the user clicks on \'Check answer\' button green check-mark icons should be displayed for the selected correct tab options and correct/incorrect answer label and its border should not be displayed')
|
244
|
+
multipleSelectionGridPage.steps.checkAnswer()
|
245
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [1, 2]);
|
246
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
247
|
+
.should('not.exist');
|
248
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
249
|
+
|
250
|
+
cy.log('Race condition 3: When user attempts a question stem with correct options of both correct and alternate tab (both the correct and alternate tabs have exclusive options set correct) and user selects show correct answer checkbox then green check-mark icons should be displayed for the options set in correct tab and red cross-mark icon should be displayed for selected alternate tab options and user should be awarded 0 points and correct/incorrect answer label and its border should not be displayed')
|
251
|
+
multipleSelectionGridPage.steps.resetQuestionPreview()
|
252
|
+
multipleSelectionGridPage.steps.setAnswersForQuestionStemInPreviewTabAnswerTable(0, [0, 1, 2]);
|
253
|
+
multipleSelectionGridPage.previewScoreText()
|
254
|
+
.verifyInnerText('0/24');
|
255
|
+
multipleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
|
256
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [0, 2]);
|
257
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(0, [1]);
|
258
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [1]);
|
259
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
260
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [1, 2]);
|
261
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
262
|
+
.should('not.exist');
|
263
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
264
|
+
|
265
|
+
multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
266
|
+
|
267
|
+
cy.log('When the user clicks on \'Check answer\' button green check-mark icons should be displayed for the selected options set in correct tab and red cross-mark icon should be displayed for selected alternate tab options and correct/incorrect answer label and its border should not be displayed')
|
268
|
+
multipleSelectionGridPage.steps.checkAnswer()
|
269
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [0, 2]);
|
270
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(0, [1]);
|
271
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
272
|
+
.should('not.exist');
|
273
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
274
|
+
|
275
|
+
cy.log('When user selects incorrect answer option, 0 points should be awarded and on selecting Show correct answer checkbox red cross-mark icons should be displayed besides the selected incorrect answer options and green checkmarks should be displayed beside correct tab answers and correct/incorrect answer label and its border should not be displayed')
|
276
|
+
multipleSelectionGridPage.steps.resetQuestionPreview()
|
277
|
+
multipleSelectionGridPage.steps.setAnswersForQuestionStemInPreviewTabAnswerTable(2, [2]);
|
278
|
+
multipleSelectionGridPage.steps.setAnswersForQuestionStemInPreviewTabAnswerTable(3, [0]);
|
279
|
+
multipleSelectionGridPage.previewScoreText()
|
280
|
+
.verifyInnerText('0/24');
|
281
|
+
multipleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox()
|
282
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [0, 2]);
|
283
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [1]);
|
284
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
285
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(2, [2]);
|
286
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [1, 2]);
|
287
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(3, [0]);
|
288
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
289
|
+
.should('not.exist');
|
290
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
291
|
+
|
292
|
+
multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
293
|
+
|
294
|
+
cy.log('When the user clicks on \'Check answer\' button, red check-marks should be displayed besides the selected incorrect answer options and correct/incorrect answer label and its border should not be displayed')
|
295
|
+
multipleSelectionGridPage.steps.checkAnswer();
|
296
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(2, [2]);
|
297
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(3, [0]);
|
298
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
299
|
+
.should('not.exist');
|
300
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
301
|
+
|
302
|
+
cy.log('(Overachiever case) Prestep: Switching to Edit tab and alloting points to correct and alternate tab such that the difference between the points is substantial and the points per response are in decimal')
|
303
|
+
multipleSelectionGridPage.steps.switchToEditTab();
|
304
|
+
multipleSelectionGridPage.steps.deleteAlternateTab();
|
305
|
+
multipleSelectionGridPage.steps.addAlternateTab(1);
|
306
|
+
multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInSetCorrectAnswerTable([[1], [0, 2], [2], [0]]);
|
307
|
+
multipleSelectionGridPage.steps.allotPartialDifferentWeightsToAllPointsFields([4.5, 1.5, 2.5, 3.5]);
|
308
|
+
multipleSelectionGridPage.steps.navigateToCorrectTab();
|
309
|
+
multipleSelectionGridPage.steps.allotPartialDifferentWeightsToAllPointsFields([12.5, 14.5, 17.5, 5.5]);
|
310
|
+
multipleSelectionGridPage.steps.switchToPreviewTab();
|
311
|
+
|
312
|
+
cy.log('Overachiever case: When the user selects more number of correct options from the alternate tab than the correct tab but the score of the individual response selected from the correct tab overpowers the combined score of the alternate tab answers then green checkmark icons should be displayed for the correct tab option, red crossmark icon should be displayed for the alternate tab options and points awarded should be of the correct tab and correct/incorrect answer label and its border should not be displayed')
|
313
|
+
multipleSelectionGridPage.steps.setAnswersForAllQuestionStemsInPreviewTabAnswerTable([[0, 2], [0, 2], [2], [0]]);
|
314
|
+
multipleSelectionGridPage.previewScoreText()
|
315
|
+
.verifyInnerText('12.5/50')
|
316
|
+
multipleSelectionGridPage.steps.checkShowCorrectAnswerCheckbox();
|
317
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [0, 2]);
|
318
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(1, [1]);
|
319
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(2, [0, 1]);
|
320
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(3, [1, 2]);
|
321
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(1, [0, 2]);
|
322
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(2, [2]);
|
323
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(3, [0]);
|
324
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
325
|
+
.should('not.exist');
|
326
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
327
|
+
|
328
|
+
multipleSelectionGridPage.steps.verifyQuestionPreviewStateWhenShowCorrectAnswerIsUnchecked();
|
329
|
+
|
330
|
+
cy.log('Overachiever case: When the user clicks on \'Check answer\' button, green checkmark icons should be displayed for the correct tab option, red crossmark icon should be displayed for the alternate tab options and points awarded should be of the correct tab and correct/incorrect answer label and its border should not be displayed')
|
331
|
+
multipleSelectionGridPage.steps.checkAnswer()
|
332
|
+
multipleSelectionGridPage.steps.verifyCorrectOptionsCheckmarkIcon(0, [0, 2]);
|
333
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(1, [0, 2]);
|
334
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(2, [2]);
|
335
|
+
multipleSelectionGridPage.steps.verifyIncorrectOptionsCrossmarkIcon(3, [0]);
|
336
|
+
multipleSelectionGridPage.correctIncorectAnswerLabel()
|
337
|
+
.should('not.exist');
|
338
|
+
multipleSelectionGridPage.steps.verifyCorrectIncorrectBorderNotVisible();
|
339
|
+
});
|
340
|
+
});
|
341
|
+
});
|