itemengine-cypress-automation 1.0.341-e2eFixes18March-66a79d0.0 → 1.0.341-graphAndCharts-0a4e8d7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cypress/e2e/ILC/BrowseItems/browseReviewItems.js +398 -0
- package/cypress/e2e/ILC/BrowseItems/browseReviewItemsMobileView.js +329 -0
- package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItems.js +260 -0
- package/cypress/e2e/ILC/BrowseItems/browseThinkSphereItemsMobileView.js +368 -0
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightBasic.js +2 -2
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightBasic.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/editQuestion.smoke.js +1 -3
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddFeatureRadioButton.js +2 -3
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabAddTranscriptRadioButton .js +0 -2
- package/cypress/e2e/ILC/CkEditorAudioPlayer/audioPlayerEditTabStudentViewSettings.js +3 -3
- package/cypress/e2e/ILC/CkEditorEquationEditor/equationEditorBasicFile.js +4 -4
- package/cypress/e2e/ILC/CkEditorInsertImage/imageInfo.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +84 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/checkAddAlternativeButton.js +33 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +2 -4
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/draggableOptions.js +2 -4
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/editTabBasicSection.js +33 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/headerSection.js +39 -6
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/manuallyAndNonScoredScoringEditTab.js +4 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/styleAndLayoutCustomizationLayoutProperties.js +3 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseAdditionalSettings.js +1 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseBackground.js +2 -8
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseCustomizeAdditionalOptions.js +1 -0
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseEditTabBasicSection.js +3 -3
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +3 -4
- package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +1 -1
- package/cypress/e2e/ILC/EssayResponse/editCategoryFlyout.js +0 -1
- package/cypress/e2e/ILC/EssayResponse/editTabBasicSections.js +23 -37
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/blankResponseScoring.js +29 -25
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +210 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/dropzoneStyleAndLayoutCustomization.js +6 -3
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/headerSection.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +201 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/dropdownOptionsSection.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +0 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/blankResponseScoring.js +18 -20
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +96 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +216 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +0 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/checkAddAlternative.js +37 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/clickAndDrop.js +4 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/editTabBasicSection.js +47 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/headerSection.js +38 -9
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +5 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/styleAndLayoutCustomization.js +2 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/blankResponseScoring.js +21 -30
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +211 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +4 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +0 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/blankResponseScoring.js +23 -30
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +213 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +0 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/responseAnswersAndAcceptedStudentInput.js +2 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/supportedFileTypes.js +2 -4
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/blankResponseScoring.js +25 -30
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +207 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +2 -10
- package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabScoringSection.js +2 -0
- package/cypress/e2e/ILC/Graphing/headerSection.js +1 -2
- package/cypress/e2e/ILC/Graphing/layoutAndGridOptions.js +6 -3
- package/cypress/e2e/ILC/GridFill/customizeLayoutFillImageBackgroundImage.js +11 -0
- package/cypress/e2e/ILC/GridFill/customizeLayoutSectionShadeCellsGridBorders.js +2 -0
- package/cypress/e2e/ILC/GridFill/editTabScoringSection.js +3 -0
- package/cypress/e2e/ILC/GridFill/headerSection.js +2 -4
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -2
- package/cypress/e2e/ILC/GridFill/specifyCorrectAnswerSection.js +2 -4
- package/cypress/e2e/ILC/ImageHighlight/Scoring/partialDifferentWeightsScoring.js +2 -1
- package/cypress/e2e/ILC/ImageHighlight/headerSection.js +2 -1
- package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +2 -2
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +226 -0
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +6 -3
- package/cypress/e2e/ILC/MultipleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
- package/cypress/e2e/ILC/MultipleSelection/editTabScoringSection.js +6 -3
- package/cypress/e2e/ILC/MultipleSelection/headerSection.js +1 -0
- package/cypress/e2e/ILC/MultipleSelection/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/partialDifferentWeightsWithAlternativeAnswer.js +69 -64
- package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +6 -4
- package/cypress/e2e/ILC/MultipleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +220 -0
- package/cypress/e2e/ILC/MultipleSelectionGridNew/editTabScoringSection.js +11 -5
- package/cypress/e2e/ILC/MultipleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +4 -2
- package/cypress/e2e/ILC/NumberLine/headerSection.js +1 -2
- package/cypress/e2e/ILC/NumberLineLabel/additionalSettingsBasic.js +1 -0
- package/cypress/e2e/ILC/NumberLineLabel/headerSection.js +3 -4
- package/cypress/e2e/ILC/NumberLineLabel/verticalNumberLine/editQuestion.smoke.js +1 -1
- package/cypress/e2e/ILC/Ruler/rulerEditTabFunctionality.js +10 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +31 -48
- package/cypress/e2e/ILC/ShortTextResponseNew/headerSection.js +2 -2
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +192 -0
- package/cypress/e2e/ILC/SingleSelection/checkScoringLabelBannerAndCorrectAnswer.js +3 -1
- package/cypress/e2e/ILC/SingleSelection/headerSection.js +1 -0
- package/cypress/e2e/ILC/SingleSelection/manuallyAndNonScoredScoring.js +94 -88
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/checkScoringLabelBannerAndCorrectAnswerSection.js +3 -1
- package/cypress/e2e/ILC/SingleSelectionGridNew/allOrNothingBasicForAllViews.smoke.js +209 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/editTabScoringSection.js +5 -0
- package/cypress/e2e/ILC/SingleSelectionGridNew/styleAndLayoutCustomizationLayoutProperties.js +8 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -3
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialDifferentWeightsScoringBasic.js +3 -10
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +2 -4
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +3 -5
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/MathTemplateScoring/partialEqualWeightsScoringBasic.js +0 -4
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingAlternatePointsGreaterThanCorrectPoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAddEvaluation.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingBasicForAlternateAnswer.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/allOrNothingCorrectPointsGreaterThanAlternatePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/blankResponseScoring.js +2 -8
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialDifferentWeightsScoringBasic.js +0 -8
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasic.js +0 -1
- package/cypress/e2e/ILC/TextEntryMath/Scoring/partialEqualWeightsScoringBasicForAlternateAnswer.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +0 -8
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +0 -2
- package/cypress/e2e/ILC/TextEntryMath/customSettings.js +4 -0
- package/cypress/e2e/ILC/TextEntryMath/equationEditor.smoke.js +8 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.smoke.js +86 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.smoke.js +97 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.smoke.js +97 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.smoke.js +167 -0
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.smoke.js +167 -2
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.smoke.js +1 -0
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +10 -7
- package/cypress/e2e/ILC/TextEntryMathWithImage/styleAndLayoutCustomization.js +1 -1
- package/cypress/e2e/ILC/TextSelection/ScoringParagraph/allOrNothingAlternatePointsMoreThanCorrectPoints.js +80 -0
- package/cypress/e2e/ILC/TextSelection/ScoringParagraph/allOrNothingCorrectPointsMoreThanAlternatePoints.js +30 -0
- package/cypress/e2e/ILC/TextSelection/ScoringParagraph/checkScoringLabelBannerAndCorrectAnswerSection.js +109 -0
- package/cypress/e2e/ILC/TextSelection/checkAddAlternativeButton.js +46 -0
- package/cypress/e2e/ILC/TextSelection/editTabBasicSection.js +57 -0
- package/cypress/e2e/ILC/TextSelection/headerSection.js +38 -6
- package/cypress/e2e/ILC/TextSelection/questionInstructionsAndQuestion.js +1 -2
- package/cypress/e2e/ILC/TextSelection/textSelectionModesInSpecifyPossibleOptionsSection.js +7 -12
- package/cypress/e2e/ILC/ThinkSphere/additionalSettings.js +52 -0
- package/cypress/e2e/ILC/ThinkSphere/createReviewItem.js +112 -0
- package/cypress/e2e/ILC/ThinkSphere/editTabBasicSection.js +561 -0
- package/cypress/e2e/ILC/ThinkSphere/editThinkSphereQuestion.smoke.js +185 -0
- package/cypress/e2e/ILC/ThinkSphere/equationEditorCreateCustomCategory.smoke.js +417 -0
- package/cypress/e2e/ILC/ThinkSphere/equationEditorEditCategoryFlyOut.js +289 -0
- package/cypress/e2e/ILC/ThinkSphere/headerSection.js +53 -0
- package/cypress/e2e/ILC/ThinkSphere/planPhase.js +581 -0
- package/cypress/e2e/ILC/ThinkSphere/previewTabPlanSection.js +541 -0
- package/cypress/e2e/ILC/ThinkSphere/solvePhase.js +296 -0
- package/cypress/e2e/Sessions/fetchResponses.js +3 -3
- package/cypress/e2e/Sessions/scores.js +9 -5
- package/cypress/e2e/applitools.config.js +3 -3
- package/cypress/fixtures/constants.js +5 -1
- package/cypress/fixtures/theme/ilc.json +16 -1
- package/cypress/fixtures/uploads/sample.webm +0 -0
- package/cypress/fixtures/uploads/sample.wmv +0 -0
- package/cypress/fixtures/uploads/sample20MB.mp4 +0 -0
- package/cypress/fixtures/uploads/sample2MB.mp4 +0 -0
- package/cypress/fixtures/uploads/sample2MB_2.mp4 +0 -0
- package/cypress/fixtures/uploads/sample30MB.mp4 +0 -0
- package/cypress/pages/audioPlayerPage.js +22 -22
- package/cypress/pages/brainingCampManipulativePage.js +1 -1
- package/cypress/pages/components/additionalSettingsPanel.js +3 -2
- package/cypress/pages/components/autoScoredScoringPreviewTab.js +7 -1
- package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +2 -0
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +17 -51
- package/cypress/pages/components/backgroundImageUploadComponent.js +32 -25
- package/cypress/pages/components/browseItemsPage.js +998 -7
- package/cypress/pages/components/ckEditorAudioPlayerComponent.js +1 -1
- package/cypress/pages/components/ckEditorEquationEditorComponent.js +4 -4
- package/cypress/pages/components/ckEditorInsertImageComponent.js +3 -3
- package/cypress/pages/components/ckEditorLinkComponent.js +3 -3
- package/cypress/pages/components/commonComponents.js +8 -1
- package/cypress/pages/components/createQuestionBasePage.js +1 -1
- package/cypress/pages/components/defaultToolDropdown.js +7 -6
- package/cypress/pages/components/desmosToolComponent.js +1 -1
- package/cypress/pages/components/editCategoryFlyout.js +2 -2
- package/cypress/pages/components/equationEditorSectionCommonComponent.js +13 -26
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +3 -70
- package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +29 -101
- package/cypress/pages/components/gridQuestionCommonComponent.js +8 -37
- package/cypress/pages/components/hideExpressionListComponent.js +53 -0
- package/cypress/pages/components/imageCanvasComponent.js +7 -6
- package/cypress/pages/components/index.js +1 -0
- package/cypress/pages/components/mcqAdditionalSettingsBase.js +4 -0
- package/cypress/pages/components/optionsWrapperComponent.js +1 -1
- package/cypress/pages/components/questionInstructionsComponent.js +7 -0
- package/cypress/pages/components/scoringSectionBaseEditTab.js +12 -13
- package/cypress/pages/desmos3DGraphingPage.js +368 -0
- package/cypress/pages/desmosGeometryPage.js +308 -0
- package/cypress/pages/dialogBoxBase.js +2 -1
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +26 -6
- package/cypress/pages/drawingResponsePage.js +16 -15
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +1 -68
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +4 -4
- package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +1 -1
- package/cypress/pages/gradingViewPage.js +8 -0
- package/cypress/pages/graphingPage.js +5 -8
- package/cypress/pages/gridFillPage.js +7 -8
- package/cypress/pages/imageHighlightPage.js +0 -66
- package/cypress/pages/index.js +3 -1
- package/cypress/pages/multipleSelectionGridPage.js +1 -68
- package/cypress/pages/multipleSelectionPage.js +10 -106
- package/cypress/pages/numberLineLabelPage.js +5 -8
- package/cypress/pages/numberLinePage.js +4 -7
- package/cypress/pages/selectQuestionResourceToolPage.js +8 -2
- package/cypress/pages/singleSelectionGridPage.js +1 -68
- package/cypress/pages/singleSelectionPage.js +0 -104
- package/cypress/pages/textSelectionPage.js +25 -6
- package/cypress/pages/thinkSpherePage.js +1874 -0
- package/cypress/support/commands.js +7 -4
- package/cypress/support/e2e.js +1 -0
- package/cypress/support/helpers/createItem.js +1181 -1
- package/cypress/support/helpers/utilities.js +75 -1
- package/deploy/smoke/deploy.yaml +2 -2
- package/package.json +3 -3
- package/scripts/dataApi.mjs +3 -0
- package/scripts/sorry-cypress.mjs +13 -0
@@ -0,0 +1,368 @@
|
|
1
|
+
import { browseItemsPage } from '../../../pages/components/browseItemsPage';
|
2
|
+
import utilities from "../../../support/helpers/utilities";
|
3
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
4
|
+
const css = Cypress.env('css');
|
5
|
+
import { common } from '../../../pages/common';
|
6
|
+
const tableHeader = ['ThinkSphere Item'];
|
7
|
+
const sortDisable = ['not.have.class'];
|
8
|
+
const sortOptions = ['Item', 'Last updated', 'Created on'];
|
9
|
+
|
10
|
+
describe('Navigate to Think Sphere Browse Items page and view the page contents', () => {
|
11
|
+
before(() => {
|
12
|
+
cy.loginAs('admin');
|
13
|
+
cy.deleteThinkSphereItem('~zzz item name');
|
14
|
+
cy.createThinkSphereItem('~zzz item name');
|
15
|
+
cy.visit('/item-engine/thinksphere/browse-items');
|
16
|
+
cy.interceptGraphql('getItems');
|
17
|
+
});
|
18
|
+
|
19
|
+
after(() => {
|
20
|
+
cy.deleteThinkSphereItem('~zzz item name');
|
21
|
+
});
|
22
|
+
|
23
|
+
describe('\'Browse ThinkSphere Items\' page desktop and mobile view icons section', () => {
|
24
|
+
abortEarlySetup();
|
25
|
+
it('Desktop icon should be present on the page and should be in selected state', () => {
|
26
|
+
browseItemsPage.steps.verifyDesktopIcon();
|
27
|
+
});
|
28
|
+
|
29
|
+
browseItemsPage.tests.verifyDesktopIconSelected(true);
|
30
|
+
|
31
|
+
it('CSS of \'Browse ThinkSphere Items\' desktop icon', { tags: 'css' }, () => {
|
32
|
+
utilities.verifyCSS(browseItemsPage.buttonDesktopViewToggle().find('svg'), {
|
33
|
+
'fill': css.color.optionColor,
|
34
|
+
'height': '20px',
|
35
|
+
'width': '20px'
|
36
|
+
});
|
37
|
+
});
|
38
|
+
|
39
|
+
it('Mobile icon should be present on the page and should be in selected state', () => {
|
40
|
+
browseItemsPage.steps.verifyMobileIcon();
|
41
|
+
});
|
42
|
+
|
43
|
+
browseItemsPage.tests.verifyMobileIconSelected(false);
|
44
|
+
|
45
|
+
it('CSS of \'Browse ThinkSphere Items\' mobile icon', { tags: 'css' }, () => {
|
46
|
+
utilities.verifyCSS(browseItemsPage.buttonMobileViewToggle().find('svg'), {
|
47
|
+
'fill': css.color.optionColor,
|
48
|
+
'height': '20px',
|
49
|
+
'width': '20px'
|
50
|
+
});
|
51
|
+
});
|
52
|
+
|
53
|
+
it('When user hover on the desktop and mobile icon tooltip should be visible', () => {
|
54
|
+
browseItemsPage.steps.triggerMouseOverOnViewModeIcon('desktop');
|
55
|
+
browseItemsPage.steps.verifyTooltipPresent();
|
56
|
+
browseItemsPage.steps.verifyTooltipText('Desktop View');
|
57
|
+
browseItemsPage.steps.triggerMouseOutOnViewModeIcon('desktop');
|
58
|
+
browseItemsPage.steps.triggerMouseOverOnViewModeIcon('mobile');
|
59
|
+
browseItemsPage.steps.verifyTooltipPresent();
|
60
|
+
browseItemsPage.steps.verifyTooltipText('Mobile View');
|
61
|
+
browseItemsPage.steps.triggerMouseOutOnViewModeIcon('mobile');
|
62
|
+
});
|
63
|
+
|
64
|
+
it('CSS of desktop and mobile view mode icon tooltip', { tags: 'css' }, () => {
|
65
|
+
browseItemsPage.steps.triggerMouseOverOnViewModeIcon('desktop');
|
66
|
+
utilities.verifyCSS(browseItemsPage.tooltipText(), {
|
67
|
+
'background-color': css.color.sectionHeading,
|
68
|
+
'color': css.color.primaryBtn,
|
69
|
+
'font-size': css.fontSize.small,
|
70
|
+
'font-weight': css.fontWeight.regular
|
71
|
+
});
|
72
|
+
browseItemsPage.steps.triggerMouseOutOnViewModeIcon('desktop');
|
73
|
+
|
74
|
+
cy.log('CSS of desktop and mobile view mode icon in hover state');
|
75
|
+
browseItemsPage.steps.hoverOnViewModeButton('desktop');
|
76
|
+
utilities.verifyCSS(browseItemsPage.buttonDesktopViewToggle(), {
|
77
|
+
'background-color': css.color.tableRowHoverColor,
|
78
|
+
});
|
79
|
+
browseItemsPage.steps.hoverOnViewModeButton('mobile');
|
80
|
+
utilities.verifyCSS(browseItemsPage.buttonMobileViewToggle(), {
|
81
|
+
'background-color': css.color.tableRowHoverColor,
|
82
|
+
});
|
83
|
+
});
|
84
|
+
|
85
|
+
it('When user click on the mobile view icon then it should get selected and main wrapper width should change', () => {
|
86
|
+
browseItemsPage.steps.clickOnViewModeIcon('mobile');
|
87
|
+
browseItemsPage.steps.verifyMainWrapperWidth('320px');
|
88
|
+
});
|
89
|
+
|
90
|
+
browseItemsPage.tests.verifyMobileIconSelected(true);
|
91
|
+
browseItemsPage.tests.verifyDesktopIconSelected(false);
|
92
|
+
});
|
93
|
+
|
94
|
+
describe('\'Browse ThinkSphere Items\' list page wrapper section', () => {
|
95
|
+
abortEarlySetup();
|
96
|
+
it('If the user clicks on the \'Browse ThinkSphere Items\' option from the menu bar, user should be navigated to the Think Sphere Browse Items page', () => {
|
97
|
+
browseItemsPage.steps.clickOnBrowseThinkSphereItemsMenuBarOption();
|
98
|
+
browseItemsPage.steps.verifyPageUrl('/item-engine/thinksphere/browse-items');
|
99
|
+
browseItemsPage.steps.verifyBrowseThinkSphereItemsMenuBarOptionSelected();
|
100
|
+
});
|
101
|
+
|
102
|
+
it('\'Browse ThinkSphere Items\' Item list page wrapper section should present', () => {
|
103
|
+
browseItemsPage.steps.verifyBrowseItemsPageWrapperSection();
|
104
|
+
});
|
105
|
+
|
106
|
+
it('CSS of \'Browse ThinkSphere Items\' option', { tags: 'css' }, () => {
|
107
|
+
utilities.verifyCSS(browseItemsPage.browseThinksphereItemsMenuBarOption(), {
|
108
|
+
'color': css.color.codeBlockText,
|
109
|
+
'font-size': css.fontSize.normal,
|
110
|
+
'font-weight': css.fontWeight.medium
|
111
|
+
});
|
112
|
+
utilities.verifyCSS(browseItemsPage.browseItemPageWrapper(), {
|
113
|
+
'background-color': css.color.primaryBtn,
|
114
|
+
'border-radius': '4px',
|
115
|
+
'border': `1px solid ${css.color.borderColor}`,
|
116
|
+
'padding-bottom': '16px'
|
117
|
+
});
|
118
|
+
});
|
119
|
+
});
|
120
|
+
|
121
|
+
describe('\'Browse ThinkSphere Items\' page header section', () => {
|
122
|
+
abortEarlySetup();
|
123
|
+
it('\'Browse ThinkSphere Items\' page header section present', () => {
|
124
|
+
utilities.verifyElementVisibilityState(browseItemsPage.browseItemPageHeaderActionWrapper(), 'exist')
|
125
|
+
utilities.verifyInnerText(browseItemsPage.browseItemPageHeader(), 'Browse ThinkSphere items');
|
126
|
+
utilities.verifyInnerText(browseItemsPage.createItemButtonTypography(), 'Create item');
|
127
|
+
});
|
128
|
+
|
129
|
+
it('When user click on \'Browse ThinkSphere Items\' create item button, then it should navigate to think sphere create item page', () => {
|
130
|
+
browseItemsPage.steps.clickOnCreateItemButton();
|
131
|
+
browseItemsPage.steps.verifyPageUrl('/item-engine/thinksphere/create-item');
|
132
|
+
browseItemsPage.steps.clickWindowsBack();
|
133
|
+
cy.interceptGraphql('getItems');
|
134
|
+
cy.wait(2000);
|
135
|
+
});
|
136
|
+
|
137
|
+
it('CSS of \'Browse ThinkSphere Items\' page header section', { tags: 'css' }, () => {
|
138
|
+
utilities.verifyCSS(browseItemsPage.browseItemPageHeaderActionWrapper(), {
|
139
|
+
'border-bottom': `1px solid ${css.color.secondaryBtnBorder}`,
|
140
|
+
'padding': '16px 0px'
|
141
|
+
});
|
142
|
+
utilities.verifyCSS(browseItemsPage.browseItemPageHeader(), {
|
143
|
+
'color': css.color.secondaryBtn,
|
144
|
+
'font-size': css.fontSize.heading,
|
145
|
+
'font-weight': css.fontWeight.bold
|
146
|
+
});
|
147
|
+
utilities.verifyCSS(browseItemsPage.buttonCreateItem(), {
|
148
|
+
'background-color': css.color.primaryBtnBg,
|
149
|
+
'padding': '12px 16px'
|
150
|
+
});
|
151
|
+
utilities.verifyCSS(browseItemsPage.createItemButtonTypography(), {
|
152
|
+
'color': css.color.primaryBtn,
|
153
|
+
'font-size': css.fontSize.default,
|
154
|
+
'font-weight': css.fontWeight.semibold
|
155
|
+
});
|
156
|
+
|
157
|
+
cy.log('CSS of \'Browse ThinkSphere Items\' page header section create button in hover state');
|
158
|
+
browseItemsPage.steps.hoverOnCreateItemButton();
|
159
|
+
utilities.verifyCSS(browseItemsPage.buttonCreateItem(), {
|
160
|
+
'background-color': css.color.buttonHoverColor,
|
161
|
+
'box-shadow': `${css.color.secondaryBtn} 0px 3px 0px 0px`
|
162
|
+
});
|
163
|
+
utilities.verifyCSS(browseItemsPage.createItemButtonTypography(), {
|
164
|
+
'color': css.color.primaryBtn
|
165
|
+
});
|
166
|
+
});
|
167
|
+
|
168
|
+
it('Accessibility of create item button', { tags: 'a11y' }, () => {
|
169
|
+
cy.checkAccessibility(browseItemsPage.headerActionButtonWrapper());
|
170
|
+
});
|
171
|
+
});
|
172
|
+
|
173
|
+
describe('\'Browse ThinkSphere Items\' list table section columns headers', () => {
|
174
|
+
abortEarlySetup();
|
175
|
+
it('The column headers should be present in the listing table header', () => {
|
176
|
+
browseItemsPage.steps.verifyColumnHeadersInListingTable(tableHeader);
|
177
|
+
});
|
178
|
+
|
179
|
+
it('The column headers should have sort disable', () => {
|
180
|
+
browseItemsPage.steps.verifySortEnableDisableForTableColumnHeader(sortDisable);
|
181
|
+
});
|
182
|
+
|
183
|
+
it('When only one search result is present, then column sort should be disabled', () => {
|
184
|
+
browseItemsPage.steps.addTextInSearchBar('~zzz item name');
|
185
|
+
browseItemsPage.steps.clickOnSearchIcon();
|
186
|
+
browseItemsPage.steps.verifyPaginationCount('1 - 1 of');
|
187
|
+
browseItemsPage.steps.verifyMobileViewSortDropdownEnableDisableState(false);
|
188
|
+
browseItemsPage.steps.clearSearchBar();
|
189
|
+
});
|
190
|
+
|
191
|
+
it('CSS of \'Browse ThinkSphere Items\' list table section', { tags: 'css' }, () => {
|
192
|
+
tableHeader.forEach((_, count) => {
|
193
|
+
utilities.verifyCSS(browseItemsPage.tableColumnHeaderBrowseItemWrapperDiv(count), {
|
194
|
+
'color': css.color.primaryBtnBorder,
|
195
|
+
'font-size': css.fontSize.default,
|
196
|
+
'font-weight': css.fontWeight.bold
|
197
|
+
});
|
198
|
+
utilities.verifyCSS(browseItemsPage.tableColumnHeader(count).parent().parent(), {
|
199
|
+
'background-color': css.color.optionsBg,
|
200
|
+
});
|
201
|
+
});
|
202
|
+
});
|
203
|
+
});
|
204
|
+
|
205
|
+
describe('\'Browse ThinkSphere Items\' list table rows section', () => {
|
206
|
+
abortEarlySetup();
|
207
|
+
browseItemsPage.tests.verifyItemListTableRows();
|
208
|
+
browseItemsPage.tests.verifyItemReferenceId('~zzz item name', true);
|
209
|
+
browseItemsPage.tests.verifyQuestionInstruction('question instruction text');
|
210
|
+
});
|
211
|
+
|
212
|
+
describe('\'Browse ThinkSphere Items\' sort dropdown section', () => {
|
213
|
+
abortEarlySetup();
|
214
|
+
it('Sort dropdown should be present on the page', () => {
|
215
|
+
browseItemsPage.steps.verifySortDropdown();
|
216
|
+
browseItemsPage.steps.verifySortDropdownLabel('Sort by: Last updated');
|
217
|
+
browseItemsPage.steps.verifySortDescendingIcon();
|
218
|
+
});
|
219
|
+
|
220
|
+
it('When user click on sort dropdown, then sort options should be display', () => {
|
221
|
+
browseItemsPage.steps.clickOnSortDropdown();
|
222
|
+
browseItemsPage.steps.verifySortDropdownOptions(sortOptions);
|
223
|
+
});
|
224
|
+
|
225
|
+
it('When user click on \'ngie-popover-container\', then it should close sort options menu', () => {
|
226
|
+
browseItemsPage.steps.clickOnNgiePopoverContainer();
|
227
|
+
utilities.verifyElementVisibilityState(browseItemsPage.mobileViewSortbyDropdownOptionsList(), 'notExist');
|
228
|
+
});
|
229
|
+
|
230
|
+
it('When user click on each sort dropdown option, then items should sort Ascending and in descending order', () => {
|
231
|
+
sortOptions.forEach((_, count) => {
|
232
|
+
browseItemsPage.steps.clickOnSortDropdown();
|
233
|
+
browseItemsPage.steps.clickOnSortOption(count);
|
234
|
+
browseItemsPage.steps.clickOnSortDropdown();
|
235
|
+
browseItemsPage.steps.sortDropdownOptionSelected(count);
|
236
|
+
browseItemsPage.steps.clickOnNgiePopoverContainer();
|
237
|
+
});
|
238
|
+
browseItemsPage.steps.clickOnSortDropdown();
|
239
|
+
browseItemsPage.steps.clickOnSortOption(1);
|
240
|
+
browseItemsPage.steps.clickOnMobileViewSortAscendingIcon();
|
241
|
+
});
|
242
|
+
|
243
|
+
it('CSS of \'Browse ThinkSphere Items\' sort dropdown section', { tags: 'css' }, () => {
|
244
|
+
utilities.verifyCSS(browseItemsPage.mobileViewSortByDropdown(), {
|
245
|
+
'border': `1px solid ${css.color.liTextSelectedBg}`,
|
246
|
+
'box-shadow': `${css.color.liTextSelectedBg} 0px 5px 0px 0px`,
|
247
|
+
'padding': '12px 16px'
|
248
|
+
});
|
249
|
+
utilities.verifyCSS(browseItemsPage.mobileViewSortByDropdownLabelWrapper(), {
|
250
|
+
'color': css.color.highlightedTableCell,
|
251
|
+
'font-size': css.fontSize.default,
|
252
|
+
'font-weight': css.fontWeight.regular
|
253
|
+
});
|
254
|
+
utilities.verifyCSS(browseItemsPage.mobileViewSortByDropdownLabel(), {
|
255
|
+
'color': css.color.highlightedTableCell,
|
256
|
+
'font-size': css.fontSize.default,
|
257
|
+
'font-weight': css.fontWeight.bold
|
258
|
+
});
|
259
|
+
|
260
|
+
cy.log('CSS of \'Browse ThinkSphere Items\' sort dropdown section in hover state');
|
261
|
+
browseItemsPage.steps.hoverOnSortDropdown();
|
262
|
+
utilities.verifyCSS(browseItemsPage.mobileViewSortByDropdown(), {
|
263
|
+
'border': `1px solid ${css.color.primaryBtnBg}`,
|
264
|
+
'box-shadow': `${css.color.primaryBtnBg} 0px 3px 0px 0px`
|
265
|
+
});
|
266
|
+
});
|
267
|
+
});
|
268
|
+
|
269
|
+
describe('\'Browse ThinkSphere Items\' search section', () => {
|
270
|
+
abortEarlySetup();
|
271
|
+
it('Search bar component should be present', () => {
|
272
|
+
browseItemsPage.steps.verifySearchBarComponent();
|
273
|
+
browseItemsPage.steps.verifySearchIcon();
|
274
|
+
browseItemsPage.steps.verifyCloseIcon();
|
275
|
+
});
|
276
|
+
|
277
|
+
it('CSS of search bar component', { tags: 'css' }, () => {
|
278
|
+
utilities.verifyCSS(browseItemsPage.searchBar().parent(), {
|
279
|
+
'background-color': css.color.progressBarRemainingFill,
|
280
|
+
'border': `1px solid ${css.color.figDefaultComponentBorder}`,
|
281
|
+
'border-radius': '50px',
|
282
|
+
'padding': '0px 8px'
|
283
|
+
});
|
284
|
+
utilities.verifyCSS(browseItemsPage.buttonSearchSVG(), {
|
285
|
+
'fill': css.color.primaryBtnBorder,
|
286
|
+
'height': '18px',
|
287
|
+
'width': '18px'
|
288
|
+
});
|
289
|
+
});
|
290
|
+
|
291
|
+
it('When user type title/tags/content in search component and search, then it should search', () => {
|
292
|
+
browseItemsPage.steps.addTextInSearchBar('~zzz');
|
293
|
+
browseItemsPage.steps.clickOnSearchIcon();
|
294
|
+
browseItemsPage.steps.verifyPaginationCount('1 - 1 of');
|
295
|
+
});
|
296
|
+
|
297
|
+
it('User should be able to clear the searchbar',()=>{
|
298
|
+
browseItemsPage.steps.clearSearchBar();
|
299
|
+
});
|
300
|
+
|
301
|
+
browseItemsPage.tests.verifyItemReferenceId('~zzz item name', true);
|
302
|
+
|
303
|
+
it('CSS of search bar in hover state', { tags: 'css' }, () => {
|
304
|
+
browseItemsPage.steps.hoverOnSearchBarComponent();
|
305
|
+
utilities.verifyCSS(browseItemsPage.searchBar().parent(), {
|
306
|
+
'background-color': css.color.primaryBtn,
|
307
|
+
});
|
308
|
+
});
|
309
|
+
|
310
|
+
// skip this because axeDevtools is showing zero errors still this case is showing one accessibility issue
|
311
|
+
it.skip('Accessibility of search bar component', { tags: 'a11y' }, () => {
|
312
|
+
cy.checkAccessibility(browseItemsPage.itemListFilterWrapper());
|
313
|
+
});
|
314
|
+
});
|
315
|
+
|
316
|
+
describe('\'Browse ThinkSphere Items\' pagination section', () => {
|
317
|
+
abortEarlySetup();
|
318
|
+
it('Pagination section should be present', () => {
|
319
|
+
browseItemsPage.steps.verifyPaginationSection();
|
320
|
+
browseItemsPage.steps.verifyPaginationCount('1 - 20 of');
|
321
|
+
browseItemsPage.steps.verifyItemsOnPage(20);
|
322
|
+
});
|
323
|
+
|
324
|
+
it('CSS of \'Browse ThinkSphere Items\' pagination section', { tags: 'css' }, () => {
|
325
|
+
utilities.verifyCSS(utilities.getNthElement(browseItemsPage.paginationCountText(), 0), {
|
326
|
+
'color': css.color.labels,
|
327
|
+
'font-size': css.fontSize.small,
|
328
|
+
'font-weight': css.fontWeight.regular
|
329
|
+
});
|
330
|
+
utilities.getNthElement(browseItemsPage.paginationBlock(), 0)
|
331
|
+
.within(() => {
|
332
|
+
utilities.verifyCSS(browseItemsPage.buttonNext(), {
|
333
|
+
'box-shadow': `${css.color.secondaryBtnBorder} 0px 5px 0px 0px`,
|
334
|
+
'border': `1px solid ${css.color.secondaryBtnBorder}`,
|
335
|
+
'color': css.color.secondaryBtn,
|
336
|
+
'padding': '7px'
|
337
|
+
});
|
338
|
+
utilities.verifyCSS(browseItemsPage.buttonPrevious(), {
|
339
|
+
'opacity': '0.5',
|
340
|
+
'border': `1px solid ${css.color.secondaryBtnBorder}`,
|
341
|
+
'color': css.color.secondaryBtn,
|
342
|
+
'padding': '7px'
|
343
|
+
});
|
344
|
+
});
|
345
|
+
});
|
346
|
+
|
347
|
+
it('When user click on the next page button, then it should display the next page data', () => {
|
348
|
+
browseItemsPage.steps.clickOnNextPageButton();
|
349
|
+
browseItemsPage.steps.verifyPaginationCount('21 - 40 of');
|
350
|
+
});
|
351
|
+
|
352
|
+
it('When user click on the prev page button, then it should display the prev page data', () => {
|
353
|
+
browseItemsPage.steps.clickOnPreviousPageButton();
|
354
|
+
browseItemsPage.steps.verifyPaginationCount('1 - 20 of');
|
355
|
+
});
|
356
|
+
|
357
|
+
it('CSS of pagination section next button in hover state', { tags: 'css' }, () => {
|
358
|
+
browseItemsPage.steps.hoverOnNextPageButton();
|
359
|
+
utilities.getNthElement(browseItemsPage.paginationBlock(), 0)
|
360
|
+
.within(() => {
|
361
|
+
utilities.verifyCSS(browseItemsPage.buttonNext(), {
|
362
|
+
'border-color': css.color.primaryBtnBg,
|
363
|
+
'box-shadow': `${css.color.primaryBtnBg} 0px 3px 0px 0px`
|
364
|
+
});
|
365
|
+
});
|
366
|
+
});
|
367
|
+
});
|
368
|
+
});
|
@@ -20,8 +20,8 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
|
|
20
20
|
before(() => {
|
21
21
|
chartsBarPage.steps.navigateToCreateQuestion('charts');
|
22
22
|
cy.barsPreLoaderWait();
|
23
|
-
chartsBarPage.steps.selectHorizontalDirectionRadioButton();
|
24
23
|
chartsBarPage.steps.addTextInQuestionInstructionsInputField('Set the bar on the chart for the profits of the years');
|
24
|
+
chartsBarPage.steps.selectHorizontalDirectionRadioButton();
|
25
25
|
chartsBarPage.steps.selectAddBarOrPointToolbarOption();
|
26
26
|
chartsBarPage.steps.addBarOrPointInChartInSelectChartTypeSection();
|
27
27
|
chartsBarPage.steps.setGraphTitle('Graph of profits');
|
@@ -6,6 +6,7 @@ describe('Create item page - Charts - Bar: Partial different weights', () => {
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Charts - Bar: Partial different weights scoring', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -27,8 +28,7 @@ describe('Create item page - Charts - Bar: Partial different weights', () => {
|
|
27
28
|
chartsBarPage.steps.switchToPreviewTab();
|
28
29
|
});
|
29
30
|
|
30
|
-
|
31
|
-
it.skip('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct/incorrect icons should not be displayed for any bar, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
|
31
|
+
it('When the user selects \'Grading\' view without attempting the question, then user should be provided with 0 points, correct/incorrect icons should not be displayed for any bar, the correct answer should be displayed in the correct answer section graph and correct/incorrect status message should not be displayed', () => {
|
32
32
|
chartsBarPage.steps.switchToGradingView();
|
33
33
|
chartsBarPage.steps.verifyPreviewScore(0, 20);
|
34
34
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconNotExistsInPreviewTab(0);
|
@@ -6,6 +6,7 @@ describe('Create Item page - Charts - Bar: Partial different weights scoring wit
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question Preview: AutoScored - Partial different weights with alternative answer: When alternate answer points are more than correct answer points', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -6,6 +6,7 @@ describe('Create Item page - Charts - Bar: Partial different weights scoring wit
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question Preview: AutoScored - Partial different weights with alternative answer: When correct answer points are equal to alternative answer points', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -6,6 +6,7 @@ describe('Create Item page - Charts - Bar: Partial different weights scoring wit
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question Preview: AutoScored - Partial different weights with alternative answer: When correct answer points are more than alternative answer points', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
package/cypress/e2e/ILC/ChartsBar/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js
CHANGED
@@ -6,6 +6,7 @@ describe('Create Item page - List ordering: Preview tab scoring', () => {
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question preview: Auto scored - Partial different weights: Minimum scoring', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -6,6 +6,7 @@ describe('Create item page - Charts - Line: Partial different weights', () => {
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Charts - Line: Partial different weights scoring', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -6,6 +6,7 @@ describe('Create Item page - Charts - Line : Partial different weights scoring w
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question Preview: AutoScored - Partial different weights with alternative answer: When alternate answer points are more than correct answer points', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -6,6 +6,7 @@ describe('Create Item page - Charts - Line: Partial different weights scoring wi
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question Preview: AutoScored - Partial different weights with alternative answer: When correct answer points are equal to alternative answer points', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -6,6 +6,7 @@ describe('Create Item page - Charts - Line: Partial different weights scoring wi
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question Preview: AutoScored - Partial different weights with alternative answer: When correct answer points are more than alternative answer points', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
package/cypress/e2e/ILC/ChartsLine/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js
CHANGED
@@ -6,6 +6,7 @@ describe('Create Item page - List ordering: Preview tab scoring', () => {
|
|
6
6
|
cy.loginAs('admin');
|
7
7
|
});
|
8
8
|
|
9
|
+
//Failing due to https://weldnorthed.atlassian.net/browse/IEI-5954
|
9
10
|
describe('Question preview: Auto scored - Partial different weights: Minimum scoring', () => {
|
10
11
|
abortEarlySetup();
|
11
12
|
before(() => {
|
@@ -33,9 +33,7 @@ describe('Edit item - Charts -Line', () => {
|
|
33
33
|
|
34
34
|
it('User should be able to edit correct answer and save the question', () => {
|
35
35
|
chartsLinePage.steps.editItem();
|
36
|
-
chartsLinePage.steps.
|
37
|
-
chartsLinePage.steps.unlockPoint(0);
|
38
|
-
chartsLinePage.steps.setPointValueInSpecifyCorrectAnswerSection({pointIndex: 0, value: 3, range: 10 });
|
36
|
+
chartsLinePage.steps.setPointValueInSpecifyCorrectAnswerSection({pointIndex: 0, value: 2, range: 10 });
|
39
37
|
chartsLinePage.steps.setPointValueInSpecifyCorrectAnswerSection({pointIndex: 1, value: 6, range: 10 });
|
40
38
|
chartsLinePage.steps.saveAQuestionAndVerifySnackbar();
|
41
39
|
});
|
@@ -131,18 +131,17 @@ describe('Audio player: Edit tab', () => {
|
|
131
131
|
});
|
132
132
|
|
133
133
|
it('\'Source URL\' label and input field should not be displayed', () => {
|
134
|
-
utilities.verifyElementVisibilityState(multipleSelectionPage.sourceUrlLabel(), 'notExist');
|
135
134
|
utilities.verifyElementVisibilityState(audioPlayerPage.sourceUrlInputField(), 'notExist');
|
136
135
|
});
|
137
136
|
|
138
137
|
it('\'Upload\' label should be displayed', () => {
|
139
138
|
utilities.verifyInnerText(multipleSelectionPage.uploadLabel(), 'Upload');
|
140
|
-
utilities.verifyElementVisibilityState(multipleSelectionPage.uploadLabel(), '
|
139
|
+
utilities.verifyElementVisibilityState(multipleSelectionPage.uploadLabel(), 'exist');
|
141
140
|
});
|
142
141
|
|
143
142
|
it('\'File name\' label should be displayed', () => {
|
144
143
|
utilities.verifyInnerText(multipleSelectionPage.fileNameLabel(), 'File name');
|
145
|
-
utilities.verifyElementVisibilityState(multipleSelectionPage.fileNameLabel(), '
|
144
|
+
utilities.verifyElementVisibilityState(multipleSelectionPage.fileNameLabel(), 'exist');
|
146
145
|
});
|
147
146
|
|
148
147
|
it('\'Choose File\' button should be displayed', () => {
|
@@ -117,10 +117,8 @@ describe('Audio player: Edit tab', () => {
|
|
117
117
|
|
118
118
|
it('When the user adds the transcript file and file upload is inprogress, file name and progress bar should be displayed below \'File name\' label. Progress bar should disappear once file is uploaded', () => {
|
119
119
|
multipleSelectionPage.steps.uploadTranscriptFile('sample.txt');
|
120
|
-
utilities.verifyElementVisibilityState(multipleSelectionPage.transcriptFileUploadProgressBar(), 'visible');
|
121
120
|
utilities.verifyInnerText(multipleSelectionPage.uploadedTranscriptFileNameLabel(), 'sample.txt');
|
122
121
|
utilities.verifyElementVisibilityState(multipleSelectionPage.uploadedTranscriptFileNameLabel(), 'visible');
|
123
|
-
utilities.verifyElementVisibilityState(multipleSelectionPage.transcriptFileUploadProgressBar(), 'hidden');
|
124
122
|
});
|
125
123
|
|
126
124
|
it('CSS of progress bar and file name when file upload is in progress', { tags: 'css' }, () => {
|
@@ -182,9 +182,9 @@ describe('Audio player: Edit tab', () => {
|
|
182
182
|
|
183
183
|
it('\'Playback Limit\' label and empty input field should be displayed', () => {
|
184
184
|
utilities.verifyInnerText(multipleSelectionPage.playbackLimitLabel(), 'Playback Limit');
|
185
|
-
utilities.verifyElementVisibilityState(multipleSelectionPage.playbackLimitLabel(), '
|
185
|
+
utilities.verifyElementVisibilityState(multipleSelectionPage.playbackLimitLabel(), 'exist');
|
186
186
|
utilities.verifyInnerText(multipleSelectionPage.playbackLimitInputField(), '');
|
187
|
-
utilities.verifyElementVisibilityState(multipleSelectionPage.playbackLimitInputField(), '
|
187
|
+
utilities.verifyElementVisibilityState(multipleSelectionPage.playbackLimitInputField(), 'exist');
|
188
188
|
});
|
189
189
|
|
190
190
|
it('When the user focuses in and out of the \'Playback Limit\' input field, no error message should be displayed', () => {
|
@@ -228,7 +228,7 @@ describe('Audio player: Edit tab', () => {
|
|
228
228
|
|
229
229
|
it('\'Allow students to download the audio\' label and checkbox should be displayed. By default the \'Allow students to download the audio\' checkbox should be unchecked.', () => {
|
230
230
|
utilities.verifyInnerText(multipleSelectionPage.allowStudentsToDownloadAudioLabel(), 'Allow students to download the audio');
|
231
|
-
utilities.verifyElementVisibilityState(multipleSelectionPage.allowStudentsToDownloadAudioLabel(), '
|
231
|
+
utilities.verifyElementVisibilityState(multipleSelectionPage.allowStudentsToDownloadAudioLabel(), 'exist');
|
232
232
|
multipleSelectionPage.steps.verifyAllowStudentsToDownloadAudioCheckboxNotChecked();
|
233
233
|
});
|
234
234
|
|
@@ -44,8 +44,8 @@ describe('Equation Editor: Edit tab', () => {
|
|
44
44
|
utilities.verifyElementVisibilityState(multipleSelectionPage.equationEditorLabel(), 'visible');
|
45
45
|
utilities.verifyInnerText(multipleSelectionPage.okButton(), 'OK');
|
46
46
|
utilities.verifyElementVisibilityState(multipleSelectionPage.okButton(), 'visible');
|
47
|
-
utilities.verifyInnerText(multipleSelectionPage.
|
48
|
-
utilities.verifyElementVisibilityState(multipleSelectionPage.
|
47
|
+
utilities.verifyInnerText(multipleSelectionPage.editorCancelButton(), 'Cancel');
|
48
|
+
utilities.verifyElementVisibilityState(multipleSelectionPage.editorCancelButton(), 'visible');
|
49
49
|
});
|
50
50
|
|
51
51
|
it('\'Select Mode\' label with \'Editor\', \'LaTex code\' and \'MathML\' radio button should be displayed. Also \'ARIA label\' label should be displayed with chevron down icon.', () => {
|
@@ -84,7 +84,7 @@ describe('Equation Editor: Edit tab', () => {
|
|
84
84
|
|
85
85
|
it('When user writes any equation and clicks on cancel button it should not be visible on question instruction section', () => {
|
86
86
|
multipleSelectionPage.steps.writeEquationUsingTools();
|
87
|
-
multipleSelectionPage.steps.
|
87
|
+
multipleSelectionPage.steps.closeEquationEditor();
|
88
88
|
utilities.verifyElementVisibilityState(multipleSelectionPage.equationWrapper(), 'notExist');
|
89
89
|
});
|
90
90
|
|
@@ -93,7 +93,7 @@ describe('Equation Editor: Edit tab', () => {
|
|
93
93
|
multipleSelectionPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
|
94
94
|
multipleSelectionPage.steps.writeEquationUsingTools();
|
95
95
|
multipleSelectionPage.steps.clickOnOkButton();
|
96
|
-
utilities.verifyTextContent(multipleSelectionPage.equationInInputField(), '
|
96
|
+
utilities.verifyTextContent(multipleSelectionPage.equationInInputField(), 'N∨tan(N−P)');
|
97
97
|
});
|
98
98
|
});
|
99
99
|
|
@@ -152,7 +152,7 @@ describe('Insert Image: Edit tab', () => {
|
|
152
152
|
});
|
153
153
|
|
154
154
|
it('The changes and the pic should also be visible in the \'Preview Tab\'', () => {
|
155
|
-
multipleSelectionPage.steps.
|
155
|
+
multipleSelectionPage.steps.focusInAndOutOfQuestionInstructionsInputField();
|
156
156
|
multipleSelectionPage.steps.switchToPreviewTab();
|
157
157
|
multipleSelectionPage.steps.verifyCssOfImageInDifferentViews('300', '150', '5', '3', '10', 'Preview Tab');
|
158
158
|
});
|