itemengine-cypress-automation 1.0.78 → 1.0.80
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/Desmos/desmosFourFunctionCalculatorEditTabBasicSection.js +97 -0
- package/cypress/e2e/ILC/Desmos/desmosFourFunctionCalculatorPreviewContents.smoke.js +73 -0
- package/cypress/e2e/ILC/Desmos/desmosGeometryToolEditTabBasicSection.js +97 -0
- package/cypress/e2e/ILC/Desmos/desmosGeometryToolPreviewContents.smoke.js +72 -0
- package/cypress/e2e/ILC/Desmos/desmosGraphingCalculatorEditTabBasicSection.js +98 -0
- package/cypress/e2e/ILC/Desmos/desmosGraphingCalculatorPreviewContents.smoke.js +73 -0
- package/cypress/e2e/ILC/Desmos/desmosMatrixCalculatorEditTabBasicSection.js +98 -0
- package/cypress/e2e/ILC/Desmos/desmosMatrixCalculatorPreviewContents.smoke.js +74 -0
- package/cypress/e2e/ILC/Desmos/desmosScientificCalculatorEditTabBasicSection.js +97 -0
- package/cypress/e2e/ILC/Desmos/desmosScientificCalculatorPreviewContents.smoke.js +73 -0
- package/cypress/e2e/ILC/DesmosGraphing/additionalSettings.js +118 -0
- package/cypress/e2e/ILC/DesmosGraphing/editTabBasic.js +79 -0
- package/cypress/e2e/ILC/DesmosGraphing/editTabScoring.js +73 -0
- package/cypress/e2e/ILC/{EssayResponse/essayResponseGradingViewAndCorrectAnswerViewContents.smoke.js → DesmosGraphing/gradingViewAndCorrectAnswerViewContents.smoke.js} +22 -35
- package/cypress/e2e/ILC/DesmosGraphing/previewTabContent.smoke.js +67 -0
- package/cypress/e2e/ILC/DesmosGraphing/studentViewSettings.js +232 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +228 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/allOrNothingBasicForGroupedOptionsLayout.js +97 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +226 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +316 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/allOrNothingPenaltyScoring.js +57 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/manuallyAndNonScoredScoring.js +156 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perCorrectOptionAlternativePointsGreaterThanCorrectPoints.js +279 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perCorrectOptionBasic.js +180 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perCorrectOptionCorrectPointsEqualToAlternativePoints.js +266 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perCorrectOptionCorrectPointsGreaterThanAlternativePoints.js +279 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perCorrectOptionMinimumAndPenaltyScoring.js +257 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perDropzoneAlternativePointsGreaterThanCorrectPoints.js +273 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perDropzoneBasic.js +193 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +241 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +275 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/Scoring/perDropzoneMinimumAndPenaltyScoring.js +252 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/allOrNothingBasicForAllViews.smoke.js +282 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/checkAnswerFunctionalityForAllViews.smoke.js +114 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesClickAndDrop.js → clickAndDrop.js} +278 -282
- package/cypress/e2e/ILC/DragAndDropIntoCategories/draggableOptions.js +192 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/editTabBasicSection.js +754 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/editTabScoring.js +304 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/{dragAndDropIntoCategoriesHeaderSection.js → headerSection.js} +20 -29
- package/cypress/e2e/ILC/DragAndDropIntoCategories/manuallyAndNonScoredScoringEditTab.js +78 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/minimumScoringPenaltyPointsAndRoundingDropdown.js +139 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/previewContentsForAllViews.smoke.js +199 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/specifyCorrectAnswerSection.js +73 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/studentViewSettings.js +460 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/studentViewSettingsForGroupedLayout.js +233 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategories/switchingCasesBetweenOptionsLayout.js +48 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +379 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +565 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +718 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +339 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabScoring.js +76 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +107 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePageHeaderSection.js +74 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.js +1335 -0
- package/cypress/e2e/ILC/EditTabSettingPage/itemPreviewSettingsTabFunctionality.js +410 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/allOrNothingForAllViews.smoke.js +286 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +200 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +199 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +292 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/manuallyAndNonScored.js +151 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +250 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialDifferentWeightsBasic.js +434 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +221 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +250 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialEqualWeightsBasic.js +173 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +229 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +200 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/FillInTheGapsOverImageDragAndDropScoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +229 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/checkAnswerFunctionalityForAllViews.smoke.js +122 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/draggableOptions.js +198 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabScoring.js +251 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/manuallyAndNonScoredEditTab.js +69 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +138 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/specifyCorrectAnswerSection.js +95 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +539 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/switchingCasesBetweenOptionsLayout.js +54 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +196 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +194 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +289 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/allOrNothingPenaltyScoring.js +56 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/manuallyAndNonScored.js +121 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +221 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialDifferentWeightsBasic.js +242 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +221 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +221 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialEqualWeightsBasic.js +147 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +201 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +173 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +201 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/allOrNothingForAllViews.smoke.js +231 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/{fillInTheGapsOverImageTextCheckAnswerForAllViews.smoke.js → checkAnswerFunctionalityForAllViews.smoke.js} +48 -57
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/editTabScoringSection.js +279 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/previewContentsForAllViews.smoke.js +103 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/specifyCorrectAnswerSection.js +71 -0
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +228 -0
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +654 -0
- package/cypress/e2e/ILC/MultipleSelection/blockCreateItem.js +110 -0
- package/cypress/e2e/ILC/MultipleSelection/checkAnswerFunctionalityForAllViews.smoke.js +122 -0
- package/cypress/e2e/ILC/MultipleSelection/editTabBasicSection.js +159 -0
- package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +274 -0
- package/cypress/e2e/ILC/MultipleSelection/headerSection.js +73 -0
- package/cypress/e2e/ILC/MultipleSelection/manuallyAndNonScoredScoring.js +115 -0
- package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +203 -0
- package/cypress/e2e/ILC/MultipleSelection/multipleSelectionAdditionalSettings.js +835 -0
- package/cypress/e2e/ILC/MultipleSelection/multipleSelectionBasicAccessibility.js +56 -0
- package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +404 -0
- package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +821 -0
- package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsBasic.js +145 -0
- package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +713 -0
- package/cypress/e2e/ILC/MultipleSelection/previewContentsForAllViews.smoke.js +174 -0
- package/cypress/e2e/ILC/MultipleSelection/specifyCorrectAnswerSection.js +75 -0
- package/cypress/e2e/ILC/MultipleSelection/studentViewSettings.js +530 -0
- package/cypress/e2e/ILC/Protractor/protractorEditTabBasicsSection.js +320 -0
- package/cypress/e2e/ILC/Protractor/protractorEditTabFunctionality.js +225 -0
- package/cypress/e2e/ILC/Protractor/protractorHeaderFile.js +79 -0
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +69 -0
- package/cypress/e2e/ILC/Ruler/rulerEditTabBasicsSection.js +546 -0
- package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +290 -0
- package/cypress/e2e/ILC/Ruler/rulerHeaderSection.js +85 -0
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +68 -0
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +194 -0
- package/cypress/e2e/ILC/SingleSelection/allOrNothingWithAlternativeAnswer.js +313 -0
- package/cypress/e2e/ILC/SingleSelection/blockCreateItem.js +111 -0
- package/cypress/e2e/ILC/SingleSelection/checkAnswerFunctionalityForAllViews.smoke.js +109 -0
- package/cypress/e2e/ILC/SingleSelection/editTabBasicSection.js +166 -0
- package/cypress/e2e/ILC/SingleSelection/editTabScoringSection.js +103 -0
- package/cypress/e2e/ILC/SingleSelection/headerSection.js +55 -0
- package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +90 -0
- package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +174 -0
- package/cypress/e2e/ILC/SingleSelection/singleSelectionAdditionalSettings.js +469 -0
- package/cypress/e2e/ILC/SingleSelection/specifyCorrectAnswerSection.js +72 -0
- package/cypress/e2e/ILC/SingleSelection/studentViewSettings.js +304 -0
- package/cypress/e2e/ILC/SingleSelection/trueOrFalseCreateItem.js +103 -0
- package/cypress/e2e/ILC/ToolSettings/toolSettingsContent.js +283 -0
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +206 -0
- package/cypress/fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters.js +172 -0
- package/cypress/fixtures/evaluationMethodsAndCustomSettings.js +83 -0
- package/cypress/fixtures/theme/ilc.json +21 -2
- package/cypress/pages/components/acceptedStudentInputComponent.js +92 -0
- package/cypress/pages/components/additionalSettingsPanel.js +8 -1
- package/cypress/pages/components/allowMultipleInstancesOfSameDraggableOptionComponent.js +54 -0
- package/cypress/pages/components/autoScoredAdditionalSettings.js +1 -1
- package/cypress/pages/components/autoScoredScoringPreviewTab.js +271 -0
- package/cypress/pages/components/autoScoredScoringSection.js +1 -1
- package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +624 -0
- package/cypress/pages/components/autoScoredScoringSectionMultipleResponsesType.js +94 -36
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +64 -8
- package/cypress/pages/components/autoScoredStudentViewSettings.js +141 -0
- package/cypress/pages/components/autoScoredStudentViewSettingsForPredefinedOptions.js +84 -0
- package/cypress/pages/components/backgroundImageUploadComponent.js +29 -0
- package/cypress/pages/components/ckEditorToolbar.js +1 -0
- package/cypress/pages/components/commonComponents.js +14 -7
- package/cypress/pages/components/correctIncorrectAnswerLabelComponent.js +38 -0
- package/cypress/pages/components/createQuestionBasePage.js +91 -75
- package/cypress/pages/components/desmosToolComponent.js +104 -0
- package/cypress/pages/components/draggableOptionContainer.js +628 -0
- package/cypress/pages/components/draggableOptionsSectionComponent.js +280 -0
- package/cypress/pages/components/enableOuterBorderComponent.js +59 -0
- package/cypress/pages/components/equationEditorFlyout.js +1 -26
- package/cypress/pages/components/essayResponseCommonComponents.js +32 -8
- package/cypress/pages/components/figOverImageCanvasComponent.js +53 -0
- package/cypress/pages/components/fillInTheGapsCommonComponents.js +0 -65
- package/cypress/pages/components/index.js +23 -10
- package/cypress/pages/components/listSortingAndOrderingBase.js +1 -1
- package/cypress/pages/components/lockUnlockOptionsComponent.js +65 -0
- package/cypress/pages/components/maximumCapacityPerDropzoneComponent.js +53 -0
- package/cypress/pages/components/maximumRecorderLengthComponent.js +2 -2
- package/cypress/pages/components/mcqAdditionalSettingsBase.js +30 -351
- package/cypress/pages/components/measuringToolComponent.js +215 -0
- package/cypress/pages/components/optionsWrapperComponent.js +310 -7
- package/cypress/pages/components/previewScoringAndShowCorrectAnswerComponent.js +1 -2
- package/cypress/pages/components/questionInputFieldComponent.js +109 -0
- package/cypress/pages/components/questionInstructionsComponent.js +53 -34
- package/cypress/pages/components/randomizeOptionsComponent.js +59 -0
- package/cypress/pages/components/scoringSectionBase.js +18 -2
- package/cypress/pages/components/scoringSectionBaseEditTab.js +401 -0
- package/cypress/pages/components/studentViewSettingsLabelComponent.js +28 -0
- package/cypress/pages/components/toolSettingsComponent.js +94 -0
- package/cypress/pages/components/toolVisibilityComponent.js +73 -0
- package/cypress/pages/components/uploadImageSectionComponent.js +0 -2
- package/cypress/pages/createItemPage.js +390 -9
- package/cypress/pages/desmosGraphingPage.js +256 -0
- package/cypress/pages/desmosToolPage.js +204 -0
- package/cypress/pages/dialogBoxBase.js +5 -5
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1157 -1185
- package/cypress/pages/drawingResponsePage.js +1467 -0
- package/cypress/pages/essayResponsePage.js +24 -12
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +12 -13
- package/cypress/pages/fillInTheGapsDropdownPage.js +4 -1
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +479 -0
- package/cypress/pages/fillInTheGapsOverImageTextPage.js +314 -107
- package/cypress/pages/fillInTheGapsTextPage.js +4 -1
- package/cypress/pages/index.js +9 -1
- package/cypress/pages/itemPreviewPage.js +2 -1
- package/cypress/pages/itemPreviewSettingsPage.js +101 -8
- package/cypress/pages/listMatchingPage.js +11 -16
- package/cypress/pages/listOrderingPage.js +1 -2
- package/cypress/pages/listSortingPage.js +1 -2
- package/cypress/pages/multipleSelectionPage.js +516 -14
- package/cypress/pages/passagePage.js +10 -0
- package/cypress/pages/protractorPage.js +289 -0
- package/cypress/pages/rulerPage.js +441 -0
- package/cypress/pages/selectQuestionResourceToolPage.js +9 -2
- package/cypress/pages/shortTextResponsePage.js +11 -0
- package/cypress/pages/singleSelectionGridPage.js +1 -2
- package/cypress/pages/singleSelectionPage.js +490 -31
- package/cypress/pages/studentViewPage.js +13 -0
- package/cypress/pages/textEntryMathPage.js +689 -0
- package/cypress/support/helpers/accessibility.js +2 -2
- package/cypress/support/helpers/utilities.js +54 -0
- package/package.json +3 -3
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerEditTab.js +0 -342
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +0 -218
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerEditTabTitleDescriptionAndTranscript.js +0 -187
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerHeaderSection.js +0 -73
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTab.js +0 -302
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTabPlaybackPlayer.js +0 -245
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTabSupportedFileTypes.js +0 -78
- package/cypress/e2e/ILC/AudioPlayer/audioPlayerPreviewTabTitleDescriptionAndTranscript.js +0 -248
- package/cypress/e2e/ILC/AudioResponse/audioResponseAdditionalSettings.js +0 -709
- package/cypress/e2e/ILC/AudioResponse/audioResponseAdditionalSettingsBasic.js +0 -149
- package/cypress/e2e/ILC/AudioResponse/audioResponseControlsForRecordingResponse.js +0 -308
- package/cypress/e2e/ILC/AudioResponse/audioResponseControlsResponsePlayback.js +0 -591
- package/cypress/e2e/ILC/AudioResponse/audioResponseEditTabBasicSections.js +0 -349
- package/cypress/e2e/ILC/AudioResponse/audioResponseHeaderSection.js +0 -80
- package/cypress/e2e/ILC/AudioResponse/audioResponseMinimalPreviewSection.smoke.js +0 -950
- package/cypress/e2e/ILC/AudioResponse/audioResponseScoringSection.js +0 -60
- package/cypress/e2e/ILC/AudioResponse/audioResponseStandardPreviewSection.smoke.js +0 -865
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesAdditionalSettings.js +0 -294
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesAdditionalSettingsBasic.js +0 -307
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesAdditionalSettingsRowProperties.js +0 -372
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesCategoriesSection.js +0 -275
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesEditTabScoringTypes.js +0 -147
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesGroupedSetCorrectAnswerCheckboxes.js +0 -266
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesManuallyAndNonScored.js +0 -184
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesManuallyAndNonScoredEditTabScoring.js +0 -68
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesResponseOptionsSection.js +0 -112
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesRowsSection.js +0 -304
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsAllOrNothing.smoke.js +0 -121
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -33
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -35
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -33
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachCell.smoke.js +0 -39
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachCellAlternatePointsGreaterThanCorrectPoints.js +0 -42
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachCellCorrectPointsEqualToAlternatePoints.js +0 -49
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachCellCorrectPointsGreaterThanAlternatePoints.js +0 -42
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachResponse.smoke.js +0 -39
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachResponseAlternatePointsGreaterThanCorrectPoints.js +0 -41
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachResponseCorrectPointsEqualToAlternatePoints.js +0 -47
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsPartialScoreForEachResponseCorrectPointsGreaterThanAlternatePoints.js +0 -41
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenCell.js +0 -58
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenCellsAlternatePointsGreaterThanCorrectPoints.js +0 -42
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenCellsCorrectPointsEqualToAlternatePoints.js +0 -48
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenCellsCorrectPointsGreaterThanAlternatePoints.js +0 -42
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenResponses.js +0 -58
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenResponsesAlternatePointsGreaterThanCorrectPoints.js +0 -113
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenResponsesCorrectPointsEqualToAlternatePoints.js +0 -167
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenResponsesCorrectPointsGreaterThanAlternatePoints.js +0 -111
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothing.smoke.js +0 -164
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -33
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -35
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -33
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachCell.js +0 -39
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachCellAlternatePointsGreaterThanCorrectPoints.js +0 -42
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachCellCorrectPointsEqualToAlternatePoints.js +0 -49
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachCellCorrectPointsGreaterThanAlternatePoints.js +0 -42
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachResponse.js +0 -38
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachResponseAlternatePointsGreaterThanCorrectPoints.js +0 -41
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachResponseCorrectPointsEqualToAlternatePoints.js +0 -47
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachResponseCorrectPointsGreaterThanAlternatePoints.js +0 -41
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenCell.js +0 -58
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenCellAlternatePointsGreaterThanCorrectPoints.js +0 -42
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenCellCorrectPointsEqualToAlternatePoints.js +0 -48
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenCellCorrectPointsGreaterThanAlternatePoints.js +0 -42
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenResponse.smoke.js +0 -61
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenResponseAlternatePointsGreaterThanCorrectPoints.js +0 -113
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenResponseCorrectPointsEqualToAlternatePoints.js +0 -166
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenResponseCorrectPointsGreaterThanAlternatePoints.js +0 -111
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesSetCorrectAnswerSection.js +0 -130
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesStandardSetCorrectAnswerCheckboxes.js +0 -234
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesSwitchingCases.js +0 -45
- package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettings.js +0 -432
- package/cypress/e2e/ILC/EssayResponse/essayResponseAdditionalSettingsBasic.js +0 -134
- package/cypress/e2e/ILC/EssayResponse/essayResponseCreateCustomCategory.smoke.js +0 -943
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions1.smoke.js +0 -336
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions2.js +0 -332
- package/cypress/e2e/ILC/EssayResponse/essayResponseCustomizeFormattingOptions3.js +0 -522
- package/cypress/e2e/ILC/EssayResponse/essayResponseEditCategoryFlyout.js +0 -402
- package/cypress/e2e/ILC/EssayResponse/essayResponseEditTabBasicSections.js +0 -558
- package/cypress/e2e/ILC/EssayResponse/essayResponseEquationEditor.smoke.js +0 -581
- package/cypress/e2e/ILC/EssayResponse/essayResponseEquationEditorCategories1.js +0 -290
- package/cypress/e2e/ILC/EssayResponse/essayResponseEquationEditorCategories2.js +0 -514
- package/cypress/e2e/ILC/EssayResponse/essayResponseHeaderSection.js +0 -80
- package/cypress/e2e/ILC/EssayResponse/essayResponsePreviewAddTable.js +0 -412
- package/cypress/e2e/ILC/EssayResponse/essayResponsePreviewContentsForAllViews.smoke.js +0 -79
- package/cypress/e2e/ILC/EssayResponse/essayResponsePreviewEditTable.js +0 -659
- package/cypress/e2e/ILC/EssayResponse/essayResponsePreviewHyperlink.js +0 -318
- package/cypress/e2e/ILC/EssayResponse/essayResponseScoringSection.js +0 -59
- package/cypress/e2e/ILC/EssayResponse/essayResponseSpecialCharacters.js +0 -33
- package/cypress/e2e/ILC/EssayResponseBasic/essayResponseBasicCustomizeFormattingOptions.js +0 -207
- package/cypress/e2e/ILC/EssayResponseMath/essayResponseMathCharacters.js +0 -38
- package/cypress/e2e/ILC/EssayResponseMath/essayResponseMathCreateItem.js +0 -243
- package/cypress/e2e/ILC/FeedbackScale/feedbackScaleAdditionalSettings.js +0 -162
- package/cypress/e2e/ILC/FeedbackScale/feedbackScaleAdditionalSettingsBasic.js +0 -119
- package/cypress/e2e/ILC/FeedbackScale/feedbackScaleColorPopup.js +0 -237
- package/cypress/e2e/ILC/FeedbackScale/feedbackScaleEditTab.js +0 -346
- package/cypress/e2e/ILC/FeedbackScale/feedbackScaleHeaderSection.js +0 -72
- package/cypress/e2e/ILC/FeedbackScale/feedbackScalePreviewTab.js +0 -389
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropAdditionalSettings.js +0 -356
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropAdditionalSettingsResponseAccordion.js +0 -299
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropClickAndDrop.js +0 -278
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropEditTabBasic.js +0 -198
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropEditTabScoringTypes.js +0 -107
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedEditTab.smoke.js +0 -81
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsAllOrNothingScoring.smoke.js +0 -64
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsAllOrNothingWithAlternateAnswer.js +0 -174
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsManualAndNonScoredScoring.js +0 -83
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsScoring.js +0 -68
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialDifferentWeightsWithAlternateAnswer.js +0 -91
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialEqualWeightsScoring.js +0 -66
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedOptionsPartialEqualWeightsWithAlternateAnswer.js +0 -90
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropGroupedSetCorrectAnswerCheckboxes.js +0 -283
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropHeaderSection.js +0 -84
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropScoringSectionBasic.js +0 -21
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropSetCorrectAnswerCheckboxes.js +0 -294
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropSetCorrectAnswerSection.js +0 -66
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsScoring.js +0 -52
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionPartialDifferentWeightsWithAlternateAnswer.js +0 -79
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsAllOrNothingwithAlternateAnswer.js +0 -74
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsAutoScoredAllOrNothingScoring.js +0 -133
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsManualAndNonScoredScoring.js +0 -60
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsScoring.js +0 -54
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsPartialEqualWeightsWithAlternateAnswer.js +0 -78
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropStandardOptionsSection.js +0 -66
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillInTheGapsDragAndDropSwitchingCases.js +0 -54
- package/cypress/e2e/ILC/FillInTheGapsDragAndDrop/fillIntheGapsDragAndDropAlternateAnswer.js +0 -230
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAdditionalSettings.js +0 -750
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAdditionalSettingsBasic.js +0 -423
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAllOrNothingScoring.smoke.js +0 -52
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownAllOrNothingScoringWithAlternateAnswer.js +0 -70
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownEditTabBasicSection.js +0 -591
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownEditTabScoringSection.js +0 -131
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownHeaderSection.js +0 -126
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownManuallyAndNonScoredScoring.js +0 -57
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeights.js +0 -61
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialDifferentWeightsWithAlternateAnswer.js +0 -78
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeights.js +0 -61
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownPartialEqualWeightsWithAlternateAnswer.js +0 -75
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownRandomizeOptions.js +0 -86
- package/cypress/e2e/ILC/FillInTheGapsDropdown/fillInTheGapsDropdownSetCorrectAnswerSection.js +0 -170
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAddResponseContainer.smoke.js +0 -236
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsAnswerNumeration.js +0 -206
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsBasic.js +0 -222
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettingsResponseAccordions.js +0 -366
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingScoring.smoke.js +0 -361
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAllOrNothingWithAlternateAnswer.js +0 -630
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditAriaLabelCheckbox.smoke.js +0 -137
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownImageProperties.smoke.js +0 -171
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsWithAlternateAnswer.js +0 -867
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsWithAlternateAnswer.js +0 -766
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPreviewTab.smoke.js +0 -77
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownSupportedFileTypes.js +0 -86
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAddResponseContainer.js +0 -221
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettings.js +0 -450
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsBasic.js +0 -200
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsCustomSpecialCharachters.js +0 -120
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsMultilineResponse.js +0 -188
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsResponseAccordions.js +0 -431
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAdditionalSettingsStudentResponseAreaAndLayout.js +0 -263
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAllOrNothingScoring.smoke.js +0 -191
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAllOrNothingWithAlternateAnswer.js +0 -613
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextAllOrNothingWithAlternateAnswerMatchFromAllResponsesTrue.js +0 -172
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextConditionalCheckboxes.js +0 -203
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextEditAriaLabelCheckbox.smoke.js +0 -137
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextEditTabBasicSection.smoke.js +0 -146
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextEditTabScoringSection.js +0 -227
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextHeaderSection.js +0 -109
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextImageProperties.js +0 -156
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextManualAndNonScored.js +0 -157
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextMatchFromAllResponses.js +0 -162
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsScoring.js +0 -202
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsWithAlternateAnswer.js +0 -846
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialDifferentWeightsWithAlternateAnswerMatchFromAllResponsesTrue.js +0 -171
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsScoring.js +0 -200
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsWithAlternateAnswer.js +0 -738
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPartialEqualWeightsWithAlternateAnswerMatchFromAllResponsesTrue.js +0 -168
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPreviewContentsForAllViews.smoke.js +0 -146
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextPreviewTab.smoke.js +0 -66
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextSetCorrectAnswerSection.js +0 -113
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextShowCorrectAnswerForAllView.smoke.js +0 -155
- package/cypress/e2e/ILC/FillInTheGapsOverImageText/fillInTheGapsOverImageTextSupportedFileTypes.js +0 -86
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsAdvanceSettingsForAllResponseAreas.js +0 -528
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsBasic.js +0 -263
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsResponseAccordions.js +0 -734
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAdditionalSettingsStudentResponseAreaAndLayout.js +0 -603
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAllOrNothingWithAlternateAnswer.js +0 -58
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAlternateAnswer.js +0 -104
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextAutoScoredScoring.smoke.js +0 -43
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextCaseSensitiveAndIgnoreExtraSpacesCheckboxes.js +0 -174
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextEditTabBasicSections.js +0 -176
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextEditTabScoringSection.js +0 -150
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextHeaderSection.js +0 -112
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextManuallyAndNonScoredScoring.js +0 -49
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeights.js +0 -49
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialDifferentWeightsWithAlternateAnswer.js +0 -62
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeights.js +0 -49
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextPartialEqualWeightsWithAlternateAnswer.js +0 -60
- package/cypress/e2e/ILC/FillInTheGapsText/fillInTheGapsTextSetCorrectAnswerSection.js +0 -70
- package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +0 -213
- package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -217
- package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +0 -215
- package/cypress/e2e/ILC/Highlight/HighlightScoring/allOrNothingScoring.smoke.js +0 -191
- package/cypress/e2e/ILC/Highlight/HighlightScoring/highlightBasicScoringForTextSelectionTypes.smoke.js +0 -462
- package/cypress/e2e/ILC/Highlight/HighlightScoring/manuallyAndNonScored.js +0 -162
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsAlternatePointsMoreThanCorrectPoints.js +0 -316
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -387
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsCorrectPointsMoreThanAlternatePoints.js +0 -316
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialDifferentWeightsScoring.js +0 -250
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsAlternatePointsMoreThanCorrectPoints.js +0 -250
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsCorrectPointEqualToAlternatePoints.js +0 -268
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsCorrectPointsMoreThanAlternatePoints.js +0 -250
- package/cypress/e2e/ILC/Highlight/HighlightScoring/partialEqualWeightsScoring.js +0 -231
- package/cypress/e2e/ILC/Highlight/highlightAdditionalSettingsBasic.js +0 -220
- package/cypress/e2e/ILC/Highlight/highlightAdditionalSettingsMaximumNumberOfAnswers.js +0 -135
- package/cypress/e2e/ILC/Highlight/highlightColorLibraryFlyout.smoke.js +0 -148
- package/cypress/e2e/ILC/Highlight/highlightEditTabScoringSection.js +0 -362
- package/cypress/e2e/ILC/Highlight/highlightHeaderSection.js +0 -91
- package/cypress/e2e/ILC/Highlight/highlightQuestionInstructionsAndQuestion.smoke.js +0 -185
- package/cypress/e2e/ILC/Highlight/highlightScoringSectionBasic.js +0 -21
- package/cypress/e2e/ILC/Highlight/highlightSetCorrectAnswerSection.js +0 -204
- package/cypress/e2e/ILC/Highlight/highlightTextSelectionDropdownAndHighlightOptionsSection.js +0 -175
- package/cypress/e2e/ILC/Highlight/highlightTextSelectionTypeInPreviewTab.js +0 -237
- package/cypress/e2e/ILC/Highlight/highlightTextSelectionTypeInSetCorrectAnswerSection.js +0 -341
- package/cypress/e2e/ILC/Highlight/highlightTextSelectionTypesInHighlightOptionsSection.js +0 -375
- package/cypress/e2e/ILC/HighlightImage/highlightImageAdditionalSettings.js +0 -219
- package/cypress/e2e/ILC/HighlightImage/highlightImageAdditionalSettingsBasic.js +0 -246
- package/cypress/e2e/ILC/HighlightImage/highlightImageAllOrNothingScoring.js +0 -235
- package/cypress/e2e/ILC/HighlightImage/highlightImageAllOrNothingWithAlternateAnswer.js +0 -810
- package/cypress/e2e/ILC/HighlightImage/highlightImageCustomizeHighlightProperties.js +0 -669
- package/cypress/e2e/ILC/HighlightImage/highlightImageCustomizeHighlightPropertiesFunctionality.js +0 -356
- package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabBasic.smoke.js +0 -138
- package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabHighlightSectionContents.js +0 -318
- package/cypress/e2e/ILC/HighlightImage/highlightImageEditTabScoring.js +0 -407
- package/cypress/e2e/ILC/HighlightImage/highlightImageHeaderSection.js +0 -86
- package/cypress/e2e/ILC/HighlightImage/highlightImageManuallyAndNonScoredScoring.js +0 -176
- package/cypress/e2e/ILC/HighlightImage/highlightImagePartialDifferentWeightsScoring.js +0 -209
- package/cypress/e2e/ILC/HighlightImage/highlightImagePartialDifferentWeightsWithAlternateAnswer.js +0 -895
- package/cypress/e2e/ILC/HighlightImage/highlightImagePartialEqualWeightsScoring.js +0 -208
- package/cypress/e2e/ILC/HighlightImage/highlightImagePartialEqualWeightsWithAlternateAnswer.js +0 -894
- package/cypress/e2e/ILC/HighlightImage/highlightImagePreviewTab.smoke.js +0 -88
- package/cypress/e2e/ILC/HighlightImage/highlightImageSetCorrectAnswerCheckboxes.js +0 -244
- package/cypress/e2e/ILC/HighlightImage/highlightImageSetCorrectAnswerSection.js +0 -186
- package/cypress/e2e/ILC/HighlightImage/highlightImageSupportedFileTypes.js +0 -86
- package/cypress/e2e/ILC/HighlightImage/highlightImageToolsFunctionalityEditTab.js +0 -160
- package/cypress/e2e/ILC/HighlightImage/highlightImageToolsFunctionalityPreviewTab.smoke.js +0 -163
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -28
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -30
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -28
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsAllOrNothingScoring.smoke.js +0 -122
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsManualAndNonScoredScoring.js +0 -49
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialDifferentWeightsScoring.js +0 -48
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialDifferrentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -29
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialDifferrentWeightsCorrectPointsEqualToAlternatePoints.js +0 -35
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialDifferrentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -29
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -30
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -36
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -30
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/groupedOptionsPartialEqualWeightsScorings.js +0 -48
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -28
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -30
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -28
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsAllOrNothingScoring.js +0 -113
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsManualAndNonScoredScoring.js +0 -48
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -29
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -35
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -29
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialDifferentWeightsScoring.js +0 -48
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialEqualWeightsAlternatePointsMoreThanCorrectPoints.js +0 -29
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -35
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialEqualWeightsCorrectPointsMoreThanAlternatePoints.js +0 -29
- package/cypress/e2e/ILC/ListMatching/ListMatchingScoring/standardOptionsPartialEqualWeightsScoring.js +0 -48
- package/cypress/e2e/ILC/ListMatching/listMatchingAdditionalSettingsAnswerNumerationAndResponseOptionPlacement.js +0 -196
- package/cypress/e2e/ILC/ListMatching/listMatchingAdditionalSettingsBasic.js +0 -210
- package/cypress/e2e/ILC/ListMatching/listMatchingAdditionalSettingsStemAndResponseColumnHeader.js +0 -206
- package/cypress/e2e/ILC/ListMatching/listMatchingAlternateAnswer.smoke.js +0 -197
- package/cypress/e2e/ILC/ListMatching/listMatchingClickAndDrop.js +0 -644
- package/cypress/e2e/ILC/ListMatching/listMatchingEditTabScoringTypes.js +0 -105
- package/cypress/e2e/ILC/ListMatching/listMatchingGroupedOptionsSection.smoke.js +0 -211
- package/cypress/e2e/ILC/ListMatching/listMatchingGroupedOptionsSetCorrectAnswersCheckboxesEditTab.js +0 -139
- package/cypress/e2e/ILC/ListMatching/listMatchingGroupedOptionsSetCorrectAnswersCheckboxesPreviewTab.js +0 -227
- package/cypress/e2e/ILC/ListMatching/listMatchingHeaderSection.js +0 -95
- package/cypress/e2e/ILC/ListMatching/listMatchingQuestionInstructionsAndStemsSection.smoke.js +0 -254
- package/cypress/e2e/ILC/ListMatching/listMatchingScoringSectionBasic.js +0 -21
- package/cypress/e2e/ILC/ListMatching/listMatchingSetCorrectAnswerSectionBasic.js +0 -40
- package/cypress/e2e/ILC/ListMatching/listMatchingStandardOptionsSection.js +0 -233
- package/cypress/e2e/ILC/ListMatching/listMatchingStandardOptionsSetCorrectAnswerCheckboxesEditTab.js +0 -113
- package/cypress/e2e/ILC/ListMatching/listMatchingStandardOptionsSetCorrectAnswerCheckboxesPreviewTab.smoke.js +0 -191
- package/cypress/e2e/ILC/ListMatching/listMatchingSwitchingCases.js +0 -47
- package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -246
- package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -247
- package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -247
- package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/allOrNothingScoring.smoke.js +0 -180
- package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/manuallyAndNonScoredScoring.js +0 -160
- package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -316
- package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -287
- package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -317
- package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialDifferentWeightsScoring.js +0 -192
- package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -286
- package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -258
- package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -287
- package/cypress/e2e/ILC/ListOrdering/ListOrderingScoring/partialEqualWeightsScoring.js +0 -190
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsAnswerNumerationAndOptionLabel.js +0 -295
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsBasic.js +0 -300
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsOptionStyleDropdown.js +0 -302
- package/cypress/e2e/ILC/ListOrdering/listOrderingAdditionalSettingsSetPointsPopup.js +0 -269
- package/cypress/e2e/ILC/ListOrdering/listOrderingEditTabBasicSection.js +0 -316
- package/cypress/e2e/ILC/ListOrdering/listOrderingEditTabScoringSection.js +0 -256
- package/cypress/e2e/ILC/ListOrdering/listOrderingHeaderSection.js +0 -83
- package/cypress/e2e/ILC/ListOrdering/listOrderingSetCorrectAnswerCheckboxes.js +0 -208
- package/cypress/e2e/ILC/ListOrdering/listOrderingSetCorrectAnswerSection.js +0 -172
- package/cypress/e2e/ILC/ListSorting/ListSortingScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -261
- package/cypress/e2e/ILC/ListSorting/ListSortingScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -261
- package/cypress/e2e/ILC/ListSorting/ListSortingScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -261
- package/cypress/e2e/ILC/ListSorting/ListSortingScoring/allOrNothingScoring.smoke.js +0 -191
- package/cypress/e2e/ILC/ListSorting/ListSortingScoring/manuallyAndNonScoredScoring.js +0 -171
- package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -337
- package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -302
- package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -336
- package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialDifferentWeightsScoring.js +0 -210
- package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -306
- package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -271
- package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -305
- package/cypress/e2e/ILC/ListSorting/ListSortingScoring/partialEqualWeightsScoring.js +0 -207
- package/cypress/e2e/ILC/ListSorting/listSortingAdditionalSettingsAnswerNumerationAndOptionStyleDropdown.js +0 -319
- package/cypress/e2e/ILC/ListSorting/listSortingAdditionalSettingsBasic.js +0 -326
- package/cypress/e2e/ILC/ListSorting/listSortingAdditionalSettingsOptionLabelSection.js +0 -202
- package/cypress/e2e/ILC/ListSorting/listSortingClickAndDrop.js +0 -456
- package/cypress/e2e/ILC/ListSorting/listSortingEditTabBasicSection.js +0 -165
- package/cypress/e2e/ILC/ListSorting/listSortingEditTabScoringSection.js +0 -259
- package/cypress/e2e/ILC/ListSorting/listSortingHeaderSection.js +0 -89
- package/cypress/e2e/ILC/ListSorting/listSortingOptionsSection.js +0 -287
- package/cypress/e2e/ILC/ListSorting/listSortingSetCorrectAnswerCheckboxes.smoke.js +0 -269
- package/cypress/e2e/ILC/ListSorting/listSortingSetCorrectAnswerSection.js +0 -168
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionAdditionalSettingsGridOptions.js +0 -351
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAdditionalSettingsBasic.js +0 -258
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAdditionalSettingsQuestionStem.js +0 -250
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -263
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -263
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -261
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridAutoScoredScoring.smoke.js +0 -273
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabBasicSection.js +0 -588
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridEditTabScoringSection.js +0 -297
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridHeaderSection.js +0 -98
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridManuallyAndNonScoredScoring.js +0 -206
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeights.js +0 -222
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -339
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -309
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -340
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeights.js +0 -257
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -312
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -284
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -315
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridRandomizeOptions.js +0 -124
- package/cypress/e2e/ILC/MultipleSelectionGrid/multipleSelectionGridSetCorrectAnswerSection.js +0 -175
- package/cypress/e2e/ILC/Passage/multipageContentEditTab.js +0 -242
- package/cypress/e2e/ILC/Passage/passageAdditionalSettings.js +0 -99
- package/cypress/e2e/ILC/Passage/passageEditTab.js +0 -241
- package/cypress/e2e/ILC/Passage/passageHeaderSection.js +0 -73
- package/cypress/e2e/ILC/Passage/passagePreviewTab.js +0 -246
- package/cypress/e2e/ILC/ReadingRuler/readingRulerEditTabBasicsSection.js +0 -185
- package/cypress/e2e/ILC/ReadingRuler/readingRulerHeaderSection.js +0 -55
- package/cypress/e2e/ILC/ReadingRuler/readingRulerPreviewTab.js +0 -257
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAdditionalSettings.js +0 -376
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAdditionalSettingsBasic.js +0 -336
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseAutoScoredScoring.smoke.js +0 -407
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseConditionalCheckboxes.js +0 -154
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseContainsConditionalRadioButton.js +0 -166
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseCustomSpecialCharacters.js +0 -167
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseEditTabScoringSection.js +0 -87
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseExactConditionalRadioButton.js +0 -157
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseHeaderSection.js +0 -109
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseManuallyScoredNonScoredScoringSection.js +0 -115
- package/cypress/e2e/ILC/ShortTextResponse/shortTextResponseSetCorrectAnswerSection.js +0 -137
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAdditionalSettingsBasic.js +0 -233
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -173
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsEqualToAlternatePoints.js +0 -179
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -174
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridAutoScoredScoring.smoke.js +0 -208
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabBasicSection.js +0 -589
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridEditTabScoringSection.js +0 -282
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridHeaderSection.js +0 -97
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridManuallyAndNonScored.js +0 -146
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridOptionsAdditionalSettings.js +0 -345
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeights.js +0 -189
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -247
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsEqualToAlternatePoints.js +0 -219
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialDifferentWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -246
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeights.js +0 -191
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsAlternatePointsGreaterThanCorrectPoints.js +0 -225
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsEqualToAlternatePoints.js +0 -197
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridPartialEqualWeightsCorrectPointsGreaterThanAlternatePoints.js +0 -225
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridQuestionStemAdditionalSettings.js +0 -257
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridRandomizeOptions.js +0 -122
- package/cypress/e2e/ILC/SingleSelectionGrid/singleSelectionGridSetCorrectAnswerSection.js +0 -183
- package/cypress/e2e/ILC/UploadResponse/uploadResponseAdditionalSettings.js +0 -179
- package/cypress/e2e/ILC/UploadResponse/uploadResponseEditTabBasicSections.js +0 -225
- package/cypress/e2e/ILC/UploadResponse/uploadResponseHeaderSection.js +0 -66
- package/cypress/e2e/ILC/UploadResponse/uploadResponsePreview.smoke.js +0 -334
- package/cypress/e2e/ILC/UploadResponse/uploadResponseScoringSection.js +0 -60
- package/cypress/e2e/ILC/UploadResponse/uplodResponsePreviewUploadedFileProperties.js +0 -250
- package/cypress/e2e/ILC/VideoResponse/videoResponseAdditionalSettings.js +0 -135
- package/cypress/e2e/ILC/VideoResponse/videoResponseAdditionalSettingsBasic.js +0 -87
- package/cypress/e2e/ILC/VideoResponse/videoResponseEditTabBasic.js +0 -78
- package/cypress/e2e/ILC/VideoResponse/videoResponseHeaderSection.js +0 -74
- package/cypress/e2e/ILC/VideoResponse/videoResponsePreviewTab.smoke.js +0 -637
- package/cypress/e2e/ILC/VideoResponse/videoResponseScoringSection.js +0 -76
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownAdditionalSettings.js +0 -247
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownConditionalCheckboxes.js +0 -258
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditTabBasicSection.js +0 -132
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownEditTabScoringSection.js +0 -237
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownHeaderSection.js +0 -113
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownManualAndNonScoredScoring.js +0 -165
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownOptionsForResponse.js +0 -303
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialDifferentWeightsScoring.js +0 -378
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownPartialEqualWeightsScoring.js +0 -377
- package/cypress/e2e/ILC/fillInTheGapsOverImageDropdown/fillInTheGapsOverImageDropdownSetCorrectAnswerSection.js +0 -117
- package/cypress/pages/components/dragAndDropResponseOptions.js +0 -739
- package/cypress/pages/components/dragAndDropSetCorrectAnswerCheckboxComponents.js +0 -124
- package/cypress/pages/components/draggableOptionsContainer.js +0 -859
- package/cypress/pages/components/mcqOptionsComponent.js +0 -263
- package/cypress/pages/components/mcqPreviewComponents.js +0 -78
- package/cypress/pages/components/mcqQuestionCommonComponents.js +0 -265
- package/cypress/pages/components/mcqScoringComponent.js +0 -120
- package/cypress/pages/components/mcqSetCorrectAnswerSection.js +0 -143
@@ -0,0 +1,1335 @@
|
|
1
|
+
import { drawingResponsePage, itemPreviewPage } from "../../../pages";
|
2
|
+
import { colorPopupComponent } from "../../../pages/components";
|
3
|
+
import { drawingToolbarOptionsAndAdditionalOptions } from "../../../fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters";
|
4
|
+
import { specialCharacters } from "../../../fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters";
|
5
|
+
import { mathCharacters } from "../../../fixtures/drawingToolbarOptionsAdditionalOptionsAndSpecialAndMathCharacters";
|
6
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
7
|
+
import utilities from "../../../support/helpers/utilities";
|
8
|
+
const css = Cypress.env('css');
|
9
|
+
|
10
|
+
const previewContentsViews = ['Question preview', 'Item view', 'Item preview', 'Student view'];
|
11
|
+
const views = utilities.getViews(previewContentsViews);
|
12
|
+
var itemReferenceID = "";
|
13
|
+
|
14
|
+
const thickness = ['5', '10', '15', '20', '25'];
|
15
|
+
const fontSizePopupOptions = { 'Tiny': '12px', 'Small': '14px', 'Default': '16px', 'Normal': '18px', 'Big': '22px', 'Huge': '26px' };
|
16
|
+
const defaultUnselectedEditTabCustomizeOptionTiles = ['Item eraser', 'Rectangle', 'Ellipse', 'Polygon', 'Compass'];
|
17
|
+
const lineTypeOptions = ['Line', 'Dashed Line', 'Dotted Line', 'Single Arrow', 'Double Arrow'];
|
18
|
+
|
19
|
+
describe('Preview tab contents - primary toolbar options, secondary toolbar options', () => {
|
20
|
+
before(() => {
|
21
|
+
cy.loginAs('admin');
|
22
|
+
});
|
23
|
+
|
24
|
+
views.forEach((view) => {
|
25
|
+
describe('Primary toolbar options', { tags: 'smoke' }, () => {
|
26
|
+
abortEarlySetup();
|
27
|
+
before(() => {
|
28
|
+
switch (view) {
|
29
|
+
case 'Question preview':
|
30
|
+
cy.log('Navigating to drawing response question type');
|
31
|
+
drawingResponsePage.steps.navigateToCreateQuestion('Drawing Response');
|
32
|
+
cy.barsPreLoaderWait();
|
33
|
+
drawingResponsePage.steps.addQuestionInstructions();
|
34
|
+
drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
|
35
|
+
drawingResponsePage.steps.selectToolbarOptionsAndControlsFormattingOptionsTiles(defaultUnselectedEditTabCustomizeOptionTiles);
|
36
|
+
drawingResponsePage.steps.selectOptionsTiles(drawingToolbarOptionsAndAdditionalOptions.additionalOptions);
|
37
|
+
drawingResponsePage.steps.allotPoints(2);
|
38
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
39
|
+
break;
|
40
|
+
case 'Item view':
|
41
|
+
cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID[0])}`);
|
42
|
+
break;
|
43
|
+
case 'Item preview':
|
44
|
+
cy.visit(`/item-engine/demo/edit-item/${utilities.base64Encoding(itemReferenceID[0])}`);
|
45
|
+
itemPreviewPage.steps.switchToPreviewTab();
|
46
|
+
break;
|
47
|
+
case 'Student view':
|
48
|
+
cy.visit(`/item-engine/demo/render-item/student-view/${utilities.base64Encoding(itemReferenceID[0])}`);
|
49
|
+
break;
|
50
|
+
};
|
51
|
+
});
|
52
|
+
|
53
|
+
if (view === 'Question preview') {
|
54
|
+
after(() => {
|
55
|
+
drawingResponsePage.steps.clickOnSaveQuestionButton();
|
56
|
+
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
57
|
+
itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
|
58
|
+
});
|
59
|
+
};
|
60
|
+
|
61
|
+
it(`By default the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].displayName} toolbar option should be in selected state and all other toolbar options should not be in selected state`, () => {
|
62
|
+
let defaultUnselectedPreviewTabToolbarOptionsArray = Object.values(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions.map((icon) => icon.displayName));
|
63
|
+
defaultUnselectedPreviewTabToolbarOptionsArray = defaultUnselectedPreviewTabToolbarOptionsArray.slice(0, 1).concat(defaultUnselectedPreviewTabToolbarOptionsArray.slice(2, 19))
|
64
|
+
drawingResponsePage.steps.verifyToolbarOptionIsNotSelectedInPreviewTab(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[0].displayName);
|
65
|
+
drawingResponsePage.steps.verifyToolbarOptionIsSelectedInPreviewTab(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].displayName);
|
66
|
+
defaultUnselectedPreviewTabToolbarOptionsArray.forEach((toolbarOption) => {
|
67
|
+
drawingResponsePage.steps.verifyToolbarOptionIsNotSelectedInPreviewTab(toolbarOption);
|
68
|
+
});
|
69
|
+
});
|
70
|
+
|
71
|
+
//Browser level tooltips are implemented here, will not be able to check till https://redmine.zeuslearning.com/issues/555441 is resolved
|
72
|
+
it.skip('All the options in the toolbar should be visible to the user and when user hovers over the toolbar options, their names should be displayed in a tooltip', () => {
|
73
|
+
drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions.forEach((toolbarOption) => {
|
74
|
+
utilities.hoverOverElement(drawingResponsePage.previewTabDrawingToolbarOption(toolbarOption.displayName));
|
75
|
+
utilities.verifyTextContent(drawingResponsePage.previewTabToolbarOptionTooltip(), `${toolbarOption.tooltipText}`);
|
76
|
+
utilities.hoverAwayFromElement(drawingResponsePage.previewTabDrawingToolbarOption(toolbarOption.displayName));
|
77
|
+
});
|
78
|
+
});
|
79
|
+
|
80
|
+
//Will not be able to cover image options as they will open the windows explorer popup and closing the popup is not possible
|
81
|
+
it('When user clicks on the drawing toolbar options, then the option name and its respective secondary toolbar options should be displayed in the secondary toolbar', () => {
|
82
|
+
drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions.forEach((toolbarOption) => {
|
83
|
+
if (toolbarOption.secondaryToolbarOptions !== undefined) {
|
84
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(toolbarOption.displayName);
|
85
|
+
utilities.verifyInnerText(drawingResponsePage.previewTabToolbarOptionName(), toolbarOption.displayName);
|
86
|
+
drawingResponsePage.steps.verifyDisplayedSecondaryToolbarOptionsInPreviewTab(toolbarOption.secondaryToolbarOptions);
|
87
|
+
}
|
88
|
+
//Verifying that secondary toolbar options are not displayed for other toolbar options
|
89
|
+
else if (toolbarOption.toolType === 'action' || toolbarOption.toolType === 'tool') {
|
90
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(toolbarOption.displayName);
|
91
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(), 'notExist');
|
92
|
+
};
|
93
|
+
});
|
94
|
+
});
|
95
|
+
|
96
|
+
it('CSS of selected and deselected toolbar option and tooltip', { tags: 'css' }, () => {
|
97
|
+
//Selected state
|
98
|
+
utilities.verifyCSS(drawingResponsePage.previewTabDrawingToolbarOption('Item eraser'), {
|
99
|
+
'background-color': css.color.selectToolbarOptionBg
|
100
|
+
});
|
101
|
+
utilities.verifyCSS(drawingResponsePage.previewTabDrawingToolbarOption('Item eraser').find('path'), {
|
102
|
+
'fill': css.color.activeButtons
|
103
|
+
});
|
104
|
+
//Unselected state
|
105
|
+
utilities.verifyCSS(drawingResponsePage.previewTabDrawingToolbarOption('Text'), {
|
106
|
+
'background-color': css.color.defaultToolbarOptionBg
|
107
|
+
});
|
108
|
+
utilities.verifyCSS(drawingResponsePage.previewTabDrawingToolbarOption('Text').find('path'), {
|
109
|
+
'fill': css.color.activeButtons
|
110
|
+
});
|
111
|
+
//Hover state will fail as browser level tooltips are applied
|
112
|
+
cy.log('Pre-step: Hover on element to get tooltip');
|
113
|
+
utilities.hoverOverElement(drawingResponsePage.previewTabDrawingToolbarOption('Select'));
|
114
|
+
utilities.verifyCSS(drawingResponsePage.previewTabDrawingToolbarOption('Pencil'), {
|
115
|
+
'background-color': css.color.selectToolbarOptionBg
|
116
|
+
});
|
117
|
+
utilities.verifyCSS(drawingResponsePage.previewTabToolbarOptionTooltip(), {
|
118
|
+
'background-color': css.color.tooltipBg
|
119
|
+
});
|
120
|
+
utilities.verifyCSS(drawingResponsePage.previewTabToolbarOptionTooltip().find('p').eq(0), {
|
121
|
+
'color': css.color.whiteText,
|
122
|
+
'font-size': css.fontSize.small,
|
123
|
+
'font-weight': css.fontWeight.semibold
|
124
|
+
});
|
125
|
+
utilities.verifyCSS(drawingResponsePage.previewTabToolbarOptionTooltip().find('p').eq(1), {
|
126
|
+
'color': css.color.whiteText,
|
127
|
+
'font-size': css.fontSize.small,
|
128
|
+
'font-weight': css.fontWeight.regular
|
129
|
+
});
|
130
|
+
cy.log('Post-step: Hover away from element to get tooltip');
|
131
|
+
utilities.hoverAwayFromElement(drawingResponsePage.previewTabDrawingToolbarOption('Select'));
|
132
|
+
utilities.verifyCSS(drawingResponsePage.previewTabToolbarOptionName(), {
|
133
|
+
'color': css.color.labels,
|
134
|
+
'font-size': css.fontSize.normal,
|
135
|
+
'font-weight': css.fontWeight.semibold
|
136
|
+
});
|
137
|
+
});
|
138
|
+
|
139
|
+
it('Accessibility of toolbar options', { tags: 'a11y' }, () => {
|
140
|
+
cy.checkAccessibility(drawingResponsePage.previewTabDrawingToolbarWrapper().parents('drawing-tool'));
|
141
|
+
});
|
142
|
+
});
|
143
|
+
});
|
144
|
+
|
145
|
+
describe('Preview tab - \'Insert image\'', { tags: 'smoke' }, () => {
|
146
|
+
abortEarlySetup();
|
147
|
+
before(() => {
|
148
|
+
cy.log('Navigating to drawing response question type');
|
149
|
+
drawingResponsePage.steps.navigateToCreateQuestion('Drawing Response');
|
150
|
+
cy.barsPreLoaderWait();
|
151
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
152
|
+
});
|
153
|
+
|
154
|
+
it('When user selects \'Insert image\' option then the canvas should have text \'Upload, or drag and drop, an image from your device.\' should be displayed', () => {
|
155
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
|
156
|
+
drawingResponsePage.steps.verifyInsertImageContainerIsVisible();
|
157
|
+
utilities.verifyInnerText(drawingResponsePage.insertImageContainerTitle(), 'Upload, or drag and drop, an image from your device.');
|
158
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.insertImageContainerTitle(), 'visible');
|
159
|
+
});
|
160
|
+
|
161
|
+
it('\'Only JPEG, PNG and GIF file formats will be accepted. Maximum file size - 5MB\' helptext should be displayed on the canvas', () => {
|
162
|
+
utilities.verifyInnerText(drawingResponsePage.insertImageContainerHelptext(), 'Only JPEG, PNG and GIF file formats will be accepted.\nMaximum file size - 5MB');
|
163
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.insertImageContainerHelptext(), 'visible');
|
164
|
+
});
|
165
|
+
|
166
|
+
it('\'Select image\' button and a \'Close\' button should be displayed', () => {
|
167
|
+
utilities.verifyInnerText(drawingResponsePage.insertImageContainerSelectButton(), 'Select image');
|
168
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.insertImageContainerSelectButton(), 'visible');
|
169
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.insertImageContainerCloseButton(), 'visible');
|
170
|
+
});
|
171
|
+
|
172
|
+
it('User should be able to upload an image', () => {
|
173
|
+
drawingResponsePage.steps.uploadFile('uploads/image.png');
|
174
|
+
});
|
175
|
+
|
176
|
+
it('\'Uploading files. Please wait...\' should be displayed along with the file name when the image is being uploaded', () => {
|
177
|
+
drawingResponsePage.steps.verifyUploadingFilesMessage('image.png', '104KB');
|
178
|
+
drawingResponsePage.steps.verifyInsertImageContainerNotExist();
|
179
|
+
});
|
180
|
+
|
181
|
+
it('User should be able to attach multiple files at once among the supported file types', () => {
|
182
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
|
183
|
+
drawingResponsePage.steps.uploadFile(['uploads/sample.jpg', 'uploads/sample.gif']);
|
184
|
+
drawingResponsePage.steps.verifyInsertImageContainerNotExist();
|
185
|
+
});
|
186
|
+
|
187
|
+
it('When the user tries to upload an image an image more than 5mb then an error should be displayed \'The following files were rejected *filename* is too large. The maximum file size is 5MB\'', () => {
|
188
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[5].displayName);
|
189
|
+
drawingResponsePage.steps.uploadFile('uploads/20mbFile.png');
|
190
|
+
drawingResponsePage.steps.verifyImageContainerErrorMessage('20mbFile.png');
|
191
|
+
drawingResponsePage.steps.verifyInsertImageContainerIsVisible();
|
192
|
+
});
|
193
|
+
});
|
194
|
+
|
195
|
+
//Failing due to https://redmine.zeuslearning.com/issues/555008
|
196
|
+
describe('Preview tab - secondary toolbar option - \'Special characters\' - content and functionality', { tags: 'smoke' }, () => {
|
197
|
+
abortEarlySetup();
|
198
|
+
before(() => {
|
199
|
+
cy.log('Navigating to drawing response question type');
|
200
|
+
drawingResponsePage.steps.navigateToCreateQuestion('Drawing Response');
|
201
|
+
cy.barsPreLoaderWait();
|
202
|
+
|
203
|
+
});
|
204
|
+
|
205
|
+
it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]} secondary toolbar option should not be displayed`, () => {
|
206
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
207
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
|
208
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]), 'notExist');
|
209
|
+
});
|
210
|
+
|
211
|
+
it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]} secondary toolbar option should be displayed`, () => {
|
212
|
+
drawingResponsePage.steps.switchToEditTab();
|
213
|
+
drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
|
214
|
+
drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[0]}`]);
|
215
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
216
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
|
217
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]), 'visible');
|
218
|
+
});
|
219
|
+
|
220
|
+
it('By default the \'Special characters\' secondary toolbar option should be in deselected state', () => {
|
221
|
+
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
222
|
+
});
|
223
|
+
|
224
|
+
it('CSS of \'Special characters\' secondary toolbar option in deselected state', { tags: 'css' }, () => {
|
225
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]), {
|
226
|
+
'background-color': css.color.defaultToolbarOptionBg
|
227
|
+
});
|
228
|
+
});
|
229
|
+
|
230
|
+
it('When user clicks on \'Special characters\' secondary toolbar option, then the \'Special characters\' popup should be displayed with \'Special characters\' title and a \'Close\' button', () => {
|
231
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]);
|
232
|
+
drawingResponsePage.steps.verifySecondaryPopupExist();
|
233
|
+
drawingResponsePage.steps.verifySecondaryOptionCharactersPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]);
|
234
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.charactersPopupCloseButton(), 'visible');
|
235
|
+
});
|
236
|
+
|
237
|
+
it('CSS of \'Special characters\' secondary toolbar option in selected state', { tags: 'css' }, () => {
|
238
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[0]), {
|
239
|
+
'background-color': css.color.secondaryBtnBorder
|
240
|
+
});
|
241
|
+
});
|
242
|
+
|
243
|
+
it('All categories and accordions should be displayed in the popup', () => {
|
244
|
+
drawingResponsePage.steps.verifySpecialCharactersPopupCategoryTitlesAndAccordions(specialCharacters);
|
245
|
+
});
|
246
|
+
|
247
|
+
it('By default the \'Spanish\' category accordion should be in expanded state and all other accordions should be in collapsed state.', () => {
|
248
|
+
drawingResponsePage.steps.verifySpecialCharactersPopupCategoryAccordionIsExpanded(0);
|
249
|
+
for (let index = 1; index < specialCharacters.length; index++) {
|
250
|
+
drawingResponsePage.steps.verifySpecialCharactersPopupCategoryAccordionIsCollapsed(index);
|
251
|
+
};
|
252
|
+
});
|
253
|
+
|
254
|
+
it('The \'Spanish\' category accordion should display all its symbols', () => {
|
255
|
+
drawingResponsePage.steps.verifySpecialCharactersPopupCategorySymbols(0, specialCharacters[0].symbols);
|
256
|
+
});
|
257
|
+
|
258
|
+
it('When user clicks on the expanded \'Spanish\' category accordion, then the accordion should be collapsed.', () => {
|
259
|
+
drawingResponsePage.steps.clickOnSpecialCharactersCategoryAccordion(0);
|
260
|
+
drawingResponsePage.steps.verifySpecialCharactersPopupCategoryAccordionIsCollapsed(0);
|
261
|
+
});
|
262
|
+
|
263
|
+
it('When user clicks on the rest of the special character categories, then their category accordions should expand and display all the symbols', () => {
|
264
|
+
for (let index = 1; index < specialCharacters.length; index++) {
|
265
|
+
drawingResponsePage.steps.clickOnSpecialCharactersCategoryAccordion(index);
|
266
|
+
drawingResponsePage.steps.verifySpecialCharactersPopupCategoryAccordionIsExpanded(index);
|
267
|
+
drawingResponsePage.steps.verifySpecialCharactersPopupCategorySymbols(index, specialCharacters[index].symbols);
|
268
|
+
};
|
269
|
+
});
|
270
|
+
|
271
|
+
it('User should be able to view two expanded category accordions simultaneously', () => {
|
272
|
+
drawingResponsePage.steps.verifySpecialCharactersPopupCategoryAccordionIsExpanded(1);
|
273
|
+
drawingResponsePage.steps.verifySpecialCharactersPopupCategoryAccordionIsExpanded(2);
|
274
|
+
});
|
275
|
+
|
276
|
+
it('When user clicks on any category icon, then the category flyout should stay open', () => {
|
277
|
+
drawingResponsePage.steps.clickOnCharacterPopupSymbol(specialCharacter[0].symbols[0]);
|
278
|
+
drawingResponsePage.steps.verifySecondaryPopupExist();
|
279
|
+
});
|
280
|
+
|
281
|
+
it('CSS of \'Special characters\' popup', { tags: 'css' }, () => {
|
282
|
+
utilities.verifyCSS(drawingResponsePage.charactersPopupTitle(), {
|
283
|
+
'color': css.color.flyoutTitle,
|
284
|
+
'font-size': css.fontSize.heading,
|
285
|
+
'font-weight': css.fontWeight.bold,
|
286
|
+
});
|
287
|
+
utilities.verifyCSS(drawingResponsePage.specialCharactersPopupCategoryTitle(), {
|
288
|
+
'color': css.color.text,
|
289
|
+
'font-size': css.fontSize.normal,
|
290
|
+
'font-weight': css.fontWeight.semibold,
|
291
|
+
});
|
292
|
+
utilities.verifyCSS(drawingResponsePage.specialCharactersPopupCategoryAccordionIcon(), {
|
293
|
+
'color': css.color.activeButtons
|
294
|
+
});
|
295
|
+
utilities.verifyCSS(drawingResponsePage.charactersPopupCharacterSymbol(), {
|
296
|
+
'color': css.color.activeButtons
|
297
|
+
});
|
298
|
+
});
|
299
|
+
|
300
|
+
drawingResponsePage.tests.checkAccessibilityForSecondaryToolbarOptionPopup();
|
301
|
+
|
302
|
+
it('When user clicks on the \'Close\' button then the \'Special characters\' popup should be closed', () => {
|
303
|
+
drawingResponsePage.steps.clickOnCharactersPopupCloseButton();
|
304
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
305
|
+
});
|
306
|
+
});
|
307
|
+
|
308
|
+
describe('Preview tab - secondary toolbar option - \'Math characters\' - content and functionality', { tags: 'smoke' }, () => {
|
309
|
+
abortEarlySetup();
|
310
|
+
before(() => {
|
311
|
+
cy.log('Navigating to drawing response question type');
|
312
|
+
drawingResponsePage.steps.navigateToCreateQuestion('Drawing Response');
|
313
|
+
cy.barsPreLoaderWait();
|
314
|
+
});
|
315
|
+
|
316
|
+
it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} secondary toolbar option should not be displayed`, () => {
|
317
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
318
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
|
319
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]), 'notExist');
|
320
|
+
});
|
321
|
+
|
322
|
+
it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]} secondary toolbar option should be displayed`, () => {
|
323
|
+
drawingResponsePage.steps.switchToEditTab();
|
324
|
+
drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
|
325
|
+
drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[1]}`]);
|
326
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
327
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
|
328
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]), 'visible');
|
329
|
+
});
|
330
|
+
|
331
|
+
it('By default the \'Math characters\' secondary toolbar option should be in deselected state', () => {
|
332
|
+
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
333
|
+
});
|
334
|
+
|
335
|
+
it('CSS of \'Math characters\' secondary toolbar option in deselected state', { tags: 'css' }, () => {
|
336
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]), {
|
337
|
+
'background-color': css.color.defaultToolbarOptionBg
|
338
|
+
});
|
339
|
+
});
|
340
|
+
|
341
|
+
it('When user clicks on \'Math characters\' secondary toolbar option, then the \'Math characters\' popup should be displayed with \'Math characters\' title and a \'Close\' button', () => {
|
342
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]);
|
343
|
+
drawingResponsePage.steps.verifySecondaryPopupExist();
|
344
|
+
drawingResponsePage.steps.verifySecondaryOptionCharactersPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]);
|
345
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.charactersPopupCloseButton(), 'visible');
|
346
|
+
});
|
347
|
+
|
348
|
+
it('CSS of \'Math characters\' secondary toolbar option in selected state', { tags: 'css' }, () => {
|
349
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]), {
|
350
|
+
'background-color': css.color.secondaryBtnBorder
|
351
|
+
});
|
352
|
+
});
|
353
|
+
|
354
|
+
it('All categories and their respective title and symbols should be displayed in the popup', () => {
|
355
|
+
drawingResponsePage.steps.verifyMathCharactersPopupCategoriesAndSymbols(mathCharacters);
|
356
|
+
});
|
357
|
+
|
358
|
+
it('When user clicks on any category icon, then the category flyout should stay open', () => {
|
359
|
+
drawingResponsePage.steps.clickOnCharacterPopupSymbol(mathCharacters[0].symbols[0]);
|
360
|
+
drawingResponsePage.steps.verifySecondaryPopupExist();
|
361
|
+
});
|
362
|
+
|
363
|
+
it('CSS of \'Math characters\' popup', { tags: 'css' }, () => {
|
364
|
+
utilities.verifyCSS(drawingResponsePage.charactersPopupTitle(), {
|
365
|
+
'color': css.color.flyoutTitle,
|
366
|
+
'font-size': css.fontSize.heading,
|
367
|
+
'font-weight': css.fontWeight.bold,
|
368
|
+
});
|
369
|
+
utilities.verifyCSS(drawingResponsePage.mathCharactersPopupCategoryTitle(), {
|
370
|
+
'color': css.color.text,
|
371
|
+
'font-size': css.fontSize.normal,
|
372
|
+
'font-weight': css.fontWeight.semibold,
|
373
|
+
});
|
374
|
+
utilities.verifyCSS(drawingResponsePage.charactersPopupCharacterSymbol(), {
|
375
|
+
'color': css.color.activeButtons
|
376
|
+
});
|
377
|
+
});
|
378
|
+
|
379
|
+
drawingResponsePage.tests.checkAccessibilityForSecondaryToolbarOptionPopup();
|
380
|
+
|
381
|
+
it('When user clicks on the \'Close\' button then the \'Math characters\' popup should be closed', () => {
|
382
|
+
drawingResponsePage.steps.clickOnCharactersPopupCloseButton();
|
383
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
384
|
+
});
|
385
|
+
});
|
386
|
+
|
387
|
+
describe('Preview tab - secondary toolbar option - \'Font size\' - content and functionality', { tags: 'smoke' }, () => {
|
388
|
+
before(() => {
|
389
|
+
cy.log('Navigating to drawing response question type');
|
390
|
+
drawingResponsePage.steps.navigateToCreateQuestion('Drawing Response');
|
391
|
+
cy.barsPreLoaderWait();
|
392
|
+
});
|
393
|
+
|
394
|
+
|
395
|
+
it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} secondary toolbar option should not be displayed`, () => {
|
396
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
397
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
|
398
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]), 'notExist');
|
399
|
+
});
|
400
|
+
|
401
|
+
it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]} secondary toolbar option should be displayed`, () => {
|
402
|
+
drawingResponsePage.steps.switchToEditTab();
|
403
|
+
drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
|
404
|
+
drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[2]}`]);
|
405
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
406
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
|
407
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]), 'visible');
|
408
|
+
});
|
409
|
+
|
410
|
+
it('By default the \'Font size\' secondary toolbar option should be in deselected state', () => {
|
411
|
+
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
412
|
+
});
|
413
|
+
|
414
|
+
it('CSS of \'Font size\' secondary toolbar option in deselected state', { tags: 'css' }, () => {
|
415
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]), {
|
416
|
+
'background-color': css.color.defaultToolbarOptionBg
|
417
|
+
});
|
418
|
+
});
|
419
|
+
|
420
|
+
it('Accessibility of secondary toolbar options', { tags: 'a11y' }, () => {
|
421
|
+
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]));
|
422
|
+
});
|
423
|
+
|
424
|
+
it('When user clicks on \'Font size\' secondary toolbar option, then the \'Font size\' popup should be displayed', () => {
|
425
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]);
|
426
|
+
});
|
427
|
+
|
428
|
+
it('CSS of \'Font size\' secondary toolbar option in selected state', { tags: 'css' }, () => {
|
429
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]), {
|
430
|
+
'background-color': css.color.secondaryBtnBorder
|
431
|
+
});
|
432
|
+
});
|
433
|
+
|
434
|
+
it(`All the ${Object.keys(fontSizePopupOptions).length} font sizes - ${Object.keys(fontSizePopupOptions)} and their respective font sizes should be displayed in the popup`, () => {
|
435
|
+
drawingResponsePage.steps.verifySecondaryToolbarOptionFontSizePopup();
|
436
|
+
});
|
437
|
+
|
438
|
+
it(`By default the ${fontSizePopupOptions.Default} font size should be in selected state`, () => {
|
439
|
+
drawingResponsePage.steps.verifyFontSizePopupSelectedOption(2);
|
440
|
+
});
|
441
|
+
|
442
|
+
it('When user selects any font size in the popup, then the font size should be selected and font size popup should be closed', () => {
|
443
|
+
drawingResponsePage.steps.selectOptionFromFontSizePopup(1);
|
444
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
445
|
+
});
|
446
|
+
|
447
|
+
it('When user reopens the \'Font size\' flyout, then the previously updated font size should be displayed in the selected state', () => {
|
448
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]);
|
449
|
+
drawingResponsePage.steps.verifyFontSizePopupSelectedOption(1);
|
450
|
+
|
451
|
+
});
|
452
|
+
|
453
|
+
it('CSS of \'Font size\' popup', { tags: 'css' }, () => {
|
454
|
+
utilities.verifyCSS(drawingResponsePage.fontSizeOption().eq(1), {
|
455
|
+
'background-color': css.color.liTextSelectedBg
|
456
|
+
});
|
457
|
+
utilities.verifyCSS(drawingResponsePage.fontSizeOptionLabels(), {
|
458
|
+
'color': css.color.secondaryBtn,
|
459
|
+
'font-size': css.fontSize.default,
|
460
|
+
'font-weight': css.fontWeight.regular
|
461
|
+
});
|
462
|
+
utilities.verifyCSS(drawingResponsePage.fontSizesLabels(), {
|
463
|
+
'color': css.color.labels,
|
464
|
+
'font-size': css.fontSize.normal,
|
465
|
+
'font-weight': css.fontWeight.semibold
|
466
|
+
});
|
467
|
+
});
|
468
|
+
|
469
|
+
drawingResponsePage.tests.checkAccessibilityForSecondaryToolbarOptionPopup();
|
470
|
+
});
|
471
|
+
|
472
|
+
describe('Preview tab - secondary toolbar options - \'Opacity\' - content and functionality', { tags: 'smoke' }, () => {
|
473
|
+
abortEarlySetup();
|
474
|
+
before(() => {
|
475
|
+
cy.log('Navigating to drawing response question type');
|
476
|
+
drawingResponsePage.steps.navigateToCreateQuestion('Drawing Response');
|
477
|
+
cy.barsPreLoaderWait();
|
478
|
+
drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
|
479
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
480
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].displayName);
|
481
|
+
});
|
482
|
+
|
483
|
+
it('By default the \'Opacity\' secondary toolbar option should be in deselected state', () => {
|
484
|
+
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
485
|
+
});
|
486
|
+
|
487
|
+
it('CSS of \'Opacity\' secondary toolbar option in deselected state', { tags: 'css' }, () => {
|
488
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[2]), {
|
489
|
+
'background-color': css.color.defaultToolbarOptionBg
|
490
|
+
});
|
491
|
+
});
|
492
|
+
|
493
|
+
it('Accessibility of secondary toolbar options', { tags: 'a11y' }, () => {
|
494
|
+
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[2]));
|
495
|
+
});
|
496
|
+
|
497
|
+
it('When user clicks on \'Opacity\' secondary toolbar option, then the \'Opacity\' popup should be displayed and \'Opacity\' secondary toolbar option should be in selected state', () => {
|
498
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[2]);
|
499
|
+
drawingResponsePage.steps.verifySecondaryPopupExist();
|
500
|
+
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
501
|
+
});
|
502
|
+
|
503
|
+
it('\'Opacity\' label and input field with the value 100 should be displayed', () => {
|
504
|
+
drawingResponsePage.steps.verifySecondaryOptionPopupTitle('Opacity');
|
505
|
+
drawingResponsePage.steps.verifySecondaryPopupOpacityInputFieldValue(100);
|
506
|
+
utilities.verifyInnerText(drawingResponsePage.previewTabSecondaryPopupOpacityPercentageLabel(), '%');
|
507
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryPopupOpacityPercentageLabel(), 'visible');
|
508
|
+
});
|
509
|
+
|
510
|
+
it('Opacity slider should be displayed and by default the slider of \'Opacity\' should be set to 100 percent', () => {
|
511
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryPopupOpacitySlider(), 'exist');
|
512
|
+
drawingResponsePage.steps.verifySecondaryPopupOpacitySliderValue(100);
|
513
|
+
});
|
514
|
+
|
515
|
+
it('When the user changes value in the opacity input field, the slider value should also change accordingly', () => {
|
516
|
+
drawingResponsePage.steps.enterValueInOpacityInputFieldValue(10);
|
517
|
+
drawingResponsePage.steps.verifySecondaryPopupOpacitySliderValue(10);
|
518
|
+
});
|
519
|
+
|
520
|
+
it('When the user changes the opacity slider value, value in the opacity input field should also change', () => {
|
521
|
+
drawingResponsePage.steps.clickOnSecondaryPopupSlider();
|
522
|
+
drawingResponsePage.steps.verifySecondaryPopupOpacitySliderValue(50);
|
523
|
+
drawingResponsePage.steps.verifySecondaryPopupOpacityInputFieldValue(50);
|
524
|
+
});
|
525
|
+
|
526
|
+
it('CSS of \'Opacity\' secondary toolbar option in selected state', { tags: 'css' }, () => {
|
527
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[2]), {
|
528
|
+
'background-color': css.color.secondaryBtnBorder
|
529
|
+
});
|
530
|
+
});
|
531
|
+
|
532
|
+
it('Accessibility of secondary toolbar options', { tags: 'a11y' }, () => {
|
533
|
+
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[2]));
|
534
|
+
});
|
535
|
+
|
536
|
+
it('When user makes some changes in the \'Opacity\' popup and clicks anywhere outside the popup, then the popup should closed.', () => {
|
537
|
+
drawingResponsePage.steps.enterValueInOpacityInputFieldValue(10);
|
538
|
+
drawingResponsePage.steps.closeSecondaryPopup();
|
539
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
540
|
+
});
|
541
|
+
|
542
|
+
it('When user reopens the \'Opacity\' popup by clicking on the toolbar option, the popup should reopen and all its previously made changes should be retained/present', () => {
|
543
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[2]);
|
544
|
+
drawingResponsePage.steps.verifySecondaryPopupOpacitySliderValue(10);
|
545
|
+
drawingResponsePage.steps.verifySecondaryPopupOpacityInputFieldValue(10);
|
546
|
+
});
|
547
|
+
|
548
|
+
it('CSS of \'Opacity\' popup', { tags: 'css' }, () => {
|
549
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryOptionPopupTitle(), {
|
550
|
+
'color': css.color.labels,
|
551
|
+
'font-size': css.fontSize.default,
|
552
|
+
'font-weight': css.fontWeight.semibold,
|
553
|
+
});
|
554
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryPopupOpacityInputField(), {
|
555
|
+
'color': css.color.labels,
|
556
|
+
'font-size': css.fontSize.default,
|
557
|
+
'font-weight': css.fontWeight.regular,
|
558
|
+
'background-color': css.color.defaultBackground
|
559
|
+
});
|
560
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryPopupOpacityPercentageLabel(), {
|
561
|
+
'color': css.color.text,
|
562
|
+
'font-size': css.fontSize.default,
|
563
|
+
'font-weight': css.fontWeight.regular,
|
564
|
+
});
|
565
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryPopupOpacitySlider(), {
|
566
|
+
'color': css.color.activeButtons
|
567
|
+
});
|
568
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryPopupOpacityInputField().parents('.drawing-tool-options__options__number-wrapper'), {
|
569
|
+
'border': `1px solid ${css.color.titleContainerBorder})`
|
570
|
+
});
|
571
|
+
});
|
572
|
+
|
573
|
+
drawingResponsePage.tests.checkAccessibilityForSecondaryToolbarOptionPopup();
|
574
|
+
});
|
575
|
+
|
576
|
+
describe('Preview tab - secondary toolbar options - \'Stroke thickness\' - content and functionality', { tags: 'smoke' }, () => {
|
577
|
+
abortEarlySetup();
|
578
|
+
before(() => {
|
579
|
+
cy.log('Navigate to drawing response question type');
|
580
|
+
drawingResponsePage.steps.navigateToCreateQuestion('Drawing Response');
|
581
|
+
cy.barsPreLoaderWait();
|
582
|
+
drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
|
583
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
584
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndSpecialAndMathCharacters.drawingToolbarOptions[1].displayName);
|
585
|
+
});
|
586
|
+
|
587
|
+
it('By default the \'Stroke thickness\' secondary toolbar option should be in deselected state', () => {
|
588
|
+
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
589
|
+
});
|
590
|
+
|
591
|
+
it('CSS of \'Stroke thickness\' secondary toolbar option in deselected state', { tags: 'css' }, () => {
|
592
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[1]), {
|
593
|
+
'background-color': css.color.defaultToolbarOptionBg
|
594
|
+
});
|
595
|
+
});
|
596
|
+
|
597
|
+
it('Accessibility of secondary toolbar options', { tags: 'a11y' }, () => {
|
598
|
+
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[1]));
|
599
|
+
});
|
600
|
+
|
601
|
+
it('When user clicks on \'Stroke thickness\' secondary toolbar option, then the \'Stroke thickness\' popup should be displayed and \'Stroke thickness\' secondary toolbar option should be in selected state', () => {
|
602
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[1]);
|
603
|
+
drawingResponsePage.steps.verifySecondaryPopupExist();
|
604
|
+
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
605
|
+
});
|
606
|
+
|
607
|
+
it(`A \'Stroke thickness\' title along with the five stroke thickness options - ${thickness}px should be displayed`, () => {
|
608
|
+
drawingResponsePage.steps.verifySecondaryOptionPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[1]);
|
609
|
+
thickness.forEach((thickness, index) => {
|
610
|
+
drawingResponsePage.steps.verifySecondaryPopupStrokeThickness(thickness, index)
|
611
|
+
});
|
612
|
+
});
|
613
|
+
|
614
|
+
it('5px stroke thickness option should be selected by default', () => {
|
615
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(0);
|
616
|
+
});
|
617
|
+
|
618
|
+
it('User should be able to select a different stroke thickness option from the provided thickness options inside the \'Stroke thickness\' popup', () => {
|
619
|
+
drawingResponsePage.steps.selectOptionFromSecondaryOptionPopup(2);
|
620
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
621
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[1]);
|
622
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(2);
|
623
|
+
});
|
624
|
+
|
625
|
+
it('CSS of \'Stroke thickness\' secondary toolbar option in selected state', { tags: 'css' }, () => {
|
626
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[1]), {
|
627
|
+
'background-color': css.color.secondaryBtnBorder
|
628
|
+
});
|
629
|
+
});
|
630
|
+
|
631
|
+
it('Accessibility of secondary toolbar options', { tags: 'a11y' }, () => {
|
632
|
+
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[1]));
|
633
|
+
});
|
634
|
+
|
635
|
+
it('When user makes some changes in the \'Stroke thickness\' popup and clicks anywhere outside the popup, then the popup should close.', () => {
|
636
|
+
drawingResponsePage.steps.selectOptionFromSecondaryOptionPopup(1);
|
637
|
+
drawingResponsePage.steps.closeSecondaryPopup();
|
638
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
639
|
+
});
|
640
|
+
|
641
|
+
it('When user reopens the \'Stroke thickness\' popup by clicking on the toolbar option, the popup should reopen and all its previously made changes should be retained/present', () => {
|
642
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[1]);
|
643
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(1);
|
644
|
+
});
|
645
|
+
|
646
|
+
it('CSS of \'Stroke thickness\' popup', { tags: 'css' }, () => {
|
647
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryOptionPopupTitle(), {
|
648
|
+
'color': css.color.labels,
|
649
|
+
'font-size': css.fontSize.default,
|
650
|
+
'font-weight': css.fontWeight.semibold,
|
651
|
+
});
|
652
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryOptionPopupStrokeImage(), {
|
653
|
+
'color': css.color.labels
|
654
|
+
});
|
655
|
+
});
|
656
|
+
|
657
|
+
drawingResponsePage.tests.checkAccessibilityForSecondaryToolbarOptionPopup();
|
658
|
+
});
|
659
|
+
|
660
|
+
describe('Preview tab - secondary toolbar options - \'Text color\' - content and functionality', { tags: 'smoke' }, () => {
|
661
|
+
abortEarlySetup();
|
662
|
+
before(() => {
|
663
|
+
cy.log('Navigating to drawing response question type');
|
664
|
+
drawingResponsePage.steps.navigateToCreateQuestion('Drawing Response');
|
665
|
+
cy.barsPreLoaderWait();
|
666
|
+
});
|
667
|
+
|
668
|
+
it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} secondary toolbar option should not be displayed`, () => {
|
669
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
670
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
|
671
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]), 'notExist');
|
672
|
+
});
|
673
|
+
|
674
|
+
it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]} secondary toolbar option should be displayed`, () => {
|
675
|
+
drawingResponsePage.steps.switchToEditTab();
|
676
|
+
drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
|
677
|
+
drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[3]}`]);
|
678
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
679
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
|
680
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]), 'visible');
|
681
|
+
});
|
682
|
+
|
683
|
+
it('By default the \'Text color\' secondary toolbar option should be in deselected state', () => {
|
684
|
+
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
685
|
+
});
|
686
|
+
|
687
|
+
it('The default text color should be displayed under the \'Text color\' secondary toolbar option', () => {
|
688
|
+
drawingResponsePage.steps.verifySelectedTextColorUnderTextColorOptionInPreviewTab('rgb(0, 112, 128)');
|
689
|
+
});
|
690
|
+
|
691
|
+
it('CSS of \'Text color\' secondary toolbar option in deselected state', { tags: 'css' }, () => {
|
692
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]), {
|
693
|
+
'background-color': css.color.defaultToolbarOptionBg
|
694
|
+
});
|
695
|
+
});
|
696
|
+
|
697
|
+
it('Accessibility of secondary toolbar options', { tags: 'a11y' }, () => {
|
698
|
+
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]));
|
699
|
+
});
|
700
|
+
|
701
|
+
it('When user clicks on \'Text color\' secondary toolbar option, then the \'Text color\' popup should be displayed with \'Text color\' title', () => {
|
702
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]);
|
703
|
+
drawingResponsePage.steps.verifySecondaryPopupExist();
|
704
|
+
drawingResponsePage.steps.verifySecondaryOptionPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]);
|
705
|
+
//Selected state of secondary toolbar option. Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
706
|
+
});
|
707
|
+
|
708
|
+
it('The \'Text color\' popup should contain 4 default color options for the author to choose from and the first color option should be selected by default', () => {
|
709
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(0, 'rgb(0, 112, 128)');
|
710
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(0);
|
711
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(1, 'rgb(0, 133, 89)');
|
712
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(2, 'rgb(128, 25, 0)');
|
713
|
+
drawingResponsePage.steps.verifyNoColorOptionFromSecondaryOptionPopup(3);
|
714
|
+
utilities.verifyElementCount(drawingResponsePage.previewTabSecondaryOptionPopupOptions(), '4');
|
715
|
+
});
|
716
|
+
|
717
|
+
it('The \'Selected color\' heading, color picker pallette and the default selected color should be displayed in the popup in their default states', () => {
|
718
|
+
drawingResponsePage.steps.verifyPreviewTabColorPickerLabel();
|
719
|
+
drawingResponsePage.steps.verifySelectedColorLabelAndSelectedColorBlock();
|
720
|
+
colorPopupComponent.steps.verifySaturationPaletteColor('rgb(255, 255, 255)');
|
721
|
+
colorPopupComponent.steps.verifyColorSaturationPaletteAndPicker();
|
722
|
+
colorPopupComponent.steps.verifyHuePaletteColor('rgb(255, 255, 255)');
|
723
|
+
colorPopupComponent.steps.verifyColorHuePaletteAndPicker();
|
724
|
+
});
|
725
|
+
|
726
|
+
it('\'Ok\' and \'Cancel\' button should be displayed in the popup', () => {
|
727
|
+
drawingResponsePage.steps.verifyColorPopupCancelButton();
|
728
|
+
drawingResponsePage.steps.verifyColorPopupOkButton();
|
729
|
+
});
|
730
|
+
|
731
|
+
it('User should be able to select a different color from the provided default color options inside the \'Text color\' popup', () => {
|
732
|
+
drawingResponsePage.steps.selectOptionFromSecondaryOptionPopup(3);
|
733
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
734
|
+
drawingResponsePage.steps.verifySecondaryOptionStrokeColor(0, 'rgb(255, 255, 255)');
|
735
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]);
|
736
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(3);
|
737
|
+
drawingResponsePage.steps.selectOptionFromSecondaryOptionPopup(1);
|
738
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
739
|
+
drawingResponsePage.steps.verifySecondaryOptionStrokeColor(0, 'rgb(6, 255, 172)');
|
740
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]);
|
741
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(1);
|
742
|
+
});
|
743
|
+
|
744
|
+
it('User should be able to make changes in the color picker pallette and the changes should be reflected in the selected color box', () => {
|
745
|
+
colorPopupComponent.steps.clickInColorSaturationPalette();
|
746
|
+
drawingResponsePage.steps.verifySelectedColorBlock('rgb(120, 60, 60)');
|
747
|
+
colorPopupComponent.steps.verifySaturationPaletteColor('rgba(255, 255, 255, 0.23)');
|
748
|
+
colorPopupComponent.steps.verifyHuePaletteColor('rgba(255, 255, 255, 0.23)');
|
749
|
+
});
|
750
|
+
|
751
|
+
it('When user clicks on the \'Cancel\' button, then the popup should be closed.', () => {
|
752
|
+
drawingResponsePage.steps.clickOnCancelButton();
|
753
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
754
|
+
});
|
755
|
+
|
756
|
+
it('When user reopens the \'Text color\' popup by clicking on the toolbar option, the popup should reopen and all its settings should be in their default states', () => {
|
757
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]);
|
758
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(0, 'rgb(0, 112, 128)');
|
759
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(0);
|
760
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(1, 'rgb(0, 133, 89)');
|
761
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(2, 'rgb(128, 25, 0)');
|
762
|
+
drawingResponsePage.steps.verifyNoColorOptionFromSecondaryOptionPopup(3);
|
763
|
+
drawingResponsePage.steps.verifySelectedColorBlock('rgb(255, 255, 255)');
|
764
|
+
});
|
765
|
+
|
766
|
+
it('When user makes some changes in the \'Text color\' popup and clicks on the \'Ok\' button, then the popup should be closed.', () => {
|
767
|
+
colorPopupComponent.steps.clickInColorSaturationPalette();
|
768
|
+
drawingResponsePage.steps.verifySelectedColorBlock('rgb(120, 60, 60)');
|
769
|
+
drawingResponsePage.steps.clickOnOkButton();
|
770
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
771
|
+
});
|
772
|
+
|
773
|
+
it('The updated text color should be displayed under the \'Text color\' secondary toolbar option', () => {
|
774
|
+
drawingResponsePage.steps.verifySecondaryOptionStrokeColor(3, 'rgb(120, 60, 60)');
|
775
|
+
});
|
776
|
+
|
777
|
+
it('When user reopens the \'Text color\' popup by clicking on the toolbar option, the popup should reopen and all its previously made changes should be retained/present', () => {
|
778
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]);
|
779
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(0, 'rgb(0, 112, 128)');
|
780
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(1, 'rgb(0, 133, 89)');
|
781
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(2, 'rgb(128, 25, 0)');
|
782
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(3, 'rgb(120, 60, 60)');
|
783
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(4, 'rgb(255, 255, 255)');
|
784
|
+
drawingResponsePage.steps.verifyNoColorOptionFromSecondaryOptionPopup(3);
|
785
|
+
drawingResponsePage.steps.verifySelectedColorBlock('rgb(120, 60, 60)');
|
786
|
+
});
|
787
|
+
|
788
|
+
it('CSS of color popup', { tags: 'css' }, () => {
|
789
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryOptionPopupTitle(), {
|
790
|
+
'color': css.color.labels,
|
791
|
+
'font-size': css.fontSize.default,
|
792
|
+
'font-weight': css.fontWeight.semibold,
|
793
|
+
});
|
794
|
+
utilities.verifyCSS(drawingResponsePage.previewTabColorPickerLabel(), {
|
795
|
+
'color': css.color.normal,
|
796
|
+
'font-size': css.fontSize.default,
|
797
|
+
'font-weight': css.fontWeight.semibold,
|
798
|
+
});
|
799
|
+
utilities.verifyCSS(colorPopupComponent.selectedColorLabel(), {
|
800
|
+
'color': css.color.labels,
|
801
|
+
'font-size': css.fontSize.normal,
|
802
|
+
'font-weight': css.fontWeight.semibold
|
803
|
+
});
|
804
|
+
utilities.verifyCSS(drawingResponsePage.colorPalleteOkButton(), {
|
805
|
+
'color': css.color.text,
|
806
|
+
'font-size': css.fontSize.default,
|
807
|
+
'font-weight': css.fontWeight.regular,
|
808
|
+
'background-color': css.color.successBtnBg
|
809
|
+
});
|
810
|
+
utilities.verifyCSS(drawingResponsePage.colorPalleteCancelButton(), {
|
811
|
+
'color': css.color.secondaryBtn,
|
812
|
+
'font-size': css.fontSize.default,
|
813
|
+
'font-weight': css.fontWeight.regular,
|
814
|
+
'background-color': css.color.secondaryBtnBg
|
815
|
+
});
|
816
|
+
});
|
817
|
+
|
818
|
+
//Failing due to https://redmine.zeuslearning.com/issues/539391
|
819
|
+
drawingResponsePage.tests.checkAccessibilityForSecondaryToolbarOptionPopup();
|
820
|
+
});
|
821
|
+
|
822
|
+
describe('Preview tab - secondary toolbar options - \'Fill color\' - content and functionality', { tags: 'smoke' }, () => {
|
823
|
+
abortEarlySetup();
|
824
|
+
before(() => {
|
825
|
+
cy.log('Navigating to drawing response question type');
|
826
|
+
drawingResponsePage.steps.navigateToCreateQuestion('Drawing Response');
|
827
|
+
cy.barsPreLoaderWait();
|
828
|
+
drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
|
829
|
+
drawingResponsePage.steps.selectToolbarOptionsAndControlsFormattingOptionsTiles([drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].displayName]);
|
830
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
831
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].displayName);
|
832
|
+
});
|
833
|
+
|
834
|
+
it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]} secondary toolbar option should not be displayed`, () => {
|
835
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]), 'notExist');
|
836
|
+
});
|
837
|
+
|
838
|
+
it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]} secondary toolbar option \'Fill color\' popup should be displayed`, () => {
|
839
|
+
drawingResponsePage.steps.switchToEditTab();
|
840
|
+
drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[5]}`]);
|
841
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
842
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].displayName);
|
843
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]), 'visible');
|
844
|
+
});
|
845
|
+
|
846
|
+
it('The \'Stroke color\' secondary toolbar option should be in deselected state', () => {
|
847
|
+
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
848
|
+
});
|
849
|
+
|
850
|
+
it('The default fill color should be displayed under the \'Fill color\' secondary toolbar option', () => {
|
851
|
+
drawingResponsePage.steps.verifySecondaryOptionStrokeColor(0, 'rgb(0, 224, 255)');
|
852
|
+
});
|
853
|
+
|
854
|
+
it('CSS of \'Fill color\' secondary toolbar option in deselected state', { tags: 'css' }, () => {
|
855
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]), {
|
856
|
+
'background-color': css.color.defaultToolbarOptionBg
|
857
|
+
});
|
858
|
+
});
|
859
|
+
|
860
|
+
it('Accessibility of secondary toolbar options', { tags: 'a11y' }, () => {
|
861
|
+
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]));
|
862
|
+
});
|
863
|
+
|
864
|
+
it(`In preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]} secondary toolbar option \'Fill color\' popup should contain three default color options and a \'No color\' option for the author to choose from and the first color option should be selected by default`, () => {
|
865
|
+
drawingResponsePage.steps.switchToEditTab();
|
866
|
+
drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[5]}`]);
|
867
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
868
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].displayName);
|
869
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]);
|
870
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]);
|
871
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(0, 'rgb(0, 224, 255)');
|
872
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(0);
|
873
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(1, 'rgb(6, 255, 172)');
|
874
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(2, 'rgb(255, 90, 51)');
|
875
|
+
drawingResponsePage.steps.verifyNoColorOptionFromSecondaryOptionPopup(3);
|
876
|
+
utilities.verifyElementCount(drawingResponsePage.previewTabSecondaryOptionPopupOptions(), '4');
|
877
|
+
});
|
878
|
+
|
879
|
+
it(`When \'Fill color picker\'additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]} secondary toolbar option popup should not display color picker and its related components`, () => {
|
880
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabColorPickerLabel(), 'notExist');
|
881
|
+
utilities.verifyElementVisibilityState(colorPopupComponent.colorHuePalette(), 'notExist');
|
882
|
+
utilities.verifyElementVisibilityState(colorPopupComponent.colorHuePicker(), 'notExist');
|
883
|
+
});
|
884
|
+
|
885
|
+
it(`When \'Fill color picker\' additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]} secondary toolbar option popup should display color picker and its related components`, () => {
|
886
|
+
drawingResponsePage.steps.switchToEditTab();
|
887
|
+
drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[6]}`]);
|
888
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
889
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].displayName);
|
890
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]);
|
891
|
+
drawingResponsePage.steps.verifySecondaryOptionPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]);
|
892
|
+
utilities.verifyElementVisibilityState(colorPopupComponent.colorHuePalette(), 'visible');
|
893
|
+
utilities.verifyElementVisibilityState(colorPopupComponent.colorHuePicker(), 'visible');
|
894
|
+
});
|
895
|
+
|
896
|
+
it('The \'Select color\' heading, color picker pallette, \'Selected color\' heading and the default selected color should be displayed in the popup in their default states', () => {
|
897
|
+
drawingResponsePage.steps.verifyPreviewTabColorPickerLabel();
|
898
|
+
drawingResponsePage.steps.verifySelectedColorLabelAndSelectedColorBlock();
|
899
|
+
colorPopupComponent.steps.verifySaturationPaletteColor('rgba(255, 255, 255, 0.23)');
|
900
|
+
colorPopupComponent.steps.verifyColorSaturationPaletteAndPicker();
|
901
|
+
colorPopupComponent.steps.verifyHuePaletteColor('rgba(255, 255, 255, 0.23)');
|
902
|
+
colorPopupComponent.steps.verifyColorHuePaletteAndPicker();
|
903
|
+
});
|
904
|
+
|
905
|
+
it('User should be able to select a different color from the provided default color options inside the \'Fill color\' popup', () => {
|
906
|
+
drawingResponsePage.steps.selectOptionFromSecondaryOptionPopup(3);
|
907
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
908
|
+
drawingResponsePage.steps.verifySecondaryOptionStrokeColor(0, 'rgb(255, 255, 255)');
|
909
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]);
|
910
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(3);
|
911
|
+
drawingResponsePage.steps.selectOptionFromSecondaryOptionPopup(1);
|
912
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
913
|
+
drawingResponsePage.steps.verifySecondaryOptionStrokeColor(0, 'rgb(6, 255, 172)');
|
914
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]);
|
915
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(1);
|
916
|
+
});
|
917
|
+
|
918
|
+
it('User should be able to make changes in the color picker pallette and the changes should be reflected in the selected color box', () => {
|
919
|
+
colorPopupComponent.steps.clickInColorSaturationPalette();
|
920
|
+
drawingResponsePage.steps.verifySelectedColorBlock('rgb(120, 60, 60)');
|
921
|
+
colorPopupComponent.steps.verifySaturationPaletteColor('rgba(255, 255, 255, 0.23)');
|
922
|
+
colorPopupComponent.steps.verifyHuePaletteColor('rgba(255, 255, 255, 0.23)');
|
923
|
+
});
|
924
|
+
|
925
|
+
it('\'Ok\' and \'Cancel\' button should be displayed in the popup', () => {
|
926
|
+
drawingResponsePage.steps.verifyColorPopupCancelButton();
|
927
|
+
drawingResponsePage.steps.verifyColorPopupOkButton();
|
928
|
+
});
|
929
|
+
|
930
|
+
it('When user clicks on the \'Cancel\' button, then the popup should be closed.', () => {
|
931
|
+
drawingResponsePage.steps.clickOnCancelButton();
|
932
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
933
|
+
});
|
934
|
+
|
935
|
+
it('When user reopens the \'Fill color\' popup, the popup should be displayed with all its default settings', () => {
|
936
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]);
|
937
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(0, 'rgb(0, 224, 255)');
|
938
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(0);
|
939
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(1, 'rgb(6, 255, 172)');
|
940
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(2, 'rgb(255, 90, 51)');
|
941
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(3, 'rgb(255, 255, 255)');
|
942
|
+
drawingResponsePage.steps.verifyNoColorOptionFromSecondaryOptionPopup(3);
|
943
|
+
drawingResponsePage.steps.verifySelectedColorBlock('rgb(255, 255, 255)');
|
944
|
+
});
|
945
|
+
|
946
|
+
it('When user makes some changes in the \'Fill color\' popup and clicks on the \'Ok\' button, then the popup should be closed.', () => {
|
947
|
+
colorPopupComponent.steps.clickInColorSaturationPalette();
|
948
|
+
drawingResponsePage.steps.verifySelectedColorBlock('rgb(120, 60, 60)');
|
949
|
+
drawingResponsePage.steps.clickOnOkButton();
|
950
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
951
|
+
});
|
952
|
+
|
953
|
+
it('The updated fill color should be displayed under the \'Fill color\' secondary toolbar option', () => {
|
954
|
+
drawingResponsePage.steps.verifySecondaryOptionStrokeColor(0, 'rgb(120, 60, 60)');
|
955
|
+
});
|
956
|
+
|
957
|
+
it('When user reopens the \'Fill color\' popup, the popup should reopen and all its previous changes should be retained', () => {
|
958
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]);
|
959
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(0, 'rgb(0, 224, 255)');
|
960
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(1, 'rgb(6, 255, 172)');
|
961
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(2, 'rgb(255, 90, 51)');
|
962
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(3, 'rgb(120, 60, 60)');
|
963
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(4, 'rgb(255, 255, 255)');
|
964
|
+
drawingResponsePage.steps.verifyNoColorOptionFromSecondaryOptionPopup(4);
|
965
|
+
drawingResponsePage.steps.verifySelectedColorBlock('rgb(120, 60, 60)');
|
966
|
+
});
|
967
|
+
|
968
|
+
it('CSS of color popup contents', { tags: 'css' }, () => {
|
969
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryOptionPopupTitle(), {
|
970
|
+
'color': css.color.labels,
|
971
|
+
'font-size': css.fontSize.default,
|
972
|
+
'font-weight': css.fontWeight.semibold
|
973
|
+
});
|
974
|
+
utilities.verifyCSS(drawingResponsePage.colorPalleteSelectedColorLabel(), {
|
975
|
+
'color': css.color.labels,
|
976
|
+
'font-size': css.fontSize.normal,
|
977
|
+
'font-weight': css.fontWeight.semibold
|
978
|
+
});
|
979
|
+
utilities.verifyCSS(drawingResponsePage.colorPalleteOkButton(), {
|
980
|
+
'color': css.color.whiteText,
|
981
|
+
'font-size': css.fontSize.default,
|
982
|
+
'font-weight': css.fontWeight.regular,
|
983
|
+
'background-color': css.color.primaryBtnBg
|
984
|
+
});
|
985
|
+
utilities.verifyCSS(drawingResponsePage.colorPalleteCancelButton(), {
|
986
|
+
'color': css.color.secondaryBtn,
|
987
|
+
'font-size': css.fontSize.default,
|
988
|
+
'font-weight': css.fontWeight.regular,
|
989
|
+
'background-color': css.color.defaultBackground
|
990
|
+
});
|
991
|
+
});
|
992
|
+
|
993
|
+
//Failing due to https://redmine.zeuslearning.com/issues/539391
|
994
|
+
drawingResponsePage.tests.checkAccessibilityForSecondaryToolbarOptionPopup();
|
995
|
+
});
|
996
|
+
|
997
|
+
describe('Preview tab - secondary toolbar options - \'Stroke color\' - content and functionality', { tags: 'smoke' }, () => {
|
998
|
+
abortEarlySetup();
|
999
|
+
before(() => {
|
1000
|
+
cy.log('Navigating to drawing response question type');
|
1001
|
+
drawingResponsePage.steps.navigateToCreateQuestion('Drawing Response');
|
1002
|
+
cy.barsPreLoaderWait();
|
1003
|
+
drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
|
1004
|
+
drawingResponsePage.steps.selectToolbarOptionsAndControlsFormattingOptionsTiles([drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].displayName]);
|
1005
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
1006
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].displayName);
|
1007
|
+
});
|
1008
|
+
|
1009
|
+
it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]} additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]} secondary toolbar option should not be displayed`, () => {
|
1010
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]), 'notExist');
|
1011
|
+
});
|
1012
|
+
|
1013
|
+
it(`When ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]} additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]} secondary toolbar option should be displayed`, () => {
|
1014
|
+
drawingResponsePage.steps.switchToEditTab();
|
1015
|
+
drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[3]}`]);
|
1016
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
1017
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].displayName);
|
1018
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]), 'notExist');
|
1019
|
+
});
|
1020
|
+
|
1021
|
+
it('By default the \'Stroke color\' secondary toolbar option should be in deselected state', () => {
|
1022
|
+
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
1023
|
+
});
|
1024
|
+
|
1025
|
+
it('The default stroke color should be displayed under the \'Stroke color\' secondary toolbar option', () => {
|
1026
|
+
drawingResponsePage.steps.verifySecondaryOptionStrokeColor(1, 'rgb(0, 112, 128)');
|
1027
|
+
});
|
1028
|
+
|
1029
|
+
it('CSS of \'Stroke color\' secondary toolbar option in deselected state', { tags: 'css' }, () => {
|
1030
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]), {
|
1031
|
+
'background-color': css.color.defaultToolbarOptionBg
|
1032
|
+
});
|
1033
|
+
});
|
1034
|
+
|
1035
|
+
it('Accessibility of secondary toolbar options', { tags: 'a11y' }, () => {
|
1036
|
+
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]));
|
1037
|
+
});
|
1038
|
+
|
1039
|
+
it(`In preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]} secondary toolbar option popup should contain four default color options and a \'No color\' option for the author to choose from and the first color option should be selected by default`, () => {
|
1040
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]);
|
1041
|
+
drawingResponsePage.steps.verifySecondaryOptionPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]);
|
1042
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(0);
|
1043
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(0, 'rgb(0, 112, 128)');
|
1044
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(1, 'rgb(0, 133, 89)');
|
1045
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(2, 'rgb(128, 25, 0)');
|
1046
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(3, 'rgb(255, 255, 255)');
|
1047
|
+
drawingResponsePage.steps.verifyNoColorOptionFromSecondaryOptionPopup(4);
|
1048
|
+
utilities.verifyElementCount(drawingResponsePage.previewTabSecondaryOptionPopupOptions(), '5');
|
1049
|
+
});
|
1050
|
+
|
1051
|
+
it(`When \'Stroke color picker\'additional option is not selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]} secondary toolbar option popup should not display color picker and its related components`, () => {
|
1052
|
+
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabColorPickerLabel(), 'notExist');
|
1053
|
+
utilities.verifyElementVisibilityState(colorPopupComponent.colorHuePalette(), 'notExist');
|
1054
|
+
utilities.verifyElementVisibilityState(colorPopupComponent.colorHuePicker(), 'notExist');
|
1055
|
+
});
|
1056
|
+
|
1057
|
+
it(`When \'Stroke color picker\' additional option is selected in edit tab, then in preview tab the ${drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]} secondary toolbar option popup should display color picker and its related components`, () => {
|
1058
|
+
drawingResponsePage.steps.switchToEditTab();
|
1059
|
+
drawingResponsePage.steps.selectOptionsTiles([`${drawingToolbarOptionsAndAdditionalOptions.additionalOptions[4]}`]);
|
1060
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
1061
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].displayName);
|
1062
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]);
|
1063
|
+
drawingResponsePage.steps.verifySecondaryOptionPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]);
|
1064
|
+
utilities.verifyElementVisibilityState(colorPopupComponent.colorHuePalette(), 'visible');
|
1065
|
+
utilities.verifyElementVisibilityState(colorPopupComponent.colorHuePicker(), 'visible');
|
1066
|
+
});
|
1067
|
+
|
1068
|
+
it('CSS of \'Stroke color\' secondary toolbar option in selected state', { tags: 'css' }, () => {
|
1069
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]), {
|
1070
|
+
'background-color': css.color.secondaryBtnBorder
|
1071
|
+
});
|
1072
|
+
});
|
1073
|
+
|
1074
|
+
it('The \'Select color\' heading, color picker pallette, \'Selected color\' heading and the default selected color should be displayed in the popup in their default states', () => {
|
1075
|
+
drawingResponsePage.steps.verifyPreviewTabColorPickerLabel();
|
1076
|
+
drawingResponsePage.steps.verifySelectedColorLabelAndSelectedColorBlock();
|
1077
|
+
colorPopupComponent.steps.verifySaturationPaletteColor('rgba(255, 255, 255, 0.23)');
|
1078
|
+
colorPopupComponent.steps.verifyColorSaturationPaletteAndPicker();
|
1079
|
+
colorPopupComponent.steps.verifyHuePaletteColor('rgba(255, 255, 255, 0.23)');
|
1080
|
+
colorPopupComponent.steps.verifyColorHuePaletteAndPicker();
|
1081
|
+
});
|
1082
|
+
|
1083
|
+
it('User should be able to select a different color from the provided default color options inside the \'Fill color\' popup', () => {
|
1084
|
+
drawingResponsePage.steps.selectOptionFromSecondaryOptionPopup(3);
|
1085
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
1086
|
+
drawingResponsePage.steps.verifySecondaryOptionStrokeColor(1, 'rgb(255, 255, 255)');
|
1087
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]);
|
1088
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(3);
|
1089
|
+
drawingResponsePage.steps.selectOptionFromSecondaryOptionPopup(1);
|
1090
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
1091
|
+
drawingResponsePage.steps.verifySecondaryOptionStrokeColor(1, 'rgb(0, 133, 89)');
|
1092
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]);
|
1093
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(1);
|
1094
|
+
});
|
1095
|
+
|
1096
|
+
//Update below test case as per https://redmine.zeuslearning.com/issues/550787
|
1097
|
+
it('User should be able to make changes in the color picker pallette and the changes should be reflected in the selected color box', () => {
|
1098
|
+
colorPopupComponent.steps.clickInColorSaturationPalette();
|
1099
|
+
drawingResponsePage.steps.verifySelectedColorBlock('rgb(120, 60, 60)');
|
1100
|
+
});
|
1101
|
+
|
1102
|
+
it('\'Ok\' and \'Cancel\' button should be displayed in the popup', () => {
|
1103
|
+
drawingResponsePage.steps.verifyColorPopupCancelButton();
|
1104
|
+
drawingResponsePage.steps.verifyColorPopupOkButton();
|
1105
|
+
});
|
1106
|
+
|
1107
|
+
it('When user clicks on the \'Cancel\' button, then the popup should be closed.', () => {
|
1108
|
+
drawingResponsePage.steps.clickOnCancelButton();
|
1109
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
1110
|
+
});
|
1111
|
+
|
1112
|
+
it('When user reopens the \'Stroke color\' popup , the popup should be displayed with all its default settings', () => {
|
1113
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]);
|
1114
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(0);
|
1115
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(0, 'rgb(0, 112, 128)');
|
1116
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(1, 'rgb(0, 133, 89)');
|
1117
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(2, 'rgb(128, 25, 0)');
|
1118
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(3, 'rgb(255, 255, 255)');
|
1119
|
+
drawingResponsePage.steps.verifyNoColorOptionFromSecondaryOptionPopup(3);
|
1120
|
+
});
|
1121
|
+
|
1122
|
+
it('When user makes some changes in the \'Stroke color\' popup and clicks on the \'Ok\' button, then the popup should be closed.', () => {
|
1123
|
+
colorPopupComponent.steps.clickInColorSaturationPalette();
|
1124
|
+
drawingResponsePage.steps.verifySelectedColorBlock('rgb(120, 60, 60)');
|
1125
|
+
drawingResponsePage.steps.clickOnOkButton();
|
1126
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
1127
|
+
});
|
1128
|
+
|
1129
|
+
it('The updated stroke color should be displayed under the \'Stroke color\' secondary toolbar option', () => {
|
1130
|
+
drawingResponsePage.steps.verifySecondaryOptionStrokeColor(1, 'rgb(120, 60, 60)');
|
1131
|
+
});
|
1132
|
+
|
1133
|
+
it('When user reopens the \'Stroke color\' popup, the popup should reopen and all its previous changes should be retained', () => {
|
1134
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[1]);
|
1135
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(1, 'rgb(0, 133, 89)');
|
1136
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(2, 'rgb(128, 25, 0)');
|
1137
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(3, 'rgb(120, 60, 60)');
|
1138
|
+
drawingResponsePage.steps.verifyCSSOfSecondaryOptionPopupOptions(4, 'rgb(255, 255, 255)');
|
1139
|
+
drawingResponsePage.steps.verifyNoColorOptionFromSecondaryOptionPopup(4);
|
1140
|
+
drawingResponsePage.steps.verifySelectedColorBlock('rgb(120, 60, 60)');
|
1141
|
+
});
|
1142
|
+
|
1143
|
+
it('CSS of color popup contents', { tags: 'css' }, () => {
|
1144
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryOptionPopupTitle(), {
|
1145
|
+
'color': css.color.labels,
|
1146
|
+
'font-size': css.fontSize.default,
|
1147
|
+
'font-weight': css.fontWeight.semibold
|
1148
|
+
});
|
1149
|
+
utilities.verifyCSS(drawingResponsePage.colorPalleteSelectedColorLabel(), {
|
1150
|
+
'color': css.color.labels,
|
1151
|
+
'font-size': css.fontSize.normal,
|
1152
|
+
'font-weight': css.fontWeight.semibold
|
1153
|
+
});
|
1154
|
+
utilities.verifyCSS(drawingResponsePage.colorPalleteOkButton(), {
|
1155
|
+
'color': css.color.whiteText,
|
1156
|
+
'font-size': css.fontSize.default,
|
1157
|
+
'font-weight': css.fontWeight.regular,
|
1158
|
+
'background-color': css.color.primaryBtnBg
|
1159
|
+
});
|
1160
|
+
utilities.verifyCSS(drawingResponsePage.colorPalleteCancelButton(), {
|
1161
|
+
'color': css.color.secondaryBtn,
|
1162
|
+
'font-size': css.fontSize.default,
|
1163
|
+
'font-weight': css.fontWeight.regular,
|
1164
|
+
'background-color': css.color.defaultBackground
|
1165
|
+
});
|
1166
|
+
});
|
1167
|
+
|
1168
|
+
drawingResponsePage.tests.checkAccessibilityForSecondaryToolbarOptionPopup();
|
1169
|
+
});
|
1170
|
+
|
1171
|
+
describe('Preview tab - secondary toolbar options - \'Line type\' - content and functionality', { tags: 'smoke' }, () => {
|
1172
|
+
abortEarlySetup();
|
1173
|
+
before(() => {
|
1174
|
+
cy.log('Navigating to drawing response question type');
|
1175
|
+
drawingResponsePage.steps.navigateToCreateQuestion('Drawing Response');
|
1176
|
+
cy.barsPreLoaderWait();
|
1177
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
1178
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[2].displayName);
|
1179
|
+
});
|
1180
|
+
|
1181
|
+
it('By default the \'Line type\' secondary toolbar option should be in deselected state', () => {
|
1182
|
+
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
1183
|
+
});
|
1184
|
+
|
1185
|
+
it('CSS of \'Line type\' secondary toolbar option in deselected state', { tags: 'css' }, () => {
|
1186
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[2].secondaryToolbarOptions[2]), {
|
1187
|
+
'background-color': css.color.defaultToolbarOptionBg
|
1188
|
+
});
|
1189
|
+
});
|
1190
|
+
|
1191
|
+
it('Accessibility of \'Line type\' secondary toolbar option', { tags: 'a11y' }, () => {
|
1192
|
+
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[2].secondaryToolbarOptions[2]));
|
1193
|
+
});
|
1194
|
+
|
1195
|
+
it('When user clicks on \'Line type\' secondary toolbar option, then the \'Line type\' popup should be displayed and \'Line type\' secondary toolbar option should be in selected state', () => {
|
1196
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[2].secondaryToolbarOptions[2]);
|
1197
|
+
drawingResponsePage.steps.verifySecondaryPopupExist();
|
1198
|
+
//Selected state of secondary toolbar option. Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
1199
|
+
});
|
1200
|
+
|
1201
|
+
it(`A \'Line type\' title along with the five line type options - ${lineTypeOptions.join(', ')} should be displayed`, () => {
|
1202
|
+
drawingResponsePage.steps.verifySecondaryOptionPopupTitle(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[1]);
|
1203
|
+
lineTypeOptions.forEach((thickness, index) => {
|
1204
|
+
drawingResponsePage.steps.verifySecondaryPopupLineType(thickness, index);
|
1205
|
+
});
|
1206
|
+
});
|
1207
|
+
|
1208
|
+
it('Line option should be selected by default', () => {
|
1209
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(0);
|
1210
|
+
});
|
1211
|
+
|
1212
|
+
it('User should be able to select a different line type option from the provided options inside the \'Line type\' popup', () => {
|
1213
|
+
drawingResponsePage.steps.selectOptionFromSecondaryOptionPopup(2);
|
1214
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
1215
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[2].secondaryToolbarOptions[2]);
|
1216
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(2);
|
1217
|
+
});
|
1218
|
+
|
1219
|
+
it('CSS of \'Line type\' secondary toolbar option in selected state', { tags: 'css' }, () => {
|
1220
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[2].secondaryToolbarOptions[2]), {
|
1221
|
+
'background-color': css.color.background
|
1222
|
+
});
|
1223
|
+
});
|
1224
|
+
|
1225
|
+
it('Accessibility of secondary toolbar options', { tags: 'a11y' }, () => {
|
1226
|
+
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption());
|
1227
|
+
});
|
1228
|
+
|
1229
|
+
it('When user makes some changes in the \'Line type\' popup, then the popup should close.', () => {
|
1230
|
+
drawingResponsePage.steps.selectOptionFromSecondaryOptionPopup(1);
|
1231
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
1232
|
+
});
|
1233
|
+
|
1234
|
+
it('When user reopens the \'Line type\' popup by clicking on the toolbar option, the popup should reopen and all its previously made changes should be retained/present', () => {
|
1235
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[2].secondaryToolbarOptions[2]);
|
1236
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(2);
|
1237
|
+
});
|
1238
|
+
|
1239
|
+
it('CSS of \'Line type\' popup', { tags: 'css' }, () => {
|
1240
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryOptionPopupTitle(), {
|
1241
|
+
'color': css.color.labels,
|
1242
|
+
'font-size': css.fontSize.default,
|
1243
|
+
'font-weight': css.fontWeight.semibold,
|
1244
|
+
});
|
1245
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryOptionPopupTitle().last().find('svg'), {
|
1246
|
+
'color': css.color.labels
|
1247
|
+
});
|
1248
|
+
});
|
1249
|
+
|
1250
|
+
drawingResponsePage.tests.checkAccessibilityForSecondaryToolbarOptionPopup();
|
1251
|
+
});
|
1252
|
+
|
1253
|
+
describe('Preview tab - secondary toolbar options - \'Eraser thickness\' - content and functionality', { tags: 'smoke' }, () => {
|
1254
|
+
abortEarlySetup();
|
1255
|
+
before(() => {
|
1256
|
+
cy.log('Navigate to drawing response question type');
|
1257
|
+
drawingResponsePage.steps.navigateToCreateQuestion('Drawing Response');
|
1258
|
+
cy.barsPreLoaderWait();
|
1259
|
+
drawingResponsePage.steps.expandCustomizeToolbarOptionsAndControlsAccordion();
|
1260
|
+
drawingResponsePage.steps.switchToPreviewTab();
|
1261
|
+
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[7].displayName);
|
1262
|
+
});
|
1263
|
+
|
1264
|
+
it('By default the \'Eraser thickness\' secondary toolbar option should be in deselected state', () => {
|
1265
|
+
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
1266
|
+
});
|
1267
|
+
|
1268
|
+
it('CSS of \'Eraser thickness\' secondary toolbar option in deselected state', { tags: 'css' }, () => {
|
1269
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[7].secondaryToolbarOptions[0]), {
|
1270
|
+
'background-color': css.color.defaultToolbarOptionBg
|
1271
|
+
});
|
1272
|
+
});
|
1273
|
+
|
1274
|
+
it('Accessibility of secondary toolbar options', { tags: 'a11y' }, () => {
|
1275
|
+
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[7].secondaryToolbarOptions[0]));
|
1276
|
+
});
|
1277
|
+
|
1278
|
+
it('When user clicks on \'Eraser thickness\' secondary toolbar option, then the \'Eraser thickness\' popup should be displayed and \'Eraser thickness\' secondary toolbar option should be in selected state', () => {
|
1279
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[7].secondaryToolbarOptions[0]);
|
1280
|
+
drawingResponsePage.steps.verifySecondaryPopupExist();
|
1281
|
+
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
1282
|
+
});
|
1283
|
+
|
1284
|
+
it(`A \'Eraser thickness\' title along with the five eraser thickness options - ${thickness} should be displayed`, () => {
|
1285
|
+
thickness.forEach((thickness, index) => {
|
1286
|
+
drawingResponsePage.steps.verifySecondaryPopupEraserThickness(thickness, index)
|
1287
|
+
});
|
1288
|
+
});
|
1289
|
+
|
1290
|
+
it('5 pixels option should be selected by default', () => {
|
1291
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(0);
|
1292
|
+
});
|
1293
|
+
|
1294
|
+
it('User should be able to select a different eraser thickness option from the provided options inside the \'Eraser thickness\' popup', () => {
|
1295
|
+
drawingResponsePage.steps.selectOptionFromSecondaryOptionPopup(2);
|
1296
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
1297
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[7].secondaryToolbarOptions[0]);
|
1298
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(2);
|
1299
|
+
});
|
1300
|
+
|
1301
|
+
it('CSS of \'Eraser thickness\' secondary toolbar option in selected state', { tags: 'css' }, () => {
|
1302
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[7].secondaryToolbarOptions[0]), {
|
1303
|
+
'background-color': css.color.secondaryBtnBorder
|
1304
|
+
});
|
1305
|
+
});
|
1306
|
+
|
1307
|
+
it('Accessibility of secondary toolbar options', { tags: 'a11y' }, () => {
|
1308
|
+
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[7].secondaryToolbarOptions[0]));
|
1309
|
+
});
|
1310
|
+
|
1311
|
+
it('When user makes some changes in the \'Eraser thickness\' popup and clicks anywhere outside the popup, then the popup should close.', () => {
|
1312
|
+
drawingResponsePage.steps.selectOptionFromSecondaryOptionPopup(1);
|
1313
|
+
drawingResponsePage.steps.closeSecondaryPopup();
|
1314
|
+
drawingResponsePage.steps.verifySecondaryPopupDoesNotExist();
|
1315
|
+
});
|
1316
|
+
|
1317
|
+
it('When user reopens the \'Eraser thickness\' popup by clicking on the toolbar option, the popup should reopen and all its previously made changes should be retained/present', () => {
|
1318
|
+
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[7].secondaryToolbarOptions[0]);
|
1319
|
+
drawingResponsePage.steps.verifySelectedOptionFromSecondaryOptionPopup(1);
|
1320
|
+
});
|
1321
|
+
|
1322
|
+
it('CSS of \'Eraser thickness\' popup', { tags: 'css' }, () => {
|
1323
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryOptionPopupTitle(), {
|
1324
|
+
'color': css.color.labels,
|
1325
|
+
'font-size': css.fontSize.default,
|
1326
|
+
'font-weight': css.fontWeight.semibold,
|
1327
|
+
});
|
1328
|
+
utilities.verifyCSS(drawingResponsePage.previewTabSecondaryOptionPopupEraserImage(), {
|
1329
|
+
'color': css.color.labels
|
1330
|
+
});
|
1331
|
+
});
|
1332
|
+
|
1333
|
+
drawingResponsePage.tests.checkAccessibilityForSecondaryToolbarOptionPopup();
|
1334
|
+
});
|
1335
|
+
});
|