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
@@ -22,10 +22,10 @@ describe('Create item page - Text selection: Partial equal with alternative answ
|
|
22
22
|
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
|
23
23
|
textSelectionPage.steps.allotPoints(15);
|
24
24
|
textSelectionPage.steps.addAlternativeAnswerAccordion(1);
|
25
|
+
textSelectionPage.steps.allotPoints(9);
|
25
26
|
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
|
26
27
|
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[3]);
|
27
28
|
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[4]);
|
28
|
-
textSelectionPage.steps.allotPoints(9);
|
29
29
|
//textSelectionPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
30
30
|
textSelectionPage.steps.switchToPreviewTab();
|
31
31
|
});
|
@@ -68,6 +68,7 @@ describe('Create item page - Text selection: All or nothing ', () => {
|
|
68
68
|
textSelectionPage.steps.addInputToQuestionInputField(`${paragraphText}{enter}`);
|
69
69
|
});
|
70
70
|
textSelectionPage.steps.addInputToQuestionInputField('{backspace}');
|
71
|
+
textSelectionPage.steps.allotPoints(20);
|
71
72
|
textSelectionPage.steps.switchTextSelectionMode('Paragraph');
|
72
73
|
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[0]);
|
73
74
|
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[1]);
|
@@ -75,7 +76,6 @@ describe('Create item page - Text selection: All or nothing ', () => {
|
|
75
76
|
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[3]);
|
76
77
|
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[0]);
|
77
78
|
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
|
78
|
-
textSelectionPage.steps.allotPoints(20);
|
79
79
|
textSelectionPage.steps.switchToPreviewTab();
|
80
80
|
break;
|
81
81
|
case 'Item preview':
|
@@ -22,6 +22,7 @@ describe('Create item page - Text selection : Preview contents', () => {
|
|
22
22
|
textSelectionPage.steps.navigateToCreateQuestion('text selection');
|
23
23
|
cy.barsPreLoaderWait();
|
24
24
|
textSelectionPage.steps.addTextInQuestionInstructionsInputField('Select the correct statements.');
|
25
|
+
textSelectionPage.steps.allotPoints(20);
|
25
26
|
textSelectionPage.steps.clearQuestionInputField();
|
26
27
|
paragraphTextArray.forEach((paragraphText) => {
|
27
28
|
textSelectionPage.steps.addInputToQuestionInputField(`${paragraphText}{enter}`);
|
@@ -33,7 +34,6 @@ describe('Create item page - Text selection : Preview contents', () => {
|
|
33
34
|
textSelectionPage.steps.clickOnOptionInSpecifyPossibleOptionsSection(paragraphTextArray[2]);
|
34
35
|
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[0]);
|
35
36
|
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
|
36
|
-
textSelectionPage.steps.allotPoints(20);
|
37
37
|
textSelectionPage.steps.switchToPreviewTab();
|
38
38
|
break;
|
39
39
|
case 'Item view':
|
@@ -150,6 +150,7 @@ describe('Create Item page - Text selection: Student view settings', () => {
|
|
150
150
|
before(() => {
|
151
151
|
textSelectionPage.steps.navigateToCreateQuestion('text selection');
|
152
152
|
cy.barsPreLoaderWait();
|
153
|
+
textSelectionPage.steps.allotPoints(20);
|
153
154
|
textSelectionPage.steps.clearQuestionInputField();
|
154
155
|
paragraphTextArray.forEach((paragraphText) => {
|
155
156
|
textSelectionPage.steps.addInputToQuestionInputField(`${paragraphText}{enter}`);
|
@@ -162,7 +163,6 @@ describe('Create Item page - Text selection: Student view settings', () => {
|
|
162
163
|
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[0]);
|
163
164
|
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[1]);
|
164
165
|
textSelectionPage.steps.selectOptionInSpecifyCorrectAnswerSection(paragraphTextArray[2]);
|
165
|
-
textSelectionPage.steps.allotPoints(20);
|
166
166
|
textSelectionPage.steps.switchToPreviewTab();
|
167
167
|
});
|
168
168
|
|
@@ -19,8 +19,8 @@ describe('Create item page - Upload response: Grading view, Correct answer view
|
|
19
19
|
cy.log('Navigating to Upload response question type');
|
20
20
|
uploadResponsePage.steps.navigateToCreateQuestion('upload response');
|
21
21
|
cy.barsPreLoaderWait();
|
22
|
-
uploadResponsePage.steps.addTextInQuestionInstructionsInputField('Question text');
|
23
22
|
uploadResponsePage.steps.allotPoints(10);
|
23
|
+
uploadResponsePage.steps.addTextInQuestionInstructionsInputField('Question text');
|
24
24
|
uploadResponsePage.steps.setMaximumNumberOfFiles(3);
|
25
25
|
uploadResponsePage.steps.clickOnSaveQuestionButton();
|
26
26
|
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
@@ -69,8 +69,8 @@ describe('Create item page - Upload response: Grading view, Correct answer view
|
|
69
69
|
cy.log('Navigating to Upload response question type');
|
70
70
|
uploadResponsePage.steps.navigateToCreateQuestion('upload response');
|
71
71
|
cy.barsPreLoaderWait();
|
72
|
-
uploadResponsePage.steps.addQuestionInstructions();
|
73
72
|
uploadResponsePage.steps.allotPoints(10);
|
73
|
+
uploadResponsePage.steps.addQuestionInstructions();
|
74
74
|
uploadResponsePage.steps.clickOnSaveQuestionButton();
|
75
75
|
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
76
76
|
itemPreviewPage.referenceID()
|
@@ -23,8 +23,8 @@ describe('Create item page - Upload response : Preview contents', () => {
|
|
23
23
|
cy.log('Navigating to Upload response question type');
|
24
24
|
uploadResponsePage.steps.navigateToCreateQuestion('upload response');
|
25
25
|
cy.barsPreLoaderWait();
|
26
|
-
uploadResponsePage.steps.addTextInQuestionInstructionsInputField('Question text');
|
27
26
|
uploadResponsePage.steps.allotPoints(10);
|
27
|
+
uploadResponsePage.steps.addTextInQuestionInstructionsInputField('Question text');
|
28
28
|
uploadResponsePage.steps.setMaximumNumberOfFiles(3);
|
29
29
|
uploadResponsePage.steps.switchToPreviewTab();
|
30
30
|
break;
|
@@ -47,8 +47,8 @@ describe('Create question page - Audio response: Scoring', () => {
|
|
47
47
|
cy.log('Adding question instructions and options, select Manually Scored scoring type and add points for the question');
|
48
48
|
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
49
49
|
cy.barsPreLoaderWait();
|
50
|
-
videoResponsePage.steps.addTextInQuestionInstructionsInputField('Record a video');
|
51
50
|
videoResponsePage.steps.allotPoints(10);
|
51
|
+
videoResponsePage.steps.addTextInQuestionInstructionsInputField('Record a video');
|
52
52
|
videoResponsePage.steps.switchToPreviewTab();
|
53
53
|
});
|
54
54
|
|
@@ -21,8 +21,8 @@ describe('Create item page - Video response: Grading view, Correct answer view c
|
|
21
21
|
before(() => {
|
22
22
|
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
23
23
|
cy.barsPreLoaderWait();
|
24
|
-
videoResponsePage.steps.addTextInQuestionInstructionsInputField('Record a video');
|
25
24
|
videoResponsePage.steps.allotPoints(10);
|
25
|
+
videoResponsePage.steps.addTextInQuestionInstructionsInputField('Record a video');
|
26
26
|
videoResponsePage.steps.clickOnSaveQuestionButton();
|
27
27
|
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
28
28
|
//Global variable issue, not working inside before
|
@@ -151,8 +151,8 @@ describe('Create item page - Video response: Grading view, Correct answer view c
|
|
151
151
|
before(() => {
|
152
152
|
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
153
153
|
cy.barsPreLoaderWait();
|
154
|
-
videoResponsePage.steps.addTextInQuestionInstructionsInputField('Record a video');
|
155
154
|
videoResponsePage.steps.allotPoints(10);
|
155
|
+
videoResponsePage.steps.addTextInQuestionInstructionsInputField('Record a video');
|
156
156
|
videoResponsePage.steps.clickOnSaveQuestionButton();
|
157
157
|
utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
|
158
158
|
//Global variable issue, not working inside before
|
@@ -21,8 +21,8 @@ describe('Create item page - Video response: Preview contents', () => {
|
|
21
21
|
case 'Question preview':
|
22
22
|
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
23
23
|
cy.barsPreLoaderWait();
|
24
|
-
videoResponsePage.steps.addTextInQuestionInstructionsInputField('Record a video');
|
25
24
|
videoResponsePage.steps.allotPoints(10);
|
25
|
+
videoResponsePage.steps.addTextInQuestionInstructionsInputField('Record a video');
|
26
26
|
videoResponsePage.steps.switchToPreviewTab();
|
27
27
|
break;
|
28
28
|
case 'Item view':
|
@@ -14,8 +14,8 @@ describe('Create item page - Video response: Preview tab - Standard recorder sty
|
|
14
14
|
before(() => {
|
15
15
|
videoResponsePage.steps.navigateToCreateQuestion('video response');
|
16
16
|
cy.barsPreLoaderWait();
|
17
|
-
videoResponsePage.steps.addTextInQuestionInstructionsInputField('Record a video');
|
18
17
|
videoResponsePage.steps.allotPoints(10);
|
18
|
+
videoResponsePage.steps.addTextInQuestionInstructionsInputField('Record a video');
|
19
19
|
videoResponsePage.steps.switchToPreviewTab();
|
20
20
|
});
|
21
21
|
|
@@ -27,10 +27,10 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
|
|
27
27
|
|
28
28
|
it('When the user sets correct answer responses and allots points, then the alloted points should be displayed in the preview tab', () => {
|
29
29
|
chartsDotPlotPage.steps.switchToEditTab();
|
30
|
+
chartsDotPlotPage.steps.allotPoints(20);
|
30
31
|
chartsDotPlotPage.steps.plotDotsInDotColumnSelectChartTypeSection(1, { point: 1, min: 1, interval: 0.25, defaultDots: 0 });
|
31
32
|
chartsDotPlotPage.steps.lockDotColumn({ point: 1, min: 1, interval: 0.25 });
|
32
33
|
chartsDotPlotPage.steps.plotDotsInDotColumnSpecifyCorrectAnswer(1, { point: 5, min: 1, interval: 0.25, defaultDots: 0 });
|
33
|
-
chartsDotPlotPage.steps.allotPoints(20);
|
34
34
|
chartsDotPlotPage.steps.switchToPreviewTab();
|
35
35
|
chartsDotPlotPage.steps.verifyPreviewScore(0, 20);
|
36
36
|
});
|
@@ -19,8 +19,11 @@ const steps = {
|
|
19
19
|
*/
|
20
20
|
setMaximumRecorderLength: (recordingLength) => {
|
21
21
|
maximumRecorderLengthComponent.maximumRecorderLengthInputField()
|
22
|
-
.clear()
|
22
|
+
.clear();
|
23
|
+
maximumRecorderLengthComponent.maximumRecorderLengthInputField()
|
23
24
|
.type(recordingLength)
|
25
|
+
maximumRecorderLengthComponent.maximumRecorderLengthInputField()
|
26
|
+
.blur();
|
24
27
|
},
|
25
28
|
|
26
29
|
/**
|
@@ -39,11 +39,17 @@ const steps = {
|
|
39
39
|
*/
|
40
40
|
allotPoints: (points) => {
|
41
41
|
scoringSectionBaseEditTab.pointsInputField()
|
42
|
-
.clear()
|
43
|
-
|
42
|
+
.clear();
|
43
|
+
scoringSectionBaseEditTab.pointsInputField()
|
44
|
+
.type(`${points}`);
|
45
|
+
scoringSectionBaseEditTab.pointsInputField()
|
44
46
|
.blur();
|
45
47
|
scoringSectionBaseEditTab.pointsInputField()
|
46
|
-
.should('have.value', points)
|
48
|
+
.should('have.value', points);
|
49
|
+
scoringSectionBaseEditTab.pointsInputField()
|
50
|
+
.focus();
|
51
|
+
scoringSectionBaseEditTab.pointsInputField()
|
52
|
+
.blur();
|
47
53
|
},
|
48
54
|
|
49
55
|
verifyDefaultPointsLabelAndInputField: () => {
|
@@ -81,9 +87,14 @@ const steps = {
|
|
81
87
|
allotMinimumPoints: (points) => {
|
82
88
|
scoringSectionBaseEditTab.minimumPointsInputField()
|
83
89
|
.clear()
|
90
|
+
scoringSectionBaseEditTab.minimumPointsInputField()
|
84
91
|
.type(`${points}`)
|
92
|
+
scoringSectionBaseEditTab.minimumPointsInputField()
|
85
93
|
.should('have.value', points)
|
94
|
+
scoringSectionBaseEditTab.minimumPointsInputField()
|
86
95
|
.blur();
|
96
|
+
scoringSectionBaseEditTab.minimumPointsInputField()
|
97
|
+
.should('have.value', points)
|
87
98
|
},
|
88
99
|
|
89
100
|
/**
|
@@ -24,7 +24,7 @@ const selectors = {
|
|
24
24
|
...gradingViewEnumerationComponent,
|
25
25
|
...ariaLabelSectionComponent,
|
26
26
|
|
27
|
-
editCellPropertyButton: () => cy.get('
|
27
|
+
editCellPropertyButton: () => cy.get('.action-menu button'),
|
28
28
|
editCellPropertyList: () => cy.get('.ngie-action-cell-container [role="menu"]'),
|
29
29
|
editCellPropertyListOption: () => cy.get('[class*="MuiMenuItem"][role="menuitem"]'),
|
30
30
|
cellHeadingTextArea: () => cy.get('.heading-field-wrapper [role="textbox"]'),
|
@@ -78,7 +78,7 @@ const selectors = {
|
|
78
78
|
editColorButton: () => cy.get('.icon-pencil'),
|
79
79
|
allowStudentsToAddCommentCheckbox: () => cy.get('[data-ngie-testid="allow-students-to-add-comment-checkbox"] input'),
|
80
80
|
allowStudentsToAddCommentCheckboxLabel: () => cy.get('[data-ngie-testid="allow-students-to-add-comment-checkbox"] .MuiFormControlLabel-label'),
|
81
|
-
commentLabel: () => cy.get('.describe-your-experience
|
81
|
+
commentLabel: () => cy.get('.describe-your-experience .title-casing'),
|
82
82
|
commentInputField: () => cy.get('.describe-your-experience [role="textbox"]'),
|
83
83
|
legendSectionLabel: () => cy.get('.feedback-legend-wrapper [class*="LegendLabelWrapper"]'),
|
84
84
|
showLegendCheckboxLabel: () => cy.get('[data-ngie-testid="show-legend-checkbox"] .MuiFormControlLabel-label'),
|
package/cypress/pages/index.js
CHANGED
@@ -13,13 +13,11 @@ export * from './shortTextResponsePage';
|
|
13
13
|
export * from './fillInTheGapsDropdownPage';
|
14
14
|
export * from './fillInTheGapsDragAndDropPage';
|
15
15
|
export * from './dragAndDropIntoCategoriesPage';
|
16
|
-
export * from './highlightPage';
|
17
16
|
export * from './videoResponsePage';
|
18
17
|
export * from './listOrderingPage';
|
19
18
|
export * from './listSortingPage';
|
20
19
|
export * from './readingRulerPage';
|
21
20
|
export * from './audioPlayerPage';
|
22
|
-
export * from './highlightImagePage';
|
23
21
|
export * from './fillInTheGapsOverImageDropdownPage';
|
24
22
|
export * from './fillInTheGapsOverImageTextPage';
|
25
23
|
export * from './multipleSelectionGridPage';
|
@@ -770,10 +770,10 @@ const steps = {
|
|
770
770
|
clickAndReorderHorizontalOptionInSpecifyCorrectAnswerSection: (optionsText, targetIndex) => {
|
771
771
|
listOrderingPage.horizontalOptionSpecifyCorrectAnswerSection()
|
772
772
|
.contains(optionsText)
|
773
|
-
.click();
|
773
|
+
.click({ force: true });
|
774
774
|
listOrderingPage.horizontalOptionSpecifyCorrectAnswerSection()
|
775
775
|
.eq(targetIndex)
|
776
|
-
.click();
|
776
|
+
.click({ force: true });
|
777
777
|
},
|
778
778
|
|
779
779
|
/**
|