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
@@ -35,10 +35,10 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
35
35
|
|
36
36
|
it('When the user sets correct answer responses and allots points, then the alloted points should be displayed in the preview tab', () => {
|
37
37
|
graphingPage.steps.switchToEditTab();
|
38
|
+
graphingPage.steps.allotPoints(20);
|
38
39
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Polygon');
|
39
40
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }, { x: -3, xRange: 20, y: 4, yRange: 20 }]);
|
40
41
|
graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: -3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 3, xRange: 20, y: -4, yRange: 20 }, { x: -3, xRange: 20, y: 4, yRange: 20 }]);
|
41
|
-
graphingPage.steps.allotPoints(20);
|
42
42
|
graphingPage.steps.switchToPreviewTab();
|
43
43
|
graphingPage.steps.verifyPreviewScore(0, 20);
|
44
44
|
});
|
@@ -62,6 +62,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
62
62
|
case 'Question preview':
|
63
63
|
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
64
64
|
cy.barsPreLoaderWait();
|
65
|
+
graphingPage.steps.allotPoints(20);
|
65
66
|
graphingPage.steps.addTextInQuestionInstructionsInputField('Plot the graph');
|
66
67
|
graphingPage.steps.selectToolOptions(unselectedToolOption);
|
67
68
|
graphingPage.steps.checkPatternBackground();
|
@@ -77,7 +78,6 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
77
78
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Vector');
|
78
79
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
79
80
|
graphingPage.steps.verifyPointsPlottedOnSpecifyCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
|
80
|
-
graphingPage.steps.allotPoints(20);
|
81
81
|
graphingPage.steps.switchToPreviewTab();
|
82
82
|
break;
|
83
83
|
case 'Item preview':
|
@@ -303,6 +303,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
303
303
|
before(() => {
|
304
304
|
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
305
305
|
cy.barsPreLoaderWait();
|
306
|
+
graphingPage.steps.allotPoints(20);
|
306
307
|
graphingPage.steps.addTextInQuestionInstructionsInputField('Plot the graph');
|
307
308
|
graphingPage.steps.checkPatternBackground();
|
308
309
|
graphingPage.steps.selectGraphToolOptionEditTab('Line');
|
@@ -310,7 +311,6 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
310
311
|
graphingPage.steps.verifyPointsPlottedOnEditTabGraph([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
311
312
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Line');
|
312
313
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: -4, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 4, yRange: 20 }]);
|
313
|
-
graphingPage.steps.allotPoints(20);
|
314
314
|
graphingPage.steps.switchToPreviewTab();
|
315
315
|
});
|
316
316
|
|
@@ -362,11 +362,12 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
362
362
|
});
|
363
363
|
});
|
364
364
|
|
365
|
-
describe('Graphing: Point
|
365
|
+
describe('Graphing: Point tool - All or nothing', { tags: 'smoke' }, () => {
|
366
366
|
abortEarlySetup();
|
367
367
|
before(() => {
|
368
368
|
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
369
369
|
cy.barsPreLoaderWait();
|
370
|
+
graphingPage.steps.allotPoints(20);
|
370
371
|
graphingPage.steps.addTextInQuestionInstructionsInputField('Plot the graph');
|
371
372
|
graphingPage.steps.checkPatternBackground();
|
372
373
|
graphingPage.steps.selectGraphToolOptionEditTab('Line');
|
@@ -374,7 +375,6 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
374
375
|
graphingPage.steps.verifyPointsPlottedOnEditTabGraph([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
375
376
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Point');
|
376
377
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 1, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 3, yRange: 20 }]);
|
377
|
-
graphingPage.steps.allotPoints(20);
|
378
378
|
graphingPage.steps.switchToPreviewTab();
|
379
379
|
});
|
380
380
|
|
@@ -404,10 +404,24 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
404
404
|
graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: -4, xRange: 20, y: -2, yRange: 20 }])
|
405
405
|
graphingPage.steps.verifyCorrectIncorrectAnswerLabel('incorrect');
|
406
406
|
});
|
407
|
+
});
|
408
|
+
|
409
|
+
describe('Graphing: Label tool - All or nothing', { tags: 'smoke' }, () => {
|
410
|
+
abortEarlySetup();
|
411
|
+
before(() => {
|
412
|
+
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
413
|
+
cy.barsPreLoaderWait();
|
414
|
+
graphingPage.steps.allotPoints(20);
|
415
|
+
graphingPage.steps.addTextInQuestionInstructionsInputField('Plot the graph');
|
416
|
+
graphingPage.steps.checkPatternBackground();
|
417
|
+
graphingPage.steps.selectGraphToolOptionEditTab('Line');
|
418
|
+
graphingPage.steps.plotPointsOnGraphEditTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
419
|
+
graphingPage.steps.verifyPointsPlottedOnEditTabGraph([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
420
|
+
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Point');
|
421
|
+
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 1, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 3, yRange: 20 }]);
|
422
|
+
});
|
407
423
|
|
408
|
-
//Label
|
409
424
|
it('When the user tries to add an label without attempting the question, the user should not be able to do so', () => {
|
410
|
-
graphingPage.steps.switchToEditTab();
|
411
425
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Label');
|
412
426
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 1, xRange: 20, y: 1, yRange: 20 }]);
|
413
427
|
graphingPage.steps.enterTextInGraphLabelInputField('This is a text label');
|
@@ -485,6 +499,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
485
499
|
before(() => {
|
486
500
|
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
487
501
|
cy.barsPreLoaderWait();
|
502
|
+
graphingPage.steps.allotPoints(20);
|
488
503
|
graphingPage.steps.addTextInQuestionInstructionsInputField('Plot the graph');
|
489
504
|
graphingPage.steps.checkPatternBackground();
|
490
505
|
graphingPage.steps.selectGraphToolOptionEditTab('Line');
|
@@ -492,7 +507,6 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
492
507
|
graphingPage.steps.verifyPointsPlottedOnEditTabGraph([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
493
508
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Ray');
|
494
509
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 6, yRange: 20 }]);
|
495
|
-
graphingPage.steps.allotPoints(20);
|
496
510
|
graphingPage.steps.switchToPreviewTab();
|
497
511
|
});
|
498
512
|
|
@@ -539,6 +553,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
539
553
|
before(() => {
|
540
554
|
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
541
555
|
cy.barsPreLoaderWait();
|
556
|
+
graphingPage.steps.allotPoints(20);
|
542
557
|
graphingPage.steps.addTextInQuestionInstructionsInputField('Plot the graph');
|
543
558
|
graphingPage.steps.selectToolOptions(['Polygon']);
|
544
559
|
graphingPage.steps.checkPatternBackground();
|
@@ -547,7 +562,6 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
547
562
|
graphingPage.steps.verifyPointsPlottedOnEditTabGraph([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
548
563
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Segment');
|
549
564
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 2, xRange: 20, y: 2, yRange: 20 }, { x: 2, xRange: 20, y: -2, yRange: 20 }, { x: 2, xRange: 20, y: -2, yRange: 20 }, { x: -2, xRange: 20, y: -2, yRange: 20 }, { x: -2, xRange: 20, y: -2, yRange: 20 }, { x: 2, xRange: 20, y: -2, yRange: 20 }, { x: 2, xRange: 20, y: 2, yRange: 20 }]);
|
550
|
-
graphingPage.steps.allotPoints(20);
|
551
565
|
graphingPage.steps.switchToPreviewTab();
|
552
566
|
});
|
553
567
|
|
@@ -583,6 +597,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
583
597
|
before(() => {
|
584
598
|
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
585
599
|
cy.barsPreLoaderWait();
|
600
|
+
graphingPage.steps.allotPoints(20);
|
586
601
|
graphingPage.steps.addTextInQuestionInstructionsInputField('Plot the graph');
|
587
602
|
graphingPage.steps.checkPatternBackground();
|
588
603
|
graphingPage.steps.selectGraphToolOptionEditTab('Line');
|
@@ -590,7 +605,6 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
590
605
|
graphingPage.steps.verifyPointsPlottedOnEditTabGraph([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
591
606
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Vector');
|
592
607
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: -4, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 4, yRange: 20 }]);
|
593
|
-
graphingPage.steps.allotPoints(20);
|
594
608
|
graphingPage.steps.switchToPreviewTab();
|
595
609
|
});
|
596
610
|
|
@@ -626,6 +640,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
626
640
|
before(() => {
|
627
641
|
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
628
642
|
cy.barsPreLoaderWait();
|
643
|
+
graphingPage.steps.allotPoints(20);
|
629
644
|
graphingPage.steps.addTextInQuestionInstructionsInputField('Plot the graph');
|
630
645
|
graphingPage.steps.selectToolOptions(['Circle']);
|
631
646
|
graphingPage.steps.checkPatternBackground();
|
@@ -634,7 +649,6 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
634
649
|
graphingPage.steps.verifyPointsPlottedOnEditTabGraph([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
635
650
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Circle');
|
636
651
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
|
637
|
-
graphingPage.steps.allotPoints(20);
|
638
652
|
graphingPage.steps.switchToPreviewTab();
|
639
653
|
});
|
640
654
|
|
@@ -679,6 +693,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
679
693
|
before(() => {
|
680
694
|
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
681
695
|
cy.barsPreLoaderWait();
|
696
|
+
graphingPage.steps.allotPoints(20);
|
682
697
|
graphingPage.steps.addTextInQuestionInstructionsInputField('Plot the graph');
|
683
698
|
graphingPage.steps.selectToolOptions(['Parabola']);
|
684
699
|
graphingPage.steps.checkPatternBackground();
|
@@ -687,7 +702,6 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
687
702
|
graphingPage.steps.verifyPointsPlottedOnEditTabGraph([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
688
703
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Parabola');
|
689
704
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 1, xRange: 20, y: 1, yRange: 20 }]);
|
690
|
-
graphingPage.steps.allotPoints(20);
|
691
705
|
graphingPage.steps.switchToPreviewTab();
|
692
706
|
});
|
693
707
|
|
@@ -732,6 +746,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
732
746
|
before(() => {
|
733
747
|
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
734
748
|
cy.barsPreLoaderWait();
|
749
|
+
graphingPage.steps.allotPoints(20);
|
735
750
|
graphingPage.steps.addTextInQuestionInstructionsInputField('Plot the graph');
|
736
751
|
graphingPage.steps.selectToolOptions(['Sine']);
|
737
752
|
graphingPage.steps.checkPatternBackground();
|
@@ -740,7 +755,6 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
740
755
|
graphingPage.steps.verifyPointsPlottedOnEditTabGraph([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
|
741
756
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Sine');
|
742
757
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 1, xRange: 20, y: 1, yRange: 20 }]);
|
743
|
-
graphingPage.steps.allotPoints(20);
|
744
758
|
graphingPage.steps.switchToPreviewTab();
|
745
759
|
});
|
746
760
|
|
@@ -785,6 +799,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
785
799
|
before(() => {
|
786
800
|
graphingPage.steps.navigateToCreateQuestion('Graphing');
|
787
801
|
cy.barsPreLoaderWait();
|
802
|
+
graphingPage.steps.allotPoints(20);
|
788
803
|
graphingPage.steps.addTextInQuestionInstructionsInputField('Plot the graph');
|
789
804
|
graphingPage.steps.selectToolOptions(['Polygon']);
|
790
805
|
graphingPage.steps.checkPatternBackground();
|
@@ -795,7 +810,6 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
795
810
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 1, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 4, yRange: 20 }, { x: 1, xRange: 20, y: 4, yRange: 20 }]);
|
796
811
|
graphingPage.steps.selectGraphToolOptionSpecifyCorrectAnswer('Polygon');
|
797
812
|
graphingPage.steps.plotPointsOnGraphSpecifyCorrectAnswerSection([{ x: 1, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 2, yRange: 20 }, { x: 3, xRange: 20, y: 0, yRange: 20 }, { x: 1, xRange: 20, y: 0, yRange: 20 }, { x: 1, xRange: 20, y: 2, yRange: 20 }]);
|
798
|
-
graphingPage.steps.allotPoints(20);
|
799
813
|
graphingPage.steps.switchToPreviewTab();
|
800
814
|
});
|
801
815
|
|
@@ -48,10 +48,10 @@ describe('Create item page - Grid fill: All or nothing', () => {
|
|
48
48
|
case 'Question preview':
|
49
49
|
gridFillPage.steps.navigateToCreateQuestion('grid fill');
|
50
50
|
cy.barsPreLoaderWait();
|
51
|
+
gridFillPage.steps.allotPoints(20);
|
51
52
|
gridFillPage.steps.addTextInQuestionInstructionsInputField('Which of the following is the major contributor to increased carbon dioxide levels because of urbanization? Select your answer from the options below.')
|
52
53
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 0);
|
53
54
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 1);
|
54
|
-
gridFillPage.steps.allotPoints(20);
|
55
55
|
gridFillPage.steps.switchToPreviewTab();
|
56
56
|
break;
|
57
57
|
case 'Item preview':
|
package/cypress/e2e/ILC/GridFill/scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js
CHANGED
@@ -17,10 +17,10 @@ describe('Create item page - Grid fill: All or nothing with alternative answers'
|
|
17
17
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 1);
|
18
18
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
|
19
19
|
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
20
|
+
gridFillPage.steps.allotPoints(20);
|
20
21
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
|
21
22
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 3);
|
22
23
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 4);
|
23
|
-
gridFillPage.steps.allotPoints(20);
|
24
24
|
//gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
25
25
|
gridFillPage.steps.switchToPreviewTab();
|
26
26
|
});
|
package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js
CHANGED
@@ -16,10 +16,10 @@ describe('Create item page - Grid fill: All or nothing with alternative answers'
|
|
16
16
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 1);
|
17
17
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
|
18
18
|
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
19
|
+
gridFillPage.steps.allotPoints(20);
|
19
20
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
|
20
21
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 3);
|
21
22
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 4);
|
22
|
-
gridFillPage.steps.allotPoints(20);
|
23
23
|
//gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
24
24
|
gridFillPage.steps.switchToPreviewTab();
|
25
25
|
});
|
package/cypress/e2e/ILC/GridFill/scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js
CHANGED
@@ -18,10 +18,10 @@ describe('Create item page - grid fill: All or nothing with alternative answers'
|
|
18
18
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 1);
|
19
19
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
|
20
20
|
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
21
|
+
gridFillPage.steps.allotPoints(10);
|
21
22
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
|
22
23
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 3);
|
23
24
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 4);
|
24
|
-
gridFillPage.steps.allotPoints(10);
|
25
25
|
//gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
26
26
|
gridFillPage.steps.switchToPreviewTab();
|
27
27
|
});
|
@@ -15,9 +15,9 @@ describe('Create item page - Grid fill : All or nothing with alternate accordion
|
|
15
15
|
gridFillPage.steps.addInputToCellShadeCountInputField(5);
|
16
16
|
gridFillPage.steps.allotPoints(27);
|
17
17
|
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
18
|
+
gridFillPage.steps.allotPoints(15);
|
18
19
|
gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
|
19
20
|
gridFillPage.steps.addInputToCellShadeCountInputField(3);
|
20
|
-
gridFillPage.steps.allotPoints(15);
|
21
21
|
//gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
22
22
|
});
|
23
23
|
|
@@ -16,9 +16,9 @@ describe('Create item page - Grid fill : Partial equal weights with alternate',
|
|
16
16
|
gridFillPage.steps.addInputToCellShadeCountInputField(5);
|
17
17
|
gridFillPage.steps.allotPoints(15);
|
18
18
|
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
19
|
+
gridFillPage.steps.allotPoints(30);
|
19
20
|
gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
|
20
21
|
gridFillPage.steps.addInputToCellShadeCountInputField(3);
|
21
|
-
gridFillPage.steps.allotPoints(30);
|
22
22
|
//gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
23
23
|
});
|
24
24
|
|
@@ -16,9 +16,9 @@ describe('Create item page - Grid fill : Partial equal weights with alternate',
|
|
16
16
|
gridFillPage.steps.addInputToCellShadeCountInputField(5);
|
17
17
|
gridFillPage.steps.allotPoints(15);
|
18
18
|
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
19
|
+
gridFillPage.steps.allotPoints(15);
|
19
20
|
gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
|
20
21
|
gridFillPage.steps.addInputToCellShadeCountInputField(3);
|
21
|
-
gridFillPage.steps.allotPoints(15);
|
22
22
|
//gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
23
23
|
});
|
24
24
|
|
@@ -16,9 +16,9 @@ describe('Create item page - Grid fill : Partial equal weights with alternate',
|
|
16
16
|
gridFillPage.steps.addInputToCellShadeCountInputField(5);
|
17
17
|
gridFillPage.steps.allotPoints(30);
|
18
18
|
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
19
|
+
gridFillPage.steps.allotPoints(15);
|
19
20
|
gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
|
20
21
|
gridFillPage.steps.addInputToCellShadeCountInputField(3);
|
21
|
-
gridFillPage.steps.allotPoints(15);
|
22
22
|
//gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
23
23
|
});
|
24
24
|
|
@@ -15,9 +15,9 @@ describe('Create item page - Grid fill : All or nothing with alternative answer
|
|
15
15
|
gridFillPage.steps.addInputToCellShadeCountInputField(5);
|
16
16
|
gridFillPage.steps.allotPoints(27);
|
17
17
|
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
18
|
+
gridFillPage.steps.allotPoints(27);
|
18
19
|
gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
|
19
20
|
gridFillPage.steps.addInputToCellShadeCountInputField(3);
|
20
|
-
gridFillPage.steps.allotPoints(27);
|
21
21
|
//gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
22
22
|
});
|
23
23
|
|
@@ -15,9 +15,9 @@ describe('Create item page - Grid fill : Auto scored - All or nothing with alter
|
|
15
15
|
gridFillPage.steps.addInputToCellShadeCountInputField(5);
|
16
16
|
gridFillPage.steps.allotPoints(10);
|
17
17
|
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
18
|
+
gridFillPage.steps.allotPoints(27);
|
18
19
|
gridFillPage.steps.uncheckMatchExactPositionOfCellsCheckbox();
|
19
20
|
gridFillPage.steps.addInputToCellShadeCountInputField(3);
|
20
|
-
gridFillPage.steps.allotPoints(27);
|
21
21
|
//gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
22
22
|
});
|
23
23
|
|
@@ -15,10 +15,10 @@ describe('Create item page - Grid fill: Match exact with cell shade count scorin
|
|
15
15
|
gridFillPage.steps.addInputToCellShadeCountInputField(2);
|
16
16
|
gridFillPage.steps.allotPoints(15);
|
17
17
|
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
18
|
+
gridFillPage.steps.allotPoints(9);
|
18
19
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 1);
|
19
20
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 3);
|
20
21
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 4);
|
21
|
-
gridFillPage.steps.allotPoints(9);
|
22
22
|
//gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
23
23
|
gridFillPage.steps.switchToPreviewTab();
|
24
24
|
});
|
@@ -11,11 +11,11 @@ describe('Create item page - Grid fill : Partial equal weights', () => {
|
|
11
11
|
before(() => {
|
12
12
|
gridFillPage.steps.navigateToCreateQuestion('grid fill');
|
13
13
|
cy.barsPreLoaderWait();
|
14
|
+
gridFillPage.steps.allotPoints(15);
|
14
15
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 0);
|
15
16
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 1);
|
16
17
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
|
17
18
|
gridFillPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
18
|
-
gridFillPage.steps.allotPoints(15);
|
19
19
|
//gridFillPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
20
20
|
gridFillPage.steps.switchToPreviewTab();
|
21
21
|
});
|
@@ -117,11 +117,11 @@ describe('Create item page - Grid fill : Partial equal weights', () => {
|
|
117
117
|
before(() => {
|
118
118
|
gridFillPage.steps.navigateToCreateQuestion('grid fill');
|
119
119
|
cy.barsPreLoaderWait();
|
120
|
+
gridFillPage.steps.allotPoints(20);
|
120
121
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 0);
|
121
122
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 1);
|
122
123
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
|
123
124
|
gridFillPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
124
|
-
gridFillPage.steps.allotPoints(20);
|
125
125
|
//gridFillPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
126
126
|
});
|
127
127
|
|
@@ -17,10 +17,10 @@ describe('Create item page - Grid fill : Partial equal weights with alternative
|
|
17
17
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
|
18
18
|
gridFillPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
19
19
|
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
20
|
+
gridFillPage.steps.allotPoints(15);
|
20
21
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
|
21
22
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 3);
|
22
23
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 4);
|
23
|
-
gridFillPage.steps.allotPoints(15);
|
24
24
|
//gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
25
25
|
gridFillPage.steps.switchToPreviewTab();
|
26
26
|
});
|
@@ -17,10 +17,10 @@ describe('Create item page - Grid fill : Partial equal weights with alternative
|
|
17
17
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
|
18
18
|
gridFillPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
19
19
|
gridFillPage.steps.addAlternativeAnswerAccordion(1);
|
20
|
+
gridFillPage.steps.allotPoints(9);
|
20
21
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 2);
|
21
22
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 3);
|
22
23
|
gridFillPage.steps.selectCellSpecifyCorrectAnswerSection(0, 4);
|
23
|
-
gridFillPage.steps.allotPoints(9);
|
24
24
|
//gridFillPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
25
25
|
gridFillPage.steps.switchToPreviewTab();
|
26
26
|
});
|
@@ -31,9 +31,9 @@ describe('Create item page - Image highlight - Preview contents in all views', (
|
|
31
31
|
imageHighlightPage.steps.highlightRegionInImage(branchesHighlightRegion);
|
32
32
|
imageHighlightPage.steps.highlightRegionInImage(leafHighlightRegion);
|
33
33
|
imageHighlightPage.steps.selectMultipleSelectionToggle();
|
34
|
+
imageHighlightPage.steps.allotPoints(10);
|
34
35
|
imageHighlightPage.steps.highlightARegionInSpecifyCorrectAnswerSection(0);
|
35
36
|
imageHighlightPage.steps.highlightARegionInSpecifyCorrectAnswerSection(2);
|
36
|
-
imageHighlightPage.steps.allotPoints(10);
|
37
37
|
imageHighlightPage.steps.switchToPreviewTab();
|
38
38
|
break;
|
39
39
|
case 'Item view':
|
@@ -166,8 +166,8 @@ describe('Image highlight - Student view settings', () => {
|
|
166
166
|
imageHighlightPage.steps.highlightRegionInImage(flowerHighlightRegion);
|
167
167
|
imageHighlightPage.steps.highlightRegionInImage(branchesHighlightRegion);
|
168
168
|
imageHighlightPage.steps.highlightRegionInImage(leafHighlightRegion);
|
169
|
-
imageHighlightPage.steps.highlightARegionInSpecifyCorrectAnswerSection(2);
|
170
169
|
imageHighlightPage.steps.allotPoints(20);
|
170
|
+
imageHighlightPage.steps.highlightARegionInSpecifyCorrectAnswerSection(2);
|
171
171
|
imageHighlightPage.steps.switchToPreviewTab();
|
172
172
|
});
|
173
173
|
|
@@ -14,13 +14,13 @@ describe('Create Item page - List ordering: Partial equal weights', () => {
|
|
14
14
|
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
15
15
|
cy.barsPreLoaderWait();
|
16
16
|
listOrderingPage.steps.addTextInQuestionInstructionsInputField('Arrange options in correct order.');
|
17
|
+
listOrderingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
18
|
+
listOrderingPage.steps.allotPoints(20);
|
17
19
|
listOrderingPage.steps.addInputToOptionsInputField(options);
|
18
20
|
listOrderingPage.steps.selectOptionOrientation('Horizontal');
|
19
21
|
listOrderingPage.steps.clickAndReorderHorizontalOptionInSpecifyCorrectAnswerSection('seed', 0);
|
20
22
|
listOrderingPage.steps.clickAndReorderHorizontalOptionInSpecifyCorrectAnswerSection('sprout', 1);
|
21
23
|
listOrderingPage.steps.verifyHorizontalOptionsOrderInSpecifyCorrectAnswerSection(correctAnswerArray);
|
22
|
-
listOrderingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
23
|
-
listOrderingPage.steps.allotPoints(20);
|
24
24
|
//listOrderingPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
25
25
|
listOrderingPage.steps.switchToPreviewTab();
|
26
26
|
});
|
@@ -22,11 +22,11 @@ describe('Create item page - List ordering: All or nothing scoring with alternat
|
|
22
22
|
listOrderingPage.steps.allotPoints(20);
|
23
23
|
listOrderingPage.steps.verifyOptionsOrderInSpecifyCorrectAnswerSection(correctAnswerArray);
|
24
24
|
listOrderingPage.steps.addAlternativeAnswerAccordion(1);
|
25
|
+
listOrderingPage.steps.allotPoints(25);
|
25
26
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('seed', 0);
|
26
27
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('plant', 3);
|
27
28
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('flower', 1);
|
28
29
|
listOrderingPage.steps.verifyOptionsOrderInSpecifyCorrectAnswerSection(alternateCorrectAnswerArray);
|
29
|
-
listOrderingPage.steps.allotPoints(25);
|
30
30
|
//listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
31
31
|
listOrderingPage.steps.switchToPreviewTab();
|
32
32
|
});
|
package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js
CHANGED
@@ -22,11 +22,11 @@ describe('Create Item page - List ordering: All or nothing scoring with alternat
|
|
22
22
|
listOrderingPage.steps.allotPoints(20);
|
23
23
|
listOrderingPage.steps.verifyOptionsOrderInSpecifyCorrectAnswerSection(correctAnswerArray);
|
24
24
|
listOrderingPage.steps.addAlternativeAnswerAccordion(1);
|
25
|
+
listOrderingPage.steps.allotPoints(20);
|
25
26
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('seed', 0);
|
26
27
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('plant', 3);
|
27
28
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('flower', 1);
|
28
29
|
listOrderingPage.steps.verifyOptionsOrderInSpecifyCorrectAnswerSection(alternateCorrectAnswerArray);
|
29
|
-
listOrderingPage.steps.allotPoints(20);
|
30
30
|
//listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
31
31
|
listOrderingPage.steps.switchToPreviewTab();
|
32
32
|
});
|
@@ -21,10 +21,10 @@ describe('Create Item page - List ordering: All or nothing scoring with alternat
|
|
21
21
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('sprout', 1);
|
22
22
|
listOrderingPage.steps.allotPoints(20);
|
23
23
|
listOrderingPage.steps.addAlternativeAnswerAccordion(1);
|
24
|
+
listOrderingPage.steps.allotPoints(12);
|
24
25
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('seed', 0);
|
25
26
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('plant', 3);
|
26
27
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('flower', 1);
|
27
|
-
listOrderingPage.steps.allotPoints(12);
|
28
28
|
//listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
29
29
|
listOrderingPage.steps.switchToPreviewTab();
|
30
30
|
});
|
@@ -23,11 +23,11 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
|
|
23
23
|
listOrderingPage.steps.allotPoints(20);
|
24
24
|
listOrderingPage.steps.verifyOptionsOrderInSpecifyCorrectAnswerSection(correctAnswerArray);
|
25
25
|
listOrderingPage.steps.addAlternativeAnswerAccordion(1);
|
26
|
+
listOrderingPage.steps.allotPoints(24);
|
26
27
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('seed', 0);
|
27
28
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('plant', 3);
|
28
29
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('flower', 1);
|
29
30
|
listOrderingPage.steps.verifyOptionsOrderInSpecifyCorrectAnswerSection(alternateCorrectAnswerArray);
|
30
|
-
listOrderingPage.steps.allotPoints(24);
|
31
31
|
//listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
32
32
|
listOrderingPage.steps.switchToPreviewTab();
|
33
33
|
});
|
@@ -13,13 +13,13 @@ describe('Create Item page - List ordering: Partial equal weights', () => {
|
|
13
13
|
before(() => {
|
14
14
|
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
15
15
|
cy.barsPreLoaderWait();
|
16
|
+
listOrderingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
17
|
+
listOrderingPage.steps.allotPoints(20);
|
16
18
|
listOrderingPage.steps.addTextInQuestionInstructionsInputField('Arrange options in correct order.');
|
17
19
|
listOrderingPage.steps.addInputToOptionsInputField(options);
|
18
20
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('seed', 0);
|
19
21
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('sprout', 1);
|
20
22
|
listOrderingPage.steps.verifyOptionsOrderInSpecifyCorrectAnswerSection(correctAnswerArray);
|
21
|
-
listOrderingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
22
|
-
listOrderingPage.steps.allotPoints(20);
|
23
23
|
//listOrderingPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
24
24
|
listOrderingPage.steps.switchToPreviewTab();
|
25
25
|
});
|
@@ -112,13 +112,13 @@ describe('Create Item page - List ordering: Partial equal weights', () => {
|
|
112
112
|
before(() => {
|
113
113
|
listOrderingPage.steps.navigateToCreateQuestion('list ordering');
|
114
114
|
cy.barsPreLoaderWait();
|
115
|
+
listOrderingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
116
|
+
listOrderingPage.steps.allotPoints(20);
|
115
117
|
listOrderingPage.steps.addTextInQuestionInstructionsInputField('Arrange options in correct order.');
|
116
118
|
listOrderingPage.steps.addInputToOptionsInputField(options);
|
117
119
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('seed', 0);
|
118
120
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('sprout', 1);
|
119
121
|
listOrderingPage.steps.verifyOptionsOrderInSpecifyCorrectAnswerSection(correctAnswerArray);
|
120
|
-
listOrderingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
121
|
-
listOrderingPage.steps.allotPoints(20);
|
122
122
|
//listOrderingPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
123
123
|
});
|
124
124
|
|
@@ -23,11 +23,11 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
|
|
23
23
|
listOrderingPage.steps.allotPoints(20);
|
24
24
|
listOrderingPage.steps.verifyOptionsOrderInSpecifyCorrectAnswerSection(correctAnswerArray);
|
25
25
|
listOrderingPage.steps.addAlternativeAnswerAccordion(1);
|
26
|
+
listOrderingPage.steps.allotPoints(20);
|
26
27
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('seed', 0);
|
27
28
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('plant', 3);
|
28
29
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('flower', 1);
|
29
30
|
listOrderingPage.steps.verifyOptionsOrderInSpecifyCorrectAnswerSection(alternateCorrectAnswerArray);
|
30
|
-
listOrderingPage.steps.allotPoints(20);
|
31
31
|
//listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
32
32
|
listOrderingPage.steps.switchToPreviewTab();
|
33
33
|
});
|
@@ -23,11 +23,11 @@ describe('Create Item page - List ordering: Partial equal weights scoring with a
|
|
23
23
|
listOrderingPage.steps.allotPoints(20);
|
24
24
|
listOrderingPage.steps.verifyOptionsOrderInSpecifyCorrectAnswerSection(correctAnswerArray);
|
25
25
|
listOrderingPage.steps.addAlternativeAnswerAccordion(1);
|
26
|
+
listOrderingPage.steps.allotPoints(12);
|
26
27
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('seed', 0);
|
27
28
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('plant', 3);
|
28
29
|
listOrderingPage.steps.clickAndReorderOptionInSpecifyCorrectAnswerSection('flower', 1);
|
29
30
|
listOrderingPage.steps.verifyOptionsOrderInSpecifyCorrectAnswerSection(alternateCorrectAnswerArray);
|
30
|
-
listOrderingPage.steps.allotPoints(12);
|
31
31
|
//listOrderingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
32
32
|
listOrderingPage.steps.switchToPreviewTab();
|
33
33
|
});
|
@@ -22,8 +22,8 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
22
22
|
matchingPage.steps.enterTextInOptionInputField(optionsArray);
|
23
23
|
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Elephant', dropzoneIndex: 0 }, { optionText: 'Fish', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
24
24
|
matchingPage.steps.addAlternativeAnswerAccordion(1);
|
25
|
-
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
26
25
|
matchingPage.steps.allotPoints(20);
|
26
|
+
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
27
27
|
//matchingPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
28
28
|
matchingPage.steps.switchToPreviewTab();
|
29
29
|
});
|
package/cypress/e2e/ILC/Matching/Scoring/allOrNothingWithCorrectPointsEqualToAlternativePoints.js
CHANGED
@@ -22,8 +22,8 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
22
22
|
matchingPage.steps.enterTextInOptionInputField(optionsArray);
|
23
23
|
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Elephant', dropzoneIndex: 0 }, { optionText: 'Fish', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
24
24
|
matchingPage.steps.addAlternativeAnswerAccordion(1);
|
25
|
-
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
26
25
|
matchingPage.steps.allotPoints(20);
|
26
|
+
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
27
27
|
//matchingPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
28
28
|
matchingPage.steps.switchToPreviewTab();
|
29
29
|
});
|
@@ -22,8 +22,8 @@ describe('Create item page - Matching: All or nothing with alternative answers',
|
|
22
22
|
matchingPage.steps.enterTextInOptionInputField(optionsArray);
|
23
23
|
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Elephant', dropzoneIndex: 0 }, { optionText: 'Fish', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
24
24
|
matchingPage.steps.addAlternativeAnswerAccordion(1);
|
25
|
-
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
26
25
|
matchingPage.steps.allotPoints(10);
|
26
|
+
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
27
27
|
//matchingPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
28
28
|
matchingPage.steps.switchToPreviewTab();
|
29
29
|
});
|
@@ -17,11 +17,11 @@ describe('Create item page - Matching: Partial equal weights', () => {
|
|
17
17
|
cy.barsPreLoaderWait();
|
18
18
|
matchingPage.steps.addTextInQuestionInstructionsInputField('Fill the categories with the right answer.');
|
19
19
|
matchingPage.steps.addMultipleOptionFields(3);
|
20
|
+
matchingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
21
|
+
matchingPage.steps.allotPoints(15);
|
20
22
|
matchingPage.steps.enterTextInPromptInputField(promptTextArray);
|
21
23
|
matchingPage.steps.enterTextInOptionInputField(optionsArray);
|
22
24
|
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Elephant', dropzoneIndex: 0 }, { optionText: 'Fish', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
23
|
-
matchingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
24
|
-
matchingPage.steps.allotPoints(15);
|
25
25
|
//matchingPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
26
26
|
matchingPage.steps.switchToPreviewTab();
|
27
27
|
});
|
@@ -23,8 +23,8 @@ describe('Create item page - Matching: Partial equal weights with alternative an
|
|
23
23
|
matchingPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
|
24
24
|
matchingPage.steps.allotPoints(9);
|
25
25
|
matchingPage.steps.addAlternativeAnswerAccordion(1);
|
26
|
-
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
27
26
|
matchingPage.steps.allotPoints(15);
|
27
|
+
matchingPage.steps.clickAndDropOptionInDropzoneSpecifyCorrectAnswerSection([{ optionText: 'Bear', dropzoneIndex: 0 }, { optionText: 'Penguin', dropzoneIndex: 1 }, { optionText: 'Cat', dropzoneIndex: 2 }]);
|
28
28
|
//matchingPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
29
29
|
matchingPage.steps.switchToPreviewTab();
|
30
30
|
});
|