itemengine-cypress-automation 1.0.210 → 1.0.211
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +1 -0
- package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -2
- package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/standardRecorderStyle.smoke.js +1 -0
- package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -2
- package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -0
- package/cypress/e2e/ILC/ChartsBar/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -0
- package/cypress/e2e/ILC/ChartsLine/chartFunctionalitySpecifyCorrectAnswerSection.js +254 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingBasicForGroupedOptionsLayout.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionAlternativePointsGreaterThanCorrectPoints.js +1 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perCorrectOptionBasic.js +5 -5
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneBasic.js +2 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsEqualToAlternativePoints.js +2 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/perDropzoneCorrectPointsGreaterThanAlternativePoints.js +3 -3
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/allOrNothingBasicForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +2 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettingsForGroupedLayout.js +2 -1
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -2
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +1 -1
- package/cypress/e2e/ILC/EssayResponse/editAndPreviewTabScoringSection.js +1 -1
- package/cypress/e2e/ILC/EssayResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -2
- package/cypress/e2e/ILC/EssayResponse/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/EssayResponseBasic/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -2
- package/cypress/e2e/ILC/EssayResponseBasic/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingGroupedScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/responseLevelAlternateAnswerBasicScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/allOrNothingForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/studentViewSettingsForGroupedLayout.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingGroupedScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/allOrNothingForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/responseLevelAlternateAnswersBasicScoring.js +1 -1
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +28 -14
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountAllOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountPartialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/cellShadeCountallOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/cellshadeCountAllOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/matchExactAndCellShadeCountCombinedScoring.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsBasic.js +2 -2
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/GridFill/scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/ImageHighlight/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/partialEqualWeightsBasic.js +2 -2
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsBasic.js +4 -4
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialEqualWeightsCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsBasic.js +2 -2
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/Matching/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/Matching/maximumCapacityPerDropzoneSection.js +29 -29
- package/cypress/e2e/ILC/Matching/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/Matching/studentViewSettingsForGroupedLayout.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingBasicForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +3 -3
- package/cypress/e2e/ILC/MultipleSelection/multipleSelectionBasicAccessibility.js +1 -1
- package/cypress/e2e/ILC/MultipleSelection/partialEqualWeightsWithAlternativeAnswer.js +3 -3
- package/cypress/e2e/ILC/MultipleSelectionGridNew/Scoring/partialEqualWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingBasicForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/ShortTextResponseNew/allOrNothingWithAlternativeAnswer.js +3 -3
- package/cypress/e2e/ILC/SingleSelection/allOrNothingBasicForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/SingleSelection/allOrNothingWithAlternativeAnswer.js +3 -3
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialEqualWeightsBasic.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingAlternatePointsMoreThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/allOrNothingCorrectPointsMoreThanAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/basicScoringForAllTextSelectionTypes.smoke.js +3 -3
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/TextSelection/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/TextSelection/studentViewSettings.js +1 -1
- package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -2
- package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/VideoResponseNew/editAndPreviewTabScoringSection.js +1 -1
- package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -2
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +1 -1
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +1 -1
- package/cypress/pages/components/maximumRecorderLengthComponent.js +4 -1
- package/cypress/pages/components/scoringSectionBaseEditTab.js +14 -3
- package/cypress/pages/dragAndDropIntoCategoriesPage.js +1 -1
- package/cypress/pages/feedbackScalePage.js +1 -1
- package/cypress/pages/index.js +0 -2
- package/cypress/pages/listOrderingPage.js +2 -2
- package/package.json +1 -1
- package/cypress/pages/highlightImagePage.js +0 -1320
- package/cypress/pages/highlightPage.js +0 -499
@@ -23,8 +23,8 @@ describe('Create item page - Essay response: Preview contents', () => {
|
|
23
23
|
cy.log('Navigating to Essay response question type');
|
24
24
|
essayResponsePage.steps.navigateToCreateQuestion('essay response');
|
25
25
|
cy.barsPreLoaderWait();
|
26
|
-
essayResponsePage.steps.addQuestionInstructions();
|
27
26
|
essayResponsePage.steps.allotPoints(10);
|
27
|
+
essayResponsePage.steps.addQuestionInstructions();
|
28
28
|
essayResponsePage.steps.switchToPreviewTab();
|
29
29
|
break;
|
30
30
|
case 'Item view':
|
@@ -18,8 +18,8 @@ describe('Create item page - Essay response - Basic: Grading view, Correct answe
|
|
18
18
|
cy.log('Navigating to Essay response - basic question type');
|
19
19
|
essayResponseBasicPage.steps.navigateToCreateQuestion('essay response - basic');
|
20
20
|
cy.barsPreLoaderWait();
|
21
|
-
essayResponseBasicPage.steps.addQuestionInstructions();
|
22
21
|
essayResponseBasicPage.steps.allotPoints(10);
|
22
|
+
essayResponseBasicPage.steps.addQuestionInstructions();
|
23
23
|
essayResponseBasicPage.steps.clickOnSaveQuestionButton();
|
24
24
|
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
25
25
|
//Global variable issue, not working inside before
|
@@ -82,8 +82,8 @@ describe('Create item page - Essay response - Basic: Grading view, Correct answe
|
|
82
82
|
cy.log('Navigating to Essay response - basic question type');
|
83
83
|
essayResponseBasicPage.steps.navigateToCreateQuestion('essay response - basic');
|
84
84
|
cy.barsPreLoaderWait();
|
85
|
-
essayResponseBasicPage.steps.addQuestionInstructions();
|
86
85
|
essayResponseBasicPage.steps.allotPoints(10);
|
86
|
+
essayResponseBasicPage.steps.addQuestionInstructions();
|
87
87
|
essayResponseBasicPage.steps.clickOnSaveQuestionButton();
|
88
88
|
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
89
89
|
//Global variable issue, not working inside before
|
@@ -22,8 +22,8 @@ describe('Create item page - Essay response - Basic: Preview contents', () => {
|
|
22
22
|
cy.log('Navigating to Essay response question type');
|
23
23
|
essayResponseBasicPage.steps.navigateToCreateQuestion('essay response - basic');
|
24
24
|
cy.barsPreLoaderWait();
|
25
|
-
essayResponseBasicPage.steps.addQuestionInstructions();
|
26
25
|
essayResponseBasicPage.steps.allotPoints(10);
|
26
|
+
essayResponseBasicPage.steps.addQuestionInstructions();
|
27
27
|
essayResponseBasicPage.steps.switchToPreviewTab();
|
28
28
|
break;
|
29
29
|
case 'Item view':
|
@@ -15,8 +15,8 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
|
|
15
15
|
fillInTheGapsDragAndDropPage.steps.addTextInQuestionInstructionsInputField('Drag and drop options into correct dropzone');
|
16
16
|
fillInTheGapsDragAndDropPage.steps.addResponseArea();
|
17
17
|
fillInTheGapsDragAndDropPage.steps.setGroupedOptions();
|
18
|
-
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Leaves': 1, 'Stem': 2 });
|
19
18
|
fillInTheGapsDragAndDropPage.steps.allotPoints(20);
|
19
|
+
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Leaves': 1, 'Stem': 2 });
|
20
20
|
//fillInTheGapsDragAndDropPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
21
21
|
fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
|
22
22
|
});
|
@@ -20,8 +20,8 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
|
|
20
20
|
fillInTheGapsDragAndDropPage.steps.allotPoints(10);
|
21
21
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Flower': 1, 'Leaves': 2 });
|
22
22
|
fillInTheGapsDragAndDropPage.steps.addAlternativeAnswerAccordion(1);
|
23
|
-
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
24
23
|
fillInTheGapsDragAndDropPage.steps.allotPoints(20);
|
24
|
+
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
25
25
|
//fillInTheGapsDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
26
26
|
fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
|
27
27
|
});
|
@@ -19,8 +19,8 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
|
|
19
19
|
fillInTheGapsDragAndDropPage.steps.allotPoints(20);
|
20
20
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Flower': 1, 'Leaves': 2 });
|
21
21
|
fillInTheGapsDragAndDropPage.steps.addAlternativeAnswerAccordion(1);
|
22
|
-
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
23
22
|
fillInTheGapsDragAndDropPage.steps.allotPoints(20);
|
23
|
+
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
24
24
|
//fillInTheGapsDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
25
25
|
fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
|
26
26
|
});
|
@@ -20,8 +20,8 @@ describe('Create item page - Fill in the gaps with drag and drop: All or nothing
|
|
20
20
|
fillInTheGapsDragAndDropPage.steps.allotPoints(20);
|
21
21
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Flower': 1, 'Leaves': 2 });
|
22
22
|
fillInTheGapsDragAndDropPage.steps.addAlternativeAnswerAccordion(1);
|
23
|
-
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
24
23
|
fillInTheGapsDragAndDropPage.steps.allotPoints(10);
|
24
|
+
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
25
25
|
//fillInTheGapsDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
26
26
|
fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
|
27
27
|
});
|
@@ -20,8 +20,8 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
20
20
|
fillInTheGapsDragAndDropPage.steps.allotPoints(9);
|
21
21
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Flower': 1, 'Leaves': 2 });
|
22
22
|
fillInTheGapsDragAndDropPage.steps.addAlternativeAnswerAccordion(1);
|
23
|
-
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
24
23
|
fillInTheGapsDragAndDropPage.steps.allotPoints(15);
|
24
|
+
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
25
25
|
//fillInTheGapsDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
26
26
|
fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
|
27
27
|
});
|
@@ -20,8 +20,8 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
20
20
|
fillInTheGapsDragAndDropPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
21
21
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Flower': 1, 'Leaves': 2 });
|
22
22
|
fillInTheGapsDragAndDropPage.steps.addAlternativeAnswerAccordion(1);
|
23
|
-
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
24
23
|
fillInTheGapsDragAndDropPage.steps.allotPoints(15);
|
24
|
+
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
25
25
|
//fillInTheGapsDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
26
26
|
fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
|
27
27
|
});
|
@@ -20,8 +20,8 @@ describe('Create item page - Fill in the gaps with drag and drop: Partial equal
|
|
20
20
|
fillInTheGapsDragAndDropPage.steps.allotPoints(15);
|
21
21
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Flower': 1, 'Leaves': 2 });
|
22
22
|
fillInTheGapsDragAndDropPage.steps.addAlternativeAnswerAccordion(1);
|
23
|
-
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
24
23
|
fillInTheGapsDragAndDropPage.steps.allotPoints(9);
|
24
|
+
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
25
25
|
//fillInTheGapsDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
26
26
|
fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
|
27
27
|
});
|
@@ -12,11 +12,11 @@ describe('Create item page - Fill in the gaps with drag and drop: Response level
|
|
12
12
|
fillInTheGapsDragAndDropPage.steps.navigateToCreateQuestion('fill in the gaps with drag and drop');
|
13
13
|
cy.barsPreLoaderWait();
|
14
14
|
fillInTheGapsDragAndDropPage.steps.addMultipleOptionFields(3);
|
15
|
+
fillInTheGapsDragAndDropPage.steps.allotPoints(10);
|
15
16
|
fillInTheGapsDragAndDropPage.steps.addInputToOptionsInputField(['Petals', 'Leaves', 'Bark', 'Stem', 'Trunk']);
|
16
17
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Bark': 1 });
|
17
18
|
fillInTheGapsDragAndDropPage.steps.setResponseLevelAlternateAnswer(0, ['Leaves']);
|
18
19
|
fillInTheGapsDragAndDropPage.steps.setResponseLevelAlternateAnswer(1, ['Stem', 'Trunk']);
|
19
|
-
fillInTheGapsDragAndDropPage.steps.allotPoints(10);
|
20
20
|
//fillInTheGapsDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
21
21
|
fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
|
22
22
|
});
|
@@ -55,9 +55,9 @@ describe('Create item page - Fill in the gaps - drag and drop: All or nothing ',
|
|
55
55
|
fillInTheGapsDragAndDropPage.steps.addTextInQuestionInstructionsInputField('Drag and drop options into correct dropzone');
|
56
56
|
fillInTheGapsDragAndDropPage.steps.addMultipleOptionFields(2);
|
57
57
|
fillInTheGapsDragAndDropPage.steps.addResponseArea();
|
58
|
+
fillInTheGapsDragAndDropPage.steps.allotPoints(20);
|
58
59
|
fillInTheGapsDragAndDropPage.steps.addInputToOptionsInputField(['Petals', 'Leaves', 'Roots', 'Stem']);
|
59
60
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Leaves': 1, 'Stem': 2 });
|
60
|
-
fillInTheGapsDragAndDropPage.steps.allotPoints(20);
|
61
61
|
fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
|
62
62
|
break;
|
63
63
|
case 'Item preview':
|
@@ -35,10 +35,10 @@ describe('Preview tab contents for all views', () => {
|
|
35
35
|
fillInTheGapsDragAndDropPage.steps.focusInOptionsInputField(1);
|
36
36
|
fillInTheGapsDragAndDropPage.steps.selectBoldOptionFromCKEditorToolbar();
|
37
37
|
fillInTheGapsDragAndDropPage.steps.addBoldTextInputToOptionsInputField(1);
|
38
|
+
fillInTheGapsDragAndDropPage.steps.allotPoints(10);
|
38
39
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 2 });
|
39
40
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Solve the following': 1 });
|
40
41
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'This is a bold option': 0 });
|
41
|
-
fillInTheGapsDragAndDropPage.steps.allotPoints(10);
|
42
42
|
fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
|
43
43
|
break;
|
44
44
|
case 'Item view':
|
@@ -242,10 +242,10 @@ describe('Create Item page - Fill in the gaps with drag and drop: Student view s
|
|
242
242
|
fillInTheGapsDragAndDropPage.steps.addResponseArea();
|
243
243
|
fillInTheGapsDragAndDropPage.steps.addMultipleOptionFields(2);
|
244
244
|
fillInTheGapsDragAndDropPage.steps.addInputToOptionsInputField(options.slice(0, 4));
|
245
|
+
fillInTheGapsDragAndDropPage.steps.allotPoints(5);
|
245
246
|
fillInTheGapsDragAndDropPage.steps.checkAllowMultipleInstancesOfSameDraggableOptionCheckbox();
|
246
247
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0 });
|
247
248
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 1 });
|
248
|
-
fillInTheGapsDragAndDropPage.steps.allotPoints(5);
|
249
249
|
fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
|
250
250
|
});
|
251
251
|
|
@@ -224,10 +224,10 @@ describe('Create Item page - Fill in the gaps with drag and drop: Student view s
|
|
224
224
|
fillInTheGapsDragAndDropPage.steps.addGroupTitle(groupTitles[0]);
|
225
225
|
fillInTheGapsDragAndDropPage.steps.addMultipleOptionFields(2);
|
226
226
|
fillInTheGapsDragAndDropPage.steps.addInputToOptionsInputField(flowers[0]);
|
227
|
+
fillInTheGapsDragAndDropPage.steps.allotPoints(5);
|
227
228
|
fillInTheGapsDragAndDropPage.steps.checkAllowMultipleInstancesOfSameDraggableOptionCheckbox();
|
228
229
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Flower': 0 });
|
229
230
|
fillInTheGapsDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Flower': 1 });
|
230
|
-
fillInTheGapsDragAndDropPage.steps.allotPoints(5);
|
231
231
|
fillInTheGapsDragAndDropPage.steps.switchToPreviewTab();
|
232
232
|
});
|
233
233
|
|
@@ -28,10 +28,10 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
28
28
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, correctAnswerArray[1]);
|
29
29
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(2, correctAnswerArray[2]);
|
30
30
|
fillInTheGapsDropdownPage.steps.addAlternativeAnswerAccordion(1);
|
31
|
+
fillInTheGapsDropdownPage.steps.allotPoints(20);
|
31
32
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, alternateAnswerArray[0]);
|
32
33
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, alternateAnswerArray[1]);
|
33
34
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(2, alternateAnswerArray[2]);
|
34
|
-
fillInTheGapsDropdownPage.steps.allotPoints(20);
|
35
35
|
//fillInTheGapsDropdownPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
36
36
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
37
37
|
});
|
@@ -27,10 +27,10 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
27
27
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, correctAnswerArray[1]);
|
28
28
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(2, correctAnswerArray[2]);
|
29
29
|
fillInTheGapsDropdownPage.steps.addAlternativeAnswerAccordion(1);
|
30
|
+
fillInTheGapsDropdownPage.steps.allotPoints(20);
|
30
31
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, alternateAnswerArray[0]);
|
31
32
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, alternateAnswerArray[1]);
|
32
33
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(2, alternateAnswerArray[2]);
|
33
|
-
fillInTheGapsDropdownPage.steps.allotPoints(20);
|
34
34
|
//fillInTheGapsDropdownPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
35
35
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
36
36
|
});
|
@@ -30,10 +30,10 @@ describe('Create item page - Fill in the gaps with dropdown: All or nothing with
|
|
30
30
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, correctAnswerArray[1]);
|
31
31
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(2, correctAnswerArray[2]);
|
32
32
|
fillInTheGapsDropdownPage.steps.addAlternativeAnswerAccordion(1);
|
33
|
+
fillInTheGapsDropdownPage.steps.allotPoints(10);
|
33
34
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, alternateAnswerArray[0]);
|
34
35
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, alternateAnswerArray[1]);
|
35
36
|
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(2, alternateAnswerArray[2]);
|
36
|
-
fillInTheGapsDropdownPage.steps.allotPoints(10);
|
37
37
|
//fillInTheGapsDropdownPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
38
38
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
39
39
|
});
|
package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/allOrNothingGroupedScoring.js
CHANGED
@@ -15,6 +15,7 @@ describe('Create item page - Fill in the gaps over image - drag and drop: All or
|
|
15
15
|
fillInTheGapsOverImageDragAndDropPage.steps.addTextInQuestionInstructionsInputField('Drag and drop options into correct dropzone');
|
16
16
|
fillInTheGapsOverImageDragAndDropPage.steps.uploadFile('highlightImage.jpg');
|
17
17
|
fillInTheGapsOverImageDragAndDropPage.steps.verifyImageIsUploaded();
|
18
|
+
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(20);
|
18
19
|
fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(10);
|
19
20
|
fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(40);
|
20
21
|
fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(80);
|
@@ -22,7 +23,6 @@ describe('Create item page - Fill in the gaps over image - drag and drop: All or
|
|
22
23
|
fillInTheGapsOverImageDragAndDropPage.steps.selectOptionFromMaxCapacityPerDropzoneDropdown('2');
|
23
24
|
fillInTheGapsOverImageDragAndDropPage.steps.setGroupedOptions();
|
24
25
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Leaves': 1, 'Stem': 2 });
|
25
|
-
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(20);
|
26
26
|
//fillInTheGapsOverImageDragAndDropPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
27
27
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
28
28
|
});
|
@@ -24,8 +24,8 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
24
24
|
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(10);
|
25
25
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Flower': 1, 'Leaves': 2 });
|
26
26
|
fillInTheGapsOverImageDragAndDropPage.steps.addAlternativeAnswerAccordion(1);
|
27
|
-
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
28
27
|
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(20);
|
28
|
+
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
29
29
|
//fillInTheGapsOverImageDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
30
30
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
31
31
|
});
|
@@ -23,8 +23,8 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
23
23
|
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(20);
|
24
24
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Flower': 1, 'Leaves': 2 });
|
25
25
|
fillInTheGapsOverImageDragAndDropPage.steps.addAlternativeAnswerAccordion(1);
|
26
|
-
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
27
26
|
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(20);
|
27
|
+
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
28
28
|
//fillInTheGapsOverImageDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
29
29
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
30
30
|
});
|
@@ -24,8 +24,8 @@ describe('Create item page - Fill in the gaps over image with drag and drop: All
|
|
24
24
|
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(20);
|
25
25
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Flower': 1, 'Leaves': 2 });
|
26
26
|
fillInTheGapsOverImageDragAndDropPage.steps.addAlternativeAnswerAccordion(1);
|
27
|
-
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
28
27
|
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(10);
|
28
|
+
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
29
29
|
//fillInTheGapsOverImageDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
30
30
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
31
31
|
});
|
package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/Scoring/partialEqualWeightsBasic.js
CHANGED
@@ -19,10 +19,10 @@ describe('Create item page - Fill in the gaps over image - drag and drop: Partia
|
|
19
19
|
fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(10);
|
20
20
|
fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(40);
|
21
21
|
fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(80);
|
22
|
+
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(15);
|
22
23
|
fillInTheGapsOverImageDragAndDropPage.steps.addInputToOptionsInputField(['Petals', 'Leaves', 'Roots', 'Flower']);
|
23
24
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Flower': 1, 'Leaves': 2 });
|
24
25
|
fillInTheGapsOverImageDragAndDropPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
25
|
-
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(15);
|
26
26
|
//fillInTheGapsOverImageDragAndDropPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
27
27
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
28
28
|
});
|
@@ -24,8 +24,8 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
24
24
|
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(9);
|
25
25
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Flower': 1, 'Leaves': 2 });
|
26
26
|
fillInTheGapsOverImageDragAndDropPage.steps.addAlternativeAnswerAccordion(1);
|
27
|
-
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
28
27
|
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(15);
|
28
|
+
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
29
29
|
//fillInTheGapsOverImageDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
30
30
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
31
31
|
});
|
@@ -24,8 +24,8 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
24
24
|
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(15);
|
25
25
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Flower': 1, 'Leaves': 2 });
|
26
26
|
fillInTheGapsOverImageDragAndDropPage.steps.addAlternativeAnswerAccordion(1);
|
27
|
-
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
28
27
|
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(15);
|
28
|
+
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
29
29
|
//fillInTheGapsOverImageDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
30
30
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
31
31
|
});
|
@@ -24,8 +24,8 @@ describe('Create item page - Fill in the gaps over image with drag and drop: Par
|
|
24
24
|
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(15);
|
25
25
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Flower': 1, 'Leaves': 2 });
|
26
26
|
fillInTheGapsOverImageDragAndDropPage.steps.addAlternativeAnswerAccordion(1);
|
27
|
-
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
28
27
|
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(9);
|
28
|
+
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Stem': 1, 'Seed': 2 });
|
29
29
|
//fillInTheGapsOverImageDragAndDropPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
30
30
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
31
31
|
});
|
@@ -63,9 +63,9 @@ describe('Create item page - Fill in the gaps over image - drag and drop: All or
|
|
63
63
|
fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(10);
|
64
64
|
fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(40);
|
65
65
|
fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(80);
|
66
|
+
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(20);
|
66
67
|
fillInTheGapsOverImageDragAndDropPage.steps.addInputToOptionsInputField(['Petals', 'Leaves', 'Roots', 'Stem']);
|
67
68
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'Leaves': 1, 'Stem': 2 });
|
68
|
-
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(20);
|
69
69
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
70
70
|
break;
|
71
71
|
case 'Item preview':
|
package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/previewContentsForAllViews.smoke.js
CHANGED
@@ -26,6 +26,7 @@ describe('Preview tab contents for all views', () => {
|
|
26
26
|
fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(10);
|
27
27
|
fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(40);
|
28
28
|
fillInTheGapsOverImageDragAndDropPage.steps.insertResponseArea(80);
|
29
|
+
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(10);
|
29
30
|
fillInTheGapsOverImageDragAndDropPage.steps.insertTextArea(20, 'This is a text area');
|
30
31
|
cy.log('Add image to option input field')
|
31
32
|
fillInTheGapsOverImageDragAndDropPage.steps.enterTextInOptionInputField(0, 'Petals');
|
@@ -42,7 +43,6 @@ describe('Preview tab contents for all views', () => {
|
|
42
43
|
fillInTheGapsOverImageDragAndDropPage.steps.selectEquationEditorOptionFromCKEditorToolbar();
|
43
44
|
fillInTheGapsOverImageDragAndDropPage.steps.addGenericEquationUsingEquationEditorToCKEditorInputField();
|
44
45
|
fillInTheGapsOverImageDragAndDropPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection({ 'Petals': 0, 'This is a bold option': 1, 'Solve the following': 2 });
|
45
|
-
fillInTheGapsOverImageDragAndDropPage.steps.allotPoints(10);
|
46
46
|
fillInTheGapsOverImageDragAndDropPage.steps.switchToPreviewTab();
|
47
47
|
break;
|
48
48
|
case 'Item view':
|
@@ -31,10 +31,10 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
31
31
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, correctAnswerArray[1]);
|
32
32
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(2, correctAnswerArray[2]);
|
33
33
|
fillInTheGapsOverImageDropdownPage.steps.addAlternativeAnswerAccordion(1);
|
34
|
+
fillInTheGapsOverImageDropdownPage.steps.allotPoints(20);
|
34
35
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, alternateAnswerArray[0]);
|
35
36
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, alternateAnswerArray[1]);
|
36
37
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(2, alternateAnswerArray[2]);
|
37
|
-
fillInTheGapsOverImageDropdownPage.steps.allotPoints(20);
|
38
38
|
//fillInTheGapsOverImageDropdownPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
39
39
|
fillInTheGapsOverImageDropdownPage.steps.switchToPreviewTab();
|
40
40
|
});
|
@@ -31,10 +31,10 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
31
31
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, correctAnswerArray[1]);
|
32
32
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(2, correctAnswerArray[2]);
|
33
33
|
fillInTheGapsOverImageDropdownPage.steps.addAlternativeAnswerAccordion(1);
|
34
|
+
fillInTheGapsOverImageDropdownPage.steps.allotPoints(20);
|
34
35
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, alternateAnswerArray[0]);
|
35
36
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, alternateAnswerArray[1]);
|
36
37
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(2, alternateAnswerArray[2]);
|
37
|
-
fillInTheGapsOverImageDropdownPage.steps.allotPoints(20);
|
38
38
|
//fillInTheGapsOverImageDropdownPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
39
39
|
fillInTheGapsOverImageDropdownPage.steps.switchToPreviewTab();
|
40
40
|
});
|
@@ -34,10 +34,10 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
34
34
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, correctAnswerArray[1]);
|
35
35
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(2, correctAnswerArray[2]);
|
36
36
|
fillInTheGapsOverImageDropdownPage.steps.addAlternativeAnswerAccordion(1);
|
37
|
+
fillInTheGapsOverImageDropdownPage.steps.allotPoints(10);
|
37
38
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, alternateAnswerArray[0]);
|
38
39
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, alternateAnswerArray[1]);
|
39
40
|
fillInTheGapsOverImageDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(2, alternateAnswerArray[2]);
|
40
|
-
fillInTheGapsOverImageDropdownPage.steps.allotPoints(10);
|
41
41
|
//fillInTheGapsOverImageDropdownPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
42
42
|
fillInTheGapsOverImageDropdownPage.steps.switchToPreviewTab();
|
43
43
|
});
|
@@ -21,8 +21,8 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
|
|
21
21
|
fillInTheGapsOverImageTextPage.steps.allotPoints(10);
|
22
22
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Stem' }]);
|
23
23
|
fillInTheGapsOverImageTextPage.steps.addAlternativeAnswerAccordion(1);
|
24
|
-
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Stem' }]);
|
25
24
|
fillInTheGapsOverImageTextPage.steps.allotPoints(20);
|
25
|
+
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Stem' }]);
|
26
26
|
//fillInTheGapsOverImageTextPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
27
27
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
28
28
|
});
|
@@ -19,8 +19,8 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
|
|
19
19
|
fillInTheGapsOverImageTextPage.steps.allotPoints(20);
|
20
20
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Stem' }]);
|
21
21
|
fillInTheGapsOverImageTextPage.steps.addAlternativeAnswerAccordion(1);
|
22
|
-
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Stem' }]);
|
23
22
|
fillInTheGapsOverImageTextPage.steps.allotPoints(20);
|
23
|
+
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Stem' }]);
|
24
24
|
//fillInTheGapsOverImageTextPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
25
25
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
26
26
|
});
|
@@ -21,8 +21,8 @@ describe('Create item page - Fill in the gaps over image with text: All or nothi
|
|
21
21
|
fillInTheGapsOverImageTextPage.steps.allotPoints(20);
|
22
22
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Stem' }]);
|
23
23
|
fillInTheGapsOverImageTextPage.steps.addAlternativeAnswerAccordion(1);
|
24
|
-
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Stem' }]);
|
25
24
|
fillInTheGapsOverImageTextPage.steps.allotPoints(10);
|
25
|
+
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Stem' }]);
|
26
26
|
//fillInTheGapsOverImageTextPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
27
27
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
28
28
|
});
|
@@ -16,9 +16,9 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
16
16
|
fillInTheGapsOverImageTextPage.steps.insertResponseArea(30);
|
17
17
|
fillInTheGapsOverImageTextPage.steps.insertResponseArea(40);
|
18
18
|
fillInTheGapsOverImageTextPage.steps.insertResponseArea(80);
|
19
|
-
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Stem' }]);
|
20
19
|
fillInTheGapsOverImageTextPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
21
20
|
fillInTheGapsOverImageTextPage.steps.allotPoints(15);
|
21
|
+
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Stem' }]);
|
22
22
|
//fillInTheGapsOverImageTextPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
23
23
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
24
24
|
});
|
@@ -103,9 +103,9 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
103
103
|
fillInTheGapsOverImageTextPage.steps.insertResponseArea(10);
|
104
104
|
fillInTheGapsOverImageTextPage.steps.insertResponseArea(40);
|
105
105
|
fillInTheGapsOverImageTextPage.steps.insertResponseArea(80);
|
106
|
-
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Stem' }]);
|
107
106
|
fillInTheGapsOverImageTextPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
108
107
|
fillInTheGapsOverImageTextPage.steps.allotPoints(20);
|
108
|
+
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Stem' }]);
|
109
109
|
//fillInTheGapsOverImageTextPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
110
110
|
});
|
111
111
|
|
@@ -20,8 +20,8 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
20
20
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Stem' }]);
|
21
21
|
fillInTheGapsOverImageTextPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
22
22
|
fillInTheGapsOverImageTextPage.steps.addAlternativeAnswerAccordion(1);
|
23
|
-
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Stem' }]);
|
24
23
|
fillInTheGapsOverImageTextPage.steps.allotPoints(15);
|
24
|
+
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Stem' }]);
|
25
25
|
//fillInTheGapsOverImageTextPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
26
26
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
27
27
|
});
|
@@ -20,8 +20,8 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
20
20
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Stem' }]);
|
21
21
|
fillInTheGapsOverImageTextPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
22
22
|
fillInTheGapsOverImageTextPage.steps.addAlternativeAnswerAccordion(1);
|
23
|
-
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Stem' }]);
|
24
23
|
fillInTheGapsOverImageTextPage.steps.allotPoints(15);
|
24
|
+
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Stem' }]);
|
25
25
|
//fillInTheGapsOverImageTextPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
26
26
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
27
27
|
});
|
@@ -20,8 +20,8 @@ describe('Create item page - Fill in the gaps over image with text: Partial equa
|
|
20
20
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }, { responseIndex: 1, responseText: 'Leaf' }, { responseIndex: 2, responseText: 'Stem' }]);
|
21
21
|
fillInTheGapsOverImageTextPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
22
22
|
fillInTheGapsOverImageTextPage.steps.addAlternativeAnswerAccordion(1);
|
23
|
-
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Stem' }]);
|
24
23
|
fillInTheGapsOverImageTextPage.steps.allotPoints(9);
|
24
|
+
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Petals' }, { responseIndex: 1, responseText: 'Leaves' }, { responseIndex: 2, responseText: 'Stem' }]);
|
25
25
|
//fillInTheGapsOverImageTextPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
26
26
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
27
27
|
});
|
@@ -14,10 +14,10 @@ describe('Create item page - Fill in the gaps over image with text: Response lev
|
|
14
14
|
fillInTheGapsOverImageTextPage.steps.uploadFile('highlightImage.jpg');
|
15
15
|
fillInTheGapsOverImageTextPage.steps.verifyImageIsUploaded();
|
16
16
|
fillInTheGapsOverImageTextPage.steps.insertResponseArea(30);
|
17
|
+
fillInTheGapsOverImageTextPage.steps.allotPoints(15);
|
17
18
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 0, responseText: 'Flower' }]);
|
18
19
|
fillInTheGapsOverImageTextPage.steps.addAlternateAnswerInResponseAccordion(0);
|
19
20
|
fillInTheGapsOverImageTextPage.steps.enterTextInAnswerInputFieldsSpecifyCorrectAnswerSection([{ responseIndex: 1, responseText: 'Fruit' }]);
|
20
|
-
fillInTheGapsOverImageTextPage.steps.allotPoints(15);
|
21
21
|
//fillInTheGapsOverImageTextPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
22
22
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
23
23
|
});
|
@@ -34,6 +34,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
34
34
|
graphingPage.steps.allotPoints(12);
|
35
35
|
//Alternative answer
|
36
36
|
graphingPage.steps.addAlternativeAnswerAccordion(1);
|
37
|
+
graphingPage.steps.allotPoints(20);
|
37
38
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Vector');
|
38
39
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
39
40
|
graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
@@ -41,7 +42,6 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
41
42
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Circle');
|
42
43
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
|
43
44
|
graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
|
44
|
-
graphingPage.steps.allotPoints(20);
|
45
45
|
//graphingPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
46
46
|
graphingPage.steps.switchToPreviewTab();
|
47
47
|
});
|
package/cypress/e2e/ILC/Graphing/Scoring/allOrNothingWithCorrectPointsEqualToAlternatePoints.js
CHANGED
@@ -34,6 +34,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
34
34
|
graphingPage.steps.allotPoints(20);
|
35
35
|
//Alternative answer
|
36
36
|
graphingPage.steps.addAlternativeAnswerAccordion(1);
|
37
|
+
graphingPage.steps.allotPoints(20);
|
37
38
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Vector');
|
38
39
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
39
40
|
graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
@@ -41,7 +42,6 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
41
42
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Circle');
|
42
43
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
|
43
44
|
graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
|
44
|
-
graphingPage.steps.allotPoints(20);
|
45
45
|
//graphingPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
46
46
|
graphingPage.steps.switchToPreviewTab();
|
47
47
|
});
|
@@ -34,6 +34,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
34
34
|
graphingPage.steps.allotPoints(20);
|
35
35
|
//Alternative answer
|
36
36
|
graphingPage.steps.addAlternativeAnswerAccordion(1);
|
37
|
+
graphingPage.steps.allotPoints(12);
|
37
38
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Vector');
|
38
39
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
39
40
|
graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
@@ -41,7 +42,6 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
|
|
41
42
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Circle');
|
42
43
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
|
43
44
|
graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
|
44
|
-
graphingPage.steps.allotPoints(12);
|
45
45
|
//graphingPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
46
46
|
graphingPage.steps.switchToPreviewTab();
|
47
47
|
});
|