itemengine-cypress-automation 1.0.196-drawingResponseMigration-0f99062.0 → 1.0.197-15thMayFixes-958decd.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +54 -33
- 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/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingPenaltyScoring.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsBasic.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsBasic.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsBasic.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/additionalSettingsForDropdowns.js +7 -7
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/allOrNothingForAllView.smoke.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/checkAnswerFunctionalityForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +5 -5
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownOptionsSection.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +22 -22
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabScoringSection.js +10 -10
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +8 -7
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/specifyCorrectAnswerSection.js +3 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/studentViewSettings.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/supportedFileTypes.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/conditionalCheckboxScoring.js +0 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/manuallyAndNonScored.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +4 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/responseLevelAlternateAnswersBasicScoring.js +5 -5
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +6 -6
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +8 -8
- package/cypress/e2e/ILC/GridFill/allOrNothingBasicForAllViews.smoke.js +1 -0
- package/cypress/e2e/ILC/ListOrderingDropdown/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +0 -2
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +4 -4
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +5 -5
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/allOrNothingPenaltyScoring.js +3 -0
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/manuallyAndNonScored.js +2 -1
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +7 -6
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsEqualToAlternativePoints.js +2 -3
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsCorrectPointsGreaterThanAlternativePoints.js +7 -7
- package/cypress/e2e/ILC/ListOrderingNew/Scoring/partialDifferentWeightsMinimumAndPenaltyScoring.js +2 -3
- package/cypress/e2e/ILC/ListOrderingNew/allOrNothingForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/ListOrderingNew/minimumScoringPenaltyPointsAndRoundingDropdown.js +1 -1
- package/cypress/e2e/ILC/ListOrderingNew/specifyCorrectAnswerSection.js +2 -2
- package/cypress/e2e/ILC/MultipleSelection/allOrNothingWithAlternativeAnswer.js +2 -0
- package/cypress/e2e/ILC/MultipleSelection/manuallyAndNonScoredScoring.js +6 -12
- package/cypress/e2e/ILC/MultipleSelectionGridNew/headerSection.js +2 -2
- package/cypress/e2e/ILC/NumberLine/Scoring/allOrNothingWithAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +3 -2
- package/cypress/e2e/ILC/SingleSelectionGridNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/SingleSelectionGridNew/headerSection.js +2 -2
- package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViews.smoke.js +9 -9
- package/cypress/e2e/ILC/TextEntryMath/checkAnswerFunctionalityForAllViews.smoke.js +3 -3
- package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +12 -12
- package/cypress/e2e/ILC/TextEntryMath/editTabScoringSection.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodEquivalentStructures.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchExact.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodMatchValue.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodSymbolsAreEquivalent.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodValueIsEquivalent.js +1 -1
- package/cypress/e2e/ILC/TextEntryMath/evaluationMethodsWithoutSetResponse.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/minimumScoringPenaltyPointsAndRoundingDropdown.js +8 -8
- package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/TextEntryMath/responseEvaluationMethodsAndCustomSettings.js +5 -5
- package/cypress/e2e/ILC/TextEntryMath/specifyCorrectAnswerSection.js +2 -2
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +2 -5
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +5 -0
- package/cypress/e2e/ILC/chartsDotsPlot/checkAnswerFunctionalityForAllViews.smoke.js +4 -3
- package/cypress/e2e/ILC/chartsDotsPlot/gradingViewAndCorrectAnswerView.smoke.js +10 -28
- package/cypress/e2e/ILC/chartsDotsPlot/previewContentsForAllViews.smoke.js +10 -10
- package/cypress/pages/chartsDotPlotPage.js +7 -1
- package/cypress/pages/components/additionalSettingsPanel.js +1 -0
- package/cypress/pages/components/autoScoredScoringSectionMultiResponseType.js +1 -0
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +2 -2
- package/cypress/pages/components/draggableOptionContainer.js +1 -1
- package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +1 -0
- package/cypress/pages/components/imageCanvasComponent.js +2 -2
- package/cypress/pages/components/scoringSectionBaseEditTab.js +2 -1
- package/cypress/pages/listOrderingPage.js +21 -0
- package/cypress/pages/multipleSelectionPage.js +14 -0
- package/cypress/pages/numberLineLabelPage.js +28 -27
- package/cypress/pages/textEntryMathPage.js +0 -7
- package/package.json +1 -1
@@ -575,10 +575,10 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
|
|
575
575
|
//Reset button
|
576
576
|
it('When the user clicks on Reset button then reset popup should be displayed', () => {
|
577
577
|
cy.log('Pre-step: Editing the graph');
|
578
|
-
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 0, value:
|
579
|
-
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 1, value: 2, range:
|
580
|
-
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 2, value: 0, range:
|
581
|
-
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 3, value: 6, range:
|
578
|
+
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 0, value: 10, range: 10 });
|
579
|
+
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 1, value: 2, range: 10 });
|
580
|
+
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 2, value: 0, range: 10 });
|
581
|
+
chartsBarPage.steps.setBarValueInPreviewTab({ barIndex: 3, value: 6, range: 10 });
|
582
582
|
chartsBarPage.steps.clickOnResetButtonPreviewTab();
|
583
583
|
utilities.verifyElementVisibilityState(chartsBarPage.dialogBox(), 'visible');
|
584
584
|
});
|
@@ -587,10 +587,10 @@ describe('Create item page: Charts - Bar - Preview contents in all views', () =>
|
|
587
587
|
|
588
588
|
it('When user clicks on cancel button in reset popup, then reset popup should close and chart should not be reset', () => {
|
589
589
|
chartsBarPage.steps.cancelReset();
|
590
|
-
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 0, barValue:
|
591
|
-
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range:
|
592
|
-
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 0, range:
|
593
|
-
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 6, range:
|
590
|
+
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 0, barValue: 10, range: 10 });
|
591
|
+
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 1, barValue: 2, range: 10 });
|
592
|
+
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 2, barValue: 0, range: 10 });
|
593
|
+
chartsBarPage.steps.verifyBarHeightInPreviewTab({ barIndex: 3, barValue: 6, range: 10 });
|
594
594
|
});
|
595
595
|
|
596
596
|
it('When the user clicks on Reset button and confirms reset, then all the chart actions should be reverted and chart should be reverted to default state', () => {
|
@@ -1,5 +1,9 @@
|
|
1
1
|
import { fillInTheGapsDropdownPage } from "../../../../pages";
|
2
2
|
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
|
+
const optionsForDropdown1 = ['Flower', 'Petal', 'Stem', 'Branch'];
|
4
|
+
const optionsForDropdown2 = ['Leaf', 'Leaves', 'Stem', 'Seed'];
|
5
|
+
const optionsForDropdown3 = ['Flower', 'Leaf', 'Stem', 'Roots'];
|
6
|
+
const correctAnswerArray = ['Flower', 'Leaf', 'Stem'];
|
3
7
|
|
4
8
|
describe('Create item page - Fill in the gaps with dropdown: Partial different weights', () => {
|
5
9
|
before(() => {
|
@@ -12,7 +16,12 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
12
16
|
fillInTheGapsDropdownPage.steps.navigateToCreateQuestion('fill in the gaps with dropdown');
|
13
17
|
cy.barsPreLoaderWait();
|
14
18
|
fillInTheGapsDropdownPage.steps.addResponseAreaInQuestionField();
|
15
|
-
fillInTheGapsDropdownPage.steps.
|
19
|
+
fillInTheGapsDropdownPage.steps.addInputToDropdownOptionFields(0, optionsForDropdown1);
|
20
|
+
fillInTheGapsDropdownPage.steps.addInputToDropdownOptionFields(1, optionsForDropdown2);
|
21
|
+
fillInTheGapsDropdownPage.steps.addInputToDropdownOptionFields(2, optionsForDropdown3);
|
22
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, correctAnswerArray[0]);
|
23
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, correctAnswerArray[1]);
|
24
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(2, correctAnswerArray[2]);
|
16
25
|
fillInTheGapsDropdownPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
|
17
26
|
fillInTheGapsDropdownPage.steps.allotPartialDifferentWeightsPoints({ 0: 1, 1: 6, 2: 5 });
|
18
27
|
fillInTheGapsDropdownPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
@@ -30,7 +39,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
30
39
|
|
31
40
|
it('When the user has selected \'Award minimum score\' from the minimum scoring dropdown, attempts the question incorrectly and switches to grading view, the user should be awarded with minimum points', () => {
|
32
41
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
33
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
42
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: 'Roots' }]);
|
34
43
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(2, 12);
|
35
44
|
fillInTheGapsDropdownPage.steps.verifyQuestionPreviewStateWhenSwitchingBackToStudentView();
|
36
45
|
});
|
@@ -48,19 +57,19 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
48
57
|
|
49
58
|
it('When the user has selected \'Award minimum score only if attempted\' from the minimum scoring dropdown, attempts the question incorrectly and switches to grading view, the user should be awarded with minimum points', () => {
|
50
59
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
51
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
60
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: 'Roots' }]);
|
52
61
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(2, 12);
|
53
62
|
});
|
54
63
|
|
55
64
|
it('When the user attempts the question partially correct such that points of the correctly attempted option are greater than minimum points, then the user should be awarded with points as per the correctly attempted response', () => {
|
56
65
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
57
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
66
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: 'Stem' }]);
|
58
67
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 12);
|
59
68
|
});
|
60
69
|
|
61
70
|
it('When the user attempts the question partially correct such that minimum points are greater than points of the correctly attempted option, then the user should be awarded with minimum points', () => {
|
62
71
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
63
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
72
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Flower' }]);
|
64
73
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(2, 12);
|
65
74
|
});
|
66
75
|
});
|
@@ -72,7 +81,14 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
72
81
|
cy.barsPreLoaderWait();
|
73
82
|
fillInTheGapsDropdownPage.steps.addResponseAreaInQuestionField();
|
74
83
|
fillInTheGapsDropdownPage.steps.addResponseAreaInQuestionField();
|
75
|
-
fillInTheGapsDropdownPage.steps.
|
84
|
+
fillInTheGapsDropdownPage.steps.addInputToDropdownOptionFields(0, optionsForDropdown1);
|
85
|
+
fillInTheGapsDropdownPage.steps.addInputToDropdownOptionFields(1, optionsForDropdown2);
|
86
|
+
fillInTheGapsDropdownPage.steps.addInputToDropdownOptionFields(2, optionsForDropdown3);
|
87
|
+
fillInTheGapsDropdownPage.steps.addInputToDropdownOptionFields(3, optionsForDropdown3);
|
88
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, correctAnswerArray[0]);
|
89
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, correctAnswerArray[1]);
|
90
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(2, correctAnswerArray[2]);
|
91
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(3, 'Roots');
|
76
92
|
fillInTheGapsDropdownPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
|
77
93
|
fillInTheGapsDropdownPage.steps.allotPartialDifferentWeightsPoints({ 0: 2.67, 1: 1.99, 2: 1.34, 3: 4.5 });
|
78
94
|
});
|
@@ -81,13 +97,13 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
81
97
|
fillInTheGapsDropdownPage.steps.expandRoundingDropdown();
|
82
98
|
fillInTheGapsDropdownPage.steps.selectOptionFromRoundingDropdown('round down if <= 0.99');
|
83
99
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
84
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
100
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Flower' }]);
|
85
101
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(2, 10.5);
|
86
102
|
});
|
87
103
|
|
88
104
|
it('When the user has set \'Rounding\' to \'Round down if <=0.99\', attempts the question partially correct with an option such that points of the correctly attempted options has decimal value equal to 0.99, then the points awarded should be rounded down to the nearest integer value', () => {
|
89
105
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
90
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
106
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 1, dropdownOption: 'Leaf' }]);
|
91
107
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(1, 10.5);
|
92
108
|
});
|
93
109
|
|
@@ -96,13 +112,13 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
96
112
|
fillInTheGapsDropdownPage.steps.expandRoundingDropdown();
|
97
113
|
fillInTheGapsDropdownPage.steps.selectOptionFromRoundingDropdown('round down if <= 0.50');
|
98
114
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
99
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
115
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: 'Stem' }]);
|
100
116
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(1, 10.5);
|
101
117
|
});
|
102
118
|
|
103
119
|
it('When the user has set \'Rounding\' to \'Round down if <=0.50\', attempts the question partially correct with an option such that points of the correctly attempted options has decimal value equal to 0.50, then the points awarded should be rounded down to the nearest integer value', () => {
|
104
120
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
105
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
121
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 3, dropdownOption: 'Roots' }]);
|
106
122
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(4, 10.5);
|
107
123
|
});
|
108
124
|
|
@@ -111,19 +127,19 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
111
127
|
fillInTheGapsDropdownPage.steps.expandRoundingDropdown();
|
112
128
|
fillInTheGapsDropdownPage.steps.selectOptionFromRoundingDropdown('round down if <= 0.50; Round up if > 0.50');
|
113
129
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
114
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
130
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 2, dropdownOption: 'Stem' }]);
|
115
131
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(1, 10.5);
|
116
132
|
});
|
117
133
|
|
118
134
|
it('When the user has set \'Rounding\' to \'Round down if <=0.50, Round up if > 0.50\', attempts the question partially correct with an option such that points of the correctly attempted options has decimal value equal to 0.50, then the points awarded should be rounded down to the nearest integer value', () => {
|
119
135
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
120
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
136
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 3, dropdownOption: 'Roots' }]);
|
121
137
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(4, 10.5);
|
122
138
|
});
|
123
139
|
|
124
140
|
it('When the user has set \'Rounding\' to \'Round down if <=0.50, Round up if > 0.50\', attempts the question partially correct with an option such that points of the correctly attempted options has decimal value greater than 0.50, then the points awarded should be rounded down to the nearest integer value', () => {
|
125
141
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
126
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
142
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Flower' }]);
|
127
143
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(3, 10.5);
|
128
144
|
});
|
129
145
|
|
@@ -134,7 +150,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
134
150
|
fillInTheGapsDropdownPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for the entire question');
|
135
151
|
fillInTheGapsDropdownPage.steps.allotPenaltyPoints(4);
|
136
152
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
137
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
153
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Stem' }]);
|
138
154
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(0, 10.5);
|
139
155
|
});
|
140
156
|
|
@@ -142,7 +158,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
142
158
|
fillInTheGapsDropdownPage.steps.switchToEditTab();
|
143
159
|
fillInTheGapsDropdownPage.steps.uncheckRoundNegativeScoresToZeroCheckbox();
|
144
160
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
145
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
161
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Stem' }]);
|
146
162
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(-4, 10.5);
|
147
163
|
});
|
148
164
|
});
|
@@ -154,7 +170,12 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
154
170
|
cy.barsPreLoaderWait();
|
155
171
|
fillInTheGapsDropdownPage.steps.addResponseAreaInQuestionField();
|
156
172
|
fillInTheGapsDropdownPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
|
157
|
-
fillInTheGapsDropdownPage.steps.
|
173
|
+
fillInTheGapsDropdownPage.steps.addInputToDropdownOptionFields(0, optionsForDropdown1);
|
174
|
+
fillInTheGapsDropdownPage.steps.addInputToDropdownOptionFields(1, optionsForDropdown2);
|
175
|
+
fillInTheGapsDropdownPage.steps.addInputToDropdownOptionFields(2, optionsForDropdown3);
|
176
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(0, correctAnswerArray[0]);
|
177
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(1, correctAnswerArray[1]);
|
178
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownSpecifyCorrectAnswerSection(2, correctAnswerArray[2]);
|
158
179
|
fillInTheGapsDropdownPage.steps.allotPartialDifferentWeightsPoints({ 0: 9, 1: 6, 2: 5 });
|
159
180
|
fillInTheGapsDropdownPage.steps.checkAllowStudentToCheckAnswerCheckbox();
|
160
181
|
});
|
@@ -166,19 +187,19 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
166
187
|
fillInTheGapsDropdownPage.steps.uncheckRoundNegativeScoresToZeroCheckbox();
|
167
188
|
fillInTheGapsDropdownPage.steps.allotPenaltyPoints(4);
|
168
189
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
169
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
190
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Stem' }]);
|
170
191
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(-4, 20);
|
171
192
|
});
|
172
193
|
|
173
194
|
it('When the user attempts the question correctly along with an incorrect response, then penalty points should get deducted from the awarded points', () => {
|
174
195
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
175
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
196
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Flower' }, { dropdownIndex: 1, dropdownOption: 'Leaf' }, { dropdownIndex: 2, dropdownOption: 'Roots' }]);
|
176
197
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 20);
|
177
198
|
});
|
178
199
|
|
179
200
|
it('When the user attempts the question correctly along with multiple incorrect responses, then penalty points should get deducted from the awarded points only once, the deducted penalty points should not increase as per number of attempted incorrect responses', () => {
|
180
201
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
181
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
202
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Flower' }, { dropdownIndex: 1, dropdownOption: 'Seed' }, { dropdownIndex: 2, dropdownOption: 'Roots' }]);
|
182
203
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(5, 20);
|
183
204
|
});
|
184
205
|
|
@@ -188,7 +209,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
188
209
|
fillInTheGapsDropdownPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score only if attempted');
|
189
210
|
fillInTheGapsDropdownPage.steps.allotMinimumPoints(3);
|
190
211
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
191
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
212
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Branch' }]);
|
192
213
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(3, 20);
|
193
214
|
cy.log('Post step: Switching to edit tab and resetting minimum scoring to "No minimum score"')
|
194
215
|
fillInTheGapsDropdownPage.steps.switchToEditTab();
|
@@ -202,19 +223,19 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
202
223
|
fillInTheGapsDropdownPage.steps.selectOptionFromPenaltyScoringDropdown('Penalty points for each incorrect dropdown');
|
203
224
|
fillInTheGapsDropdownPage.steps.allotTotalPenaltyPoints(4);
|
204
225
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
205
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
226
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Branch' }]);
|
206
227
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(-3.99, 20);
|
207
228
|
});
|
208
229
|
|
209
230
|
it('When the user attempts the question correctly along with an incorrect option, then penalty points should get deducted from the awarded points', () => {
|
210
231
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
211
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
232
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Flower' }, { dropdownIndex: 1, dropdownOption: 'Leaf' }, { dropdownIndex: 2, dropdownOption: 'Roots' }]);
|
212
233
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(12.67, 20);
|
213
234
|
});
|
214
235
|
|
215
236
|
it('When the user attempts the question correctly along with multiple incorrect options, then Penalty points for each incorrect dropdown should get deducted from the awarded points', () => {
|
216
237
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
217
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
238
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Flower' }, { dropdownIndex: 1, dropdownOption: 'Seed' }, { dropdownIndex: 2, dropdownOption: 'Roots' }]);
|
218
239
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(12.67, 20);
|
219
240
|
});
|
220
241
|
|
@@ -224,7 +245,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
224
245
|
fillInTheGapsDropdownPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score only if attempted');
|
225
246
|
fillInTheGapsDropdownPage.steps.allotMinimumPoints(3);
|
226
247
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
227
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
248
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Stem' }]);
|
228
249
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(3, 20);
|
229
250
|
cy.log('Post step: Switching to edit tab and resetting minimum scoring to "No minimum score"')
|
230
251
|
fillInTheGapsDropdownPage.steps.switchToEditTab();
|
@@ -234,22 +255,22 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
234
255
|
|
235
256
|
//Penalty points for each incorrect dropdown - Specify points for each incorrect dropdown
|
236
257
|
it('When the user has set penalty scoring to \'Penalty points for each incorrect dropdown\', and \'Specify total penalty points\' radio button in checked state, allots total penalty points and attempts the question incorrectly, then the user should be awarded with negative points for the incorrect and empty dropzone', () => {
|
237
|
-
fillInTheGapsDropdownPage.steps.
|
258
|
+
fillInTheGapsDropdownPage.steps.selectPenaltyPointsForEachIncorrectOptionType("Specify points for each incorrect dropdown");
|
238
259
|
fillInTheGapsDropdownPage.steps.allotPenaltyPointsForEachIncorrectDropdown(4);
|
239
260
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
240
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
261
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Stem' }]);
|
241
262
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(-12, 20);
|
242
263
|
});
|
243
264
|
|
244
265
|
it('When the user attempts the question correctly along with an incorrect option, then penalty points should get deducted from the awarded points', () => {
|
245
266
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
246
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
267
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Flower' }, { dropdownIndex: 1, dropdownOption: 'Leaf' }, { dropdownIndex: 2, dropdownOption: 'Roots' }]);
|
247
268
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(10, 20);
|
248
269
|
});
|
249
270
|
|
250
271
|
it('When the user attempts the question correctly along with multiple incorrect options, then Penalty points for each incorrect dropdown should get deducted from the awarded points', () => {
|
251
272
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
252
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
273
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Flower' }, { dropdownIndex: 1, dropdownOption: 'Seed' }, { dropdownIndex: 2, dropdownOption: 'Roots' }]);
|
253
274
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(1, 20);
|
254
275
|
});
|
255
276
|
|
@@ -259,7 +280,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
259
280
|
fillInTheGapsDropdownPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score only if attempted');
|
260
281
|
fillInTheGapsDropdownPage.steps.allotMinimumPoints(3);
|
261
282
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
262
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
283
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Stem' }]);
|
263
284
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(3, 20);
|
264
285
|
cy.log('Post step: Switching to edit tab and resetting minimum scoring to "No minimum score"')
|
265
286
|
fillInTheGapsDropdownPage.steps.switchToEditTab();
|
@@ -271,19 +292,19 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
271
292
|
it('When the user has set penalty scoring to \'Penalty points for each incorrect dropdown\', and checks \'Automatically set penalty for each incorrect dropdown to total points / no. of incorrect dropdown\' checkbox and attempts the question incorrectly, then the user should be awarded with negative points for the incorrect and empty dropzone', () => {
|
272
293
|
fillInTheGapsDropdownPage.steps.checkAutomaticallySetPenaltyPointsCheckbox();
|
273
294
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
274
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
295
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Stem' }]);
|
275
296
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(-20.01, 20);
|
276
297
|
});
|
277
298
|
|
278
299
|
it('When the user attempts the question correctly along with an incorrect option, then penalty points should get deducted from the awarded points', () => {
|
279
300
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
280
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
301
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Flower' }, { dropdownIndex: 1, dropdownOption: 'Leaf' }, { dropdownIndex: 2, dropdownOption: 'Roots' }]);
|
281
302
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(7.33, 20);
|
282
303
|
});
|
283
304
|
|
284
305
|
it('When the user attempts the question correctly along with multiple incorrect options, then penalty points for each incorrect option should get deducted from the awarded points', () => {
|
285
306
|
fillInTheGapsDropdownPage.steps.resetQuestionPreview();
|
286
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
307
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Flower' }, { dropdownIndex: 1, dropdownOption: 'Seed' }, { dropdownIndex: 2, dropdownOption: 'Roots' }]);
|
287
308
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(-4.34, 20);
|
288
309
|
});
|
289
310
|
|
@@ -293,7 +314,7 @@ describe('Create item page - Fill in the gaps with dropdown: Partial different w
|
|
293
314
|
fillInTheGapsDropdownPage.steps.selectOptionFromMinimumScoringDropdown('Award minimum score only if attempted');
|
294
315
|
fillInTheGapsDropdownPage.steps.allotMinimumPoints(3);
|
295
316
|
fillInTheGapsDropdownPage.steps.switchToPreviewTab();
|
296
|
-
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{
|
317
|
+
fillInTheGapsDropdownPage.steps.selectResponseFromDropdownInPreviewTab([{ dropdownIndex: 0, dropdownOption: 'Stem' }]);
|
297
318
|
fillInTheGapsDropdownPage.steps.verifyPreviewScore(3, 20);
|
298
319
|
});
|
299
320
|
});
|
@@ -16,7 +16,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
16
16
|
describe('Question preview: Auto scored - All or nothing with alternative answer - When \'Alternative answer\' points are more than \'Correct answer\' points', () => {
|
17
17
|
abortEarlySetup();
|
18
18
|
before(() => {
|
19
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
19
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
20
20
|
cy.barsPreLoaderWait();
|
21
21
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
22
22
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
@@ -16,7 +16,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
16
16
|
describe('Question preview: Auto scored - All or nothing with alternative answer - When \'Correct answer\' points are equal to \'Alternative answer\' points', () => {
|
17
17
|
abortEarlySetup();
|
18
18
|
before(() => {
|
19
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
19
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
20
20
|
cy.barsPreLoaderWait();
|
21
21
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
22
22
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
@@ -19,7 +19,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: All or n
|
|
19
19
|
describe('Question preview: Auto scored - All or nothing with alternative answer - When \'Correct answer\' points are more than \'Alternate answer\' points', () => {
|
20
20
|
abortEarlySetup();
|
21
21
|
before(() => {
|
22
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
22
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
23
23
|
cy.barsPreLoaderWait();
|
24
24
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
25
25
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/allOrNothingPenaltyScoring.js
CHANGED
@@ -15,7 +15,7 @@ describe('Create item page -Fill in the gaps over image with dropdown: All or no
|
|
15
15
|
describe('Question preview: Auto scored - All or nothing: Penalty scoring with \'Round negative score to zero\' unchecked', () => {
|
16
16
|
abortEarlySetup();
|
17
17
|
before(() => {
|
18
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
18
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
19
19
|
cy.barsPreLoaderWait();
|
20
20
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
21
21
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
@@ -15,7 +15,7 @@ describe('Create Item page - Fill in the gaps over image with dropdown: Manually
|
|
15
15
|
describe('Question Preview: Manually Scored', () => {
|
16
16
|
abortEarlySetup();
|
17
17
|
before(() => {
|
18
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
18
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
19
19
|
cy.barsPreLoaderWait();
|
20
20
|
fillInTheGapsOverImageDropdownPage.steps.addTextInQuestionInstructionsInputField('fill in the gaps');
|
21
21
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
@@ -40,7 +40,7 @@ describe('Create Item page - Fill in the gaps over image with dropdown: Manually
|
|
40
40
|
describe('Question Preview: Non Scored', () => {
|
41
41
|
abortEarlySetup();
|
42
42
|
before(() => {
|
43
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
43
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
44
44
|
cy.barsPreLoaderWait();
|
45
45
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
46
46
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
@@ -16,7 +16,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
16
16
|
describe('Question preview: Auto scored - Partial different weights - When \'Alternative answer\' points are more than \'Correct answer\' points', () => {
|
17
17
|
abortEarlySetup();
|
18
18
|
before(() => {
|
19
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
19
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
20
20
|
cy.barsPreLoaderWait();
|
21
21
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
22
22
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialDifferentWeightsBasic.js
CHANGED
@@ -14,7 +14,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Partial dif
|
|
14
14
|
describe('Auto scored - Partial different weights', () => {
|
15
15
|
abortEarlySetup();
|
16
16
|
before(() => {
|
17
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
17
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
18
18
|
cy.barsPreLoaderWait();
|
19
19
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
20
20
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
@@ -95,7 +95,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Partial dif
|
|
95
95
|
describe('Question preview: Auto scored - Partial different weights: Minimum scoring', () => {
|
96
96
|
abortEarlySetup();
|
97
97
|
before(() => {
|
98
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
98
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
99
99
|
cy.barsPreLoaderWait();
|
100
100
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
101
101
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
@@ -160,7 +160,7 @@ describe('Create item page - Fill in the gaps over image - dropdown: Partial dif
|
|
160
160
|
describe('Question preview: Auto scored - Partial different weights: Rounding', () => {
|
161
161
|
abortEarlySetup();
|
162
162
|
before(() => {
|
163
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
163
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
164
164
|
cy.barsPreLoaderWait();
|
165
165
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
166
166
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
@@ -17,7 +17,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
17
17
|
describe('Question preview: Auto scored - Partial different weight - When \'Correct answer\' points are equal to \'Alternative answer\' points', () => {
|
18
18
|
abortEarlySetup();
|
19
19
|
before(() => {
|
20
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
20
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
21
21
|
cy.barsPreLoaderWait();
|
22
22
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
23
23
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
@@ -16,7 +16,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
16
16
|
describe('Question preview: Auto scored - Partial different weights - When \'Correct answer\' points are greater than \'Alternative answer\' points', () => {
|
17
17
|
abortEarlySetup();
|
18
18
|
before(() => {
|
19
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
19
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
20
20
|
cy.barsPreLoaderWait();
|
21
21
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
22
22
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsBasic.js
CHANGED
@@ -14,7 +14,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
14
14
|
describe('Auto scored - Partial equal weights', () => {
|
15
15
|
abortEarlySetup();
|
16
16
|
before(() => {
|
17
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
17
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
18
18
|
cy.barsPreLoaderWait();
|
19
19
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
20
20
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
@@ -96,7 +96,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
96
96
|
describe('Question preview: Auto scored - Partial equal weights: Minimum scoring', () => {
|
97
97
|
abortEarlySetup();
|
98
98
|
before(() => {
|
99
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
99
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
100
100
|
cy.barsPreLoaderWait();
|
101
101
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
102
102
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
@@ -18,7 +18,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
18
18
|
describe('Question preview: Auto scored - Partial equal weights - When \'Alternative\' points are more than \'Correct\' points', () => {
|
19
19
|
abortEarlySetup();
|
20
20
|
before(() => {
|
21
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
21
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
22
22
|
cy.barsPreLoaderWait();
|
23
23
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
24
24
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
@@ -19,7 +19,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
19
19
|
describe('Question preview: Auto scored - Partial equal weights with alternative answer - When \'Correct answer\' points are equal to \'Alternative answer\' points', () => {
|
20
20
|
abortEarlySetup();
|
21
21
|
before(() => {
|
22
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
22
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
23
23
|
cy.barsPreLoaderWait();
|
24
24
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
25
25
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
@@ -18,7 +18,7 @@ describe('Create item page - Fill in the gaps over image with dropdown: Partial
|
|
18
18
|
describe('Question preview: Auto scored - Partial equal weights with alternative answer - When \'Correct answer\' points are more than \'Alternate answer\' points', () => {
|
19
19
|
abortEarlySetup();
|
20
20
|
before(() => {
|
21
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
21
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
22
22
|
cy.barsPreLoaderWait();
|
23
23
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
24
24
|
fillInTheGapsOverImageDropdownPage.steps.verifyImageIsUploaded();
|
@@ -14,7 +14,7 @@ describe('fill in the gaps over image - dropdown - Additional settings', () => {
|
|
14
14
|
describe('Additional settings accordion', () => {
|
15
15
|
abortEarlySetup();
|
16
16
|
before(() => {
|
17
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
17
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
18
18
|
cy.barsPreLoaderWait();
|
19
19
|
});
|
20
20
|
|
@@ -24,7 +24,7 @@ describe('fill in the gaps over image - dropdown - Additional settings', () => {
|
|
24
24
|
describe('Additional settings: Font size - Contents in edit tab', () => {
|
25
25
|
abortEarlySetup();
|
26
26
|
before(() => {
|
27
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
27
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
28
28
|
cy.barsPreLoaderWait();
|
29
29
|
fillInTheGapsOverImageDropdownPage.steps.expandAdditionalSettings();
|
30
30
|
});
|
@@ -35,7 +35,7 @@ describe('fill in the gaps over image - dropdown - Additional settings', () => {
|
|
35
35
|
describe('Additional settings: Font size - functionality in edit tab', () => {
|
36
36
|
abortEarlySetup();
|
37
37
|
before(() => {
|
38
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
38
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
39
39
|
cy.barsPreLoaderWait();
|
40
40
|
fillInTheGapsOverImageDropdownPage.steps.addTextInQuestionInstructionsInputField('Fill in the gaps');
|
41
41
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
@@ -69,7 +69,7 @@ describe('fill in the gaps over image - dropdown - Additional settings', () => {
|
|
69
69
|
describe('Additional settings: Font size - functionality in preview tab', () => {
|
70
70
|
abortEarlySetup();
|
71
71
|
before(() => {
|
72
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
72
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
73
73
|
cy.barsPreLoaderWait();
|
74
74
|
fillInTheGapsOverImageDropdownPage.steps.addTextInQuestionInstructionsInputField('Fill in the gaps');
|
75
75
|
fillInTheGapsOverImageDropdownPage.steps.uploadFile('highlightImage.jpg');
|
@@ -122,7 +122,7 @@ describe('fill in the gaps over image - dropdown - Additional settings', () => {
|
|
122
122
|
describe('Additional settings: Accessibility section', () => {
|
123
123
|
abortEarlySetup();
|
124
124
|
before(() => {
|
125
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
125
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
126
126
|
cy.barsPreLoaderWait();
|
127
127
|
fillInTheGapsOverImageDropdownPage.steps.expandAdditionalSettings();
|
128
128
|
});
|
@@ -133,7 +133,7 @@ describe('fill in the gaps over image - dropdown - Additional settings', () => {
|
|
133
133
|
describe('Additional Settings: Details section', () => {
|
134
134
|
abortEarlySetup();
|
135
135
|
before(() => {
|
136
|
-
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image
|
136
|
+
fillInTheGapsOverImageDropdownPage.steps.navigateToCreateQuestion('fill in the gaps over image with dropdown');
|
137
137
|
cy.barsPreLoaderWait();
|
138
138
|
fillInTheGapsOverImageDropdownPage.steps.expandAdditionalSettings();
|
139
139
|
});
|