itemengine-cypress-automation 1.0.66 → 1.0.68
Sign up to get free protection for your applications and to get access to all the features.
- package/Dockerfile +6 -2
- package/cypress/e2e/ILC/AudioResponse/audioResponseAdditionalSettings.js +1 -1
- package/cypress/e2e/ILC/AudioResponse/audioResponseAdditionalSettingsBasic.js +10 -12
- package/cypress/e2e/ILC/AudioResponse/audioResponseScoringSection.js +2 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesAdditionalSettingsBasic.js +25 -35
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesManuallyAndNonScored.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesManuallyAndNonScoredEditTabScoring.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenCell.js +2 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenCellsAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenCellsCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenCellsCorrectPointsGreaterThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenResponses.js +2 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenResponsesAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenResponsesCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/groupedOptionsTotalScoreDividedBetweenResponsesCorrectPointsGreaterThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothing.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothingAlternatePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothingCorrectPointsEqualToAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardAllOrNothingCorrectPointsGreaterThanAlternatePoints.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardPartialScoreForEachCell.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenCell.js +2 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenCellAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenCellCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenCellCorrectPointsGreaterThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenResponse.js +2 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenResponseAlternatePointsGreaterThanCorrectPoints.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenResponseCorrectPointsEqualToAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesScoring/standardTotalScoreDividedBetweenResponseCorrectPointsGreaterThanAlternatePoints.js +0 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesSetCorrectAnswerSection.js +2 -2
- package/package.json +1 -1
package/Dockerfile
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
#use Cypress base image from https://github.com/cypress-io/cypress-docker-images
|
2
|
-
FROM cypress/base:14.19.0
|
3
|
-
FROM cypress/browsers:node14.19.0-chrome100-ff99-edge
|
2
|
+
# FROM cypress/base:14.19.0
|
3
|
+
# FROM cypress/browsers:node14.19.0-chrome100-ff99-edge
|
4
|
+
|
5
|
+
FROM cypress/included:12.17.2
|
6
|
+
|
7
|
+
RUN apt-get update && apt-get install curl -y
|
4
8
|
|
5
9
|
WORKDIR /ie-e2e
|
6
10
|
|
@@ -2,7 +2,7 @@ import { audioResponsePage } from '../../../pages/audioResponsePage';
|
|
2
2
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
3
|
const css = Cypress.env('css');
|
4
4
|
|
5
|
-
const fontsizes = ['
|
5
|
+
const fontsizes = ['Tiny', 'Small', 'Default', 'Normal', 'Big', 'Huge'];
|
6
6
|
const font = ['16px', '12px', '14px', '17px', '20px', '24px'];
|
7
7
|
|
8
8
|
describe('Create Item page - Audio response: Additional Settings', () => {
|
@@ -1,9 +1,7 @@
|
|
1
1
|
import { audioResponsePage } from '../../../pages/audioResponsePage';
|
2
2
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
3
|
const css = Cypress.env('css');
|
4
|
-
|
5
|
-
const fontsizes = ['Default', 'Small', 'Normal', 'Large', 'Extra large', 'Huge'];
|
6
|
-
const font = ['16px', '12px', '14px', '17px', '20px', '24px'];
|
4
|
+
const fontSizes = { 'Tiny': '12px', 'Small': '14px', 'Default': '16px', 'Normal': '18px', 'Big': '22px', 'Huge': '26px' };
|
7
5
|
|
8
6
|
describe('Create Item page - Audio response: Additional Settings', () => {
|
9
7
|
before(() => {
|
@@ -42,20 +40,20 @@ describe('Create Item page - Audio response: Additional Settings', () => {
|
|
42
40
|
audioResponsePage.steps.expandAdditonalSettings();
|
43
41
|
});
|
44
42
|
|
45
|
-
audioResponsePage.tests.verifyFontSizeSectionContents()
|
43
|
+
audioResponsePage.tests.verifyFontSizeSectionContents();
|
46
44
|
|
47
|
-
|
48
|
-
it(`When the user selects '${option}' option from the Font Size dropdown, then font size
|
45
|
+
Object.keys(fontSizes).forEach((option, fontsIndex) => {
|
46
|
+
it(`When the user selects '${option}' option from the Font Size dropdown, then font size of the preview content should be changed to ${fontSizes[option]} in the preview tab`, () => {
|
49
47
|
audioResponsePage.fontSizeDropdown()
|
50
48
|
.click();
|
51
|
-
audioResponsePage.fontSizeListOptions(
|
49
|
+
audioResponsePage.fontSizeListOptions(fontsIndex)
|
52
50
|
.click();
|
53
51
|
audioResponsePage.fontSizeDropdown()
|
54
52
|
.verifyInnerText(`${option}`);
|
55
53
|
cy.log('Switching to Preview tab.');
|
56
54
|
audioResponsePage.steps.switchToPreviewTab();
|
57
55
|
audioResponsePage.questionInstructionsText()
|
58
|
-
.should('have.css', 'font-size',
|
56
|
+
.should('have.css', 'font-size', fontSizes[option]);
|
59
57
|
cy.log('Post step: Switch to Edit tab')
|
60
58
|
audioResponsePage.steps.switchToEditTab();
|
61
59
|
});
|
@@ -73,18 +71,18 @@ describe('Create Item page - Audio response: Additional Settings', () => {
|
|
73
71
|
.should('be.visible');
|
74
72
|
});
|
75
73
|
|
76
|
-
|
77
|
-
it(`When the user selects '${option}' option from the Font Size dropdown, then font size
|
74
|
+
Object.keys(fontSizes).forEach((option, fontsIndex) => {
|
75
|
+
it(`When the user selects '${option}' option from the Font Size dropdown, then font size of the preview content should be changed to ${fontSizes[option]} in the preview tab`, () => {
|
78
76
|
audioResponsePage.fontSizeDropdown()
|
79
77
|
.click();
|
80
|
-
audioResponsePage.fontSizeListOptions(
|
78
|
+
audioResponsePage.fontSizeListOptions(fontsIndex)
|
81
79
|
.click();
|
82
80
|
audioResponsePage.fontSizeDropdown()
|
83
81
|
.verifyInnerText(`${option}`);
|
84
82
|
cy.log('Switching to Preview tab.');
|
85
83
|
audioResponsePage.steps.switchToPreviewTab();
|
86
84
|
audioResponsePage.questionInstructionsText()
|
87
|
-
.should('have.css', 'font-size',
|
85
|
+
.should('have.css', 'font-size', fontSizes[option]);
|
88
86
|
cy.log('Post step: Switch to Edit tab')
|
89
87
|
audioResponsePage.steps.switchToEditTab();
|
90
88
|
});
|
@@ -35,7 +35,7 @@ describe('Create question page - Audio Response: Scoring', () => {
|
|
35
35
|
audioResponsePage.steps.switchToPreviewTab();
|
36
36
|
});
|
37
37
|
|
38
|
-
audioResponsePage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab()
|
38
|
+
audioResponsePage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
|
39
39
|
});
|
40
40
|
|
41
41
|
describe('Non Scored scoring type - Question creation page', () => {
|
@@ -55,6 +55,6 @@ describe('Create question page - Audio Response: Scoring', () => {
|
|
55
55
|
audioResponsePage.steps.switchToPreviewTab();
|
56
56
|
});
|
57
57
|
|
58
|
-
audioResponsePage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab()
|
58
|
+
audioResponsePage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Non scored');
|
59
59
|
});
|
60
60
|
});
|
@@ -1,10 +1,8 @@
|
|
1
1
|
import { dragAndDropIntoCategoriesPage } from "../../../pages";
|
2
2
|
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
3
3
|
import utilities from "../../../support/helpers/utilities";
|
4
|
-
const css = Cypress.env('css');
|
5
4
|
const optionsArray = ['Bat', 'Eagle', 'Parrot', 'Whale'];
|
6
|
-
const
|
7
|
-
const fontSizes = ['16px', '12px', '14px', '17px', '20px', '24px'];
|
5
|
+
const fontSizes = { 'Tiny': '12px', 'Small': '14px', 'Default': '16px', 'Normal': '18px', 'Big': '22px', 'Huge': '26px' };
|
8
6
|
|
9
7
|
describe('Create item page: Drag and drop into categories: Additional settings', () => {
|
10
8
|
before(() => {
|
@@ -39,14 +37,6 @@ describe('Create item page: Drag and drop into categories: Additional settings',
|
|
39
37
|
before(() => {
|
40
38
|
dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
|
41
39
|
cy.barsPreLoaderWait();
|
42
|
-
dragAndDropIntoCategoriesPage.steps.addOption();
|
43
|
-
dragAndDropIntoCategoriesPage.steps.addOption();
|
44
|
-
dragAndDropIntoCategoriesPage.steps.addInputToOptionsForDragAndDropFields(optionsArray);
|
45
|
-
dragAndDropIntoCategoriesPage.steps.allotPoints(20);
|
46
|
-
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Bat', 0);
|
47
|
-
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Eagle', 1);
|
48
|
-
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Whale', 2);
|
49
|
-
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Platypus', 3);
|
50
40
|
dragAndDropIntoCategoriesPage.steps.expandAdditonalSettings();
|
51
41
|
});
|
52
42
|
|
@@ -69,31 +59,31 @@ describe('Create item page: Drag and drop into categories: Additional settings',
|
|
69
59
|
dragAndDropIntoCategoriesPage.steps.enterTextInRowHeadingInputField('Row heading');
|
70
60
|
});
|
71
61
|
|
72
|
-
|
73
|
-
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the set correct answer section (options, labels) should be changed to ${option}`, () => {
|
62
|
+
Object.keys(fontSizes).forEach((option, fontsIndex) => {
|
63
|
+
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the set correct answer section (options, labels) should be changed to ${fontSizes[option]}`, () => {
|
74
64
|
dragAndDropIntoCategoriesPage.steps.selectFontSizeOptionFromFontSizeDropdown(fontsIndex)
|
75
65
|
dragAndDropIntoCategoriesPage.fontSizeDropdown()
|
76
66
|
.verifyInnerText(`${option}`);
|
77
67
|
dragAndDropIntoCategoriesPage.setCorrectAnswerDraggableOptionsWrapper('drag and drop into categories')
|
78
68
|
.within(() => {
|
79
|
-
utilities.verifyCSS(dragAndDropIntoCategoriesPage.
|
80
|
-
'font-size': fontSizes[
|
69
|
+
utilities.verifyCSS(utilities.getNthElement(dragAndDropIntoCategoriesPage.draggableOptionText(), 0), {
|
70
|
+
'font-size': fontSizes[option]
|
81
71
|
});
|
82
72
|
});
|
83
73
|
dragAndDropIntoCategoriesPage.setCorrectAnswerSectionCategoryGrid()
|
84
74
|
.within(() => {
|
85
|
-
utilities.verifyCSS(dragAndDropIntoCategoriesPage.
|
86
|
-
'font-size': fontSizes[
|
75
|
+
utilities.verifyCSS(utilities.getNthElement(dragAndDropIntoCategoriesPage.draggableOptionText(), 0), {
|
76
|
+
'font-size': fontSizes[option]
|
87
77
|
});
|
88
78
|
});
|
89
79
|
utilities.verifyCSS(dragAndDropIntoCategoriesPage.setCorrectAnswerSectionCategoryTitle(), {
|
90
|
-
'font-size': fontSizes[
|
80
|
+
'font-size': fontSizes[option]
|
91
81
|
});
|
92
82
|
utilities.verifyCSS(dragAndDropIntoCategoriesPage.setCorrectAnswerSectionRowTitle(), {
|
93
|
-
'font-size': fontSizes[
|
83
|
+
'font-size': fontSizes[option]
|
94
84
|
});
|
95
85
|
utilities.verifyCSS(dragAndDropIntoCategoriesPage.rowHeadingSetCorrectAnswerSection(), {
|
96
|
-
'font-size': fontSizes[
|
86
|
+
'font-size': fontSizes[option]
|
97
87
|
});
|
98
88
|
});
|
99
89
|
});
|
@@ -113,57 +103,57 @@ describe('Create item page: Drag and drop into categories: Additional settings',
|
|
113
103
|
dragAndDropIntoCategoriesPage.steps.expandAdditonalSettings();
|
114
104
|
});
|
115
105
|
|
116
|
-
|
117
|
-
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview (options, question instructions question stems) should be changed to ${option} in the preview tab Answer table`, () => {
|
106
|
+
Object.keys(fontSizes).forEach((option, fontsIndex) => {
|
107
|
+
it(`When the user selects \'${option}\' option from the Font Size dropdown, then font size of the preview (options, question instructions question stems) should be changed to ${fontSizes[option]} in the preview tab Answer table`, () => {
|
118
108
|
dragAndDropIntoCategoriesPage.steps.selectFontSizeOptionFromFontSizeDropdown(fontsIndex);
|
119
109
|
utilities.verifyInnerText(dragAndDropIntoCategoriesPage.fontSizeDropdown(), `${option}`);
|
120
110
|
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
121
111
|
utilities.verifyCSS(dragAndDropIntoCategoriesPage.questionInstructionsText(), {
|
122
|
-
'font-size': fontSizes[
|
112
|
+
'font-size': fontSizes[option]
|
123
113
|
});
|
124
114
|
dragAndDropIntoCategoriesPage.previewTabDraggableOptionsWrapper('drag and drop into categories')
|
125
115
|
.within(() => {
|
126
|
-
utilities.verifyCSS(dragAndDropIntoCategoriesPage.
|
127
|
-
'font-size': fontSizes[
|
116
|
+
utilities.verifyCSS(utilities.getNthElement(dragAndDropIntoCategoriesPage.draggableOptionText(), 0), {
|
117
|
+
'font-size': fontSizes[option]
|
128
118
|
});
|
129
119
|
});
|
130
120
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfPreviewTab('Bat', 0);
|
131
121
|
dragAndDropIntoCategoriesPage.previewTabCategoryGrid()
|
132
122
|
.within(() => {
|
133
|
-
utilities.verifyCSS(dragAndDropIntoCategoriesPage.
|
134
|
-
'font-size': fontSizes[
|
123
|
+
utilities.verifyCSS(utilities.getNthElement(dragAndDropIntoCategoriesPage.draggableOptionText(), 0), {
|
124
|
+
'font-size': fontSizes[option]
|
135
125
|
});
|
136
126
|
});
|
137
127
|
utilities.verifyCSS(dragAndDropIntoCategoriesPage.previewTabCategoryTitle(), {
|
138
|
-
'font-size': fontSizes[
|
128
|
+
'font-size': fontSizes[option]
|
139
129
|
});
|
140
130
|
utilities.verifyCSS(dragAndDropIntoCategoriesPage.previewTabRowTitle(), {
|
141
|
-
'font-size': fontSizes[
|
131
|
+
'font-size': fontSizes[option]
|
142
132
|
});
|
143
133
|
utilities.verifyCSS(dragAndDropIntoCategoriesPage.rowHeadingPreviewTab(), {
|
144
|
-
'font-size': fontSizes[
|
134
|
+
'font-size': fontSizes[option]
|
145
135
|
});
|
146
136
|
cy.log('Font size of answer numeration and correct answer container when show correct answer is checked')
|
147
137
|
dragAndDropIntoCategoriesPage.steps.checkShowCorrectAnswerCheckbox();
|
148
138
|
dragAndDropIntoCategoriesPage.previewTabCategoryGrid()
|
149
139
|
.within(() => {
|
150
140
|
utilities.verifyCSS(dragAndDropIntoCategoriesPage.categoryCellNumeration(), {
|
151
|
-
'font-size': fontSizes[
|
141
|
+
'font-size': fontSizes[option]
|
152
142
|
});
|
153
143
|
});
|
154
144
|
utilities.verifyCSS(dragAndDropIntoCategoriesPage.correctAnswerLabel(), {
|
155
|
-
'font-size': fontSizes[
|
145
|
+
'font-size': fontSizes[option]
|
156
146
|
});
|
157
147
|
dragAndDropIntoCategoriesPage.correctAnswerContainer()
|
158
148
|
.within(() => {
|
159
149
|
utilities.verifyCSS(dragAndDropIntoCategoriesPage.categoryCellNumeration(), {
|
160
|
-
'font-size': fontSizes[
|
150
|
+
'font-size': fontSizes[option]
|
161
151
|
});
|
162
152
|
});
|
163
153
|
dragAndDropIntoCategoriesPage.correctAnswerContainer()
|
164
154
|
.within(() => {
|
165
155
|
utilities.verifyCSS(dragAndDropIntoCategoriesPage.correctAnswerOption(), {
|
166
|
-
'font-size': fontSizes[
|
156
|
+
'font-size': fontSizes[option]
|
167
157
|
});
|
168
158
|
});
|
169
159
|
cy.log('Uncheck show correct answer checkbox')
|
@@ -173,7 +163,7 @@ describe('Create item page: Drag and drop into categories: Additional settings',
|
|
173
163
|
dragAndDropIntoCategoriesPage.previewTabCategoryGrid()
|
174
164
|
.within(() => {
|
175
165
|
utilities.verifyCSS(dragAndDropIntoCategoriesPage.categoryCellNumeration(), {
|
176
|
-
'font-size': fontSizes[
|
166
|
+
'font-size': fontSizes[option]
|
177
167
|
});
|
178
168
|
});
|
179
169
|
dragAndDropIntoCategoriesPage.steps.switchToEditTab();
|
package/cypress/e2e/ILC/DragAndDropIntoCategories/dragAndDropIntoCategoriesManuallyAndNonScored.js
CHANGED
@@ -35,7 +35,7 @@ describe('Create item page - drag and drop into categories: Preview tab scoring
|
|
35
35
|
dragAndDropIntoCategoriesPage.steps.verifyDraggableResponsesPreviewTab('drag and drop into categories', answerResponseOptions);
|
36
36
|
});
|
37
37
|
|
38
|
-
dragAndDropIntoCategoriesPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab();
|
38
|
+
dragAndDropIntoCategoriesPage.tests.verifyShowCorrectAnswerAndPointsNotDisplayedInPreviewTab('Manually scored');
|
39
39
|
});
|
40
40
|
|
41
41
|
describe('Question Preview: Non scored', () => {
|
@@ -20,7 +20,7 @@ describe('Create Item Page: drag and drop into categories: Edit tab scoring type
|
|
20
20
|
dragAndDropIntoCategoriesPage.steps.selectAScoringTypeFromScoringTypeDropdown('Manually scored');
|
21
21
|
});
|
22
22
|
|
23
|
-
it('When the user has selected \'Manually Scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed; \'Scoring subtype\' dropdown should not be displayed; \'Points\' and \'Minimum score awarded (if attempted)\' labels and input fields should be displayed; and inside \'Additional settings\' accordion \'Check answer\' section i.e. \'Allow
|
23
|
+
it('When the user has selected \'Manually Scored\' option from the Scoring Type dropdown then the \'Set Correct Answer\' section should not be displayed; \'Scoring subtype\' dropdown should not be displayed; \'Points\' and \'Minimum score awarded (if attempted)\' labels and input fields should be displayed; and inside \'Additional settings\' accordion \'Check answer\' section i.e. \'Allow student to check answer\' checkbox should not be displayed', () => {
|
24
24
|
dragAndDropIntoCategoriesPage.setCorrectAnswerLabel()
|
25
25
|
.should('not.exist');
|
26
26
|
dragAndDropIntoCategoriesPage.scoringSubtypeLabel()
|
@@ -18,7 +18,6 @@ describe('Create Item page - drag and drop into categories: Preview tab scoring
|
|
18
18
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
19
19
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
20
20
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each cell');
|
21
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
22
21
|
dragAndDropIntoCategoriesPage.steps.expandAdditonalSettings();
|
23
22
|
dragAndDropIntoCategoriesPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
24
23
|
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
@@ -49,6 +48,8 @@ describe('Create Item page - drag and drop into categories: Preview tab scoring
|
|
49
48
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
50
49
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
51
50
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each cell');
|
51
|
+
dragAndDropIntoCategoriesPage.steps.expandRoundingDropdown();
|
52
|
+
dragAndDropIntoCategoriesPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.50');
|
52
53
|
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
53
54
|
});
|
54
55
|
|
@@ -18,7 +18,6 @@ describe('Create Item page - drag and drop into categories: Preview tab scoring
|
|
18
18
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
19
19
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
20
20
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each cell');
|
21
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
22
21
|
dragAndDropIntoCategoriesPage.steps.clickOnAddAlternateAnswerButton();
|
23
22
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Flying squirrel', 0);
|
24
23
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Peacock', 1);
|
@@ -18,7 +18,6 @@ describe('Create Item page - drag and drop into categories: Preview tab scoring
|
|
18
18
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
19
19
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
20
20
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each cell');
|
21
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
22
21
|
dragAndDropIntoCategoriesPage.steps.clickOnAddAlternateAnswerButton();
|
23
22
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Flying squirrel', 0);
|
24
23
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Peacock', 1);
|
@@ -18,7 +18,6 @@ describe('Create Item page - drag and drop into categories: Preview tab scoring
|
|
18
18
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
19
19
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
20
20
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each cell');
|
21
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
22
21
|
dragAndDropIntoCategoriesPage.steps.clickOnAddAlternateAnswerButton();
|
23
22
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Flying squirrel', 0);
|
24
23
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Peacock', 1);
|
@@ -19,7 +19,6 @@ describe('Create Item page - Drag and drop into categories: Preview tab scoring
|
|
19
19
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
20
20
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
21
21
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each correct response');
|
22
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
23
22
|
dragAndDropIntoCategoriesPage.steps.expandAdditonalSettings();
|
24
23
|
dragAndDropIntoCategoriesPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
24
|
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
@@ -49,6 +48,8 @@ describe('Create Item page - Drag and drop into categories: Preview tab scoring
|
|
49
48
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
50
49
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
51
50
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each correct response');
|
51
|
+
dragAndDropIntoCategoriesPage.steps.expandRoundingDropdown();
|
52
|
+
dragAndDropIntoCategoriesPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.50');
|
52
53
|
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
53
54
|
});
|
54
55
|
|
@@ -19,7 +19,6 @@ describe('Create Item page - Drag and drop into categories: Preview tab scoring
|
|
19
19
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
20
20
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
21
21
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each correct response');
|
22
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
23
22
|
dragAndDropIntoCategoriesPage.steps.clickOnAddAlternateAnswerButton();
|
24
23
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Flying squirrel', 0);
|
25
24
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Eagle', 1);
|
@@ -20,7 +20,6 @@ describe('Create Item page - Drag and drop into categories: Preview tab scoring
|
|
20
20
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
21
21
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
22
22
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each correct response');
|
23
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
24
23
|
dragAndDropIntoCategoriesPage.steps.clickOnAddAlternateAnswerButton();
|
25
24
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Flying squirrel', 0);
|
26
25
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Eagle', 1);
|
@@ -19,7 +19,6 @@ describe('Create Item page - Drag and drop into categories: Preview tab scoring
|
|
19
19
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
20
20
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
21
21
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each correct response');
|
22
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
23
22
|
dragAndDropIntoCategoriesPage.steps.clickOnAddAlternateAnswerButton();
|
24
23
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Flying squirrel', 0);
|
25
24
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Eagle', 1);
|
@@ -58,7 +58,7 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
58
58
|
|
59
59
|
it('CSS of \'Score\' and \'Show correct answer\'', { tags: 'css' }, () => {
|
60
60
|
dragAndDropIntoCategoriesPage.previewScoreText()
|
61
|
-
.verifyCSS(css.color.
|
61
|
+
.verifyCSS(css.color.text, css.fontSize.default, css.fontWeight.regular);
|
62
62
|
dragAndDropIntoCategoriesPage.showCorrectAnswerCheckboxLabel()
|
63
63
|
.verifyCSS(css.color.labelText, css.fontSize.normal, css.fontWeight.regular);
|
64
64
|
});
|
@@ -22,7 +22,7 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
22
22
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Whale', 2);
|
23
23
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Parrot', 2);
|
24
24
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Ostrich', 3);
|
25
|
-
dragAndDropIntoCategoriesPage.steps.allotPoints(
|
25
|
+
dragAndDropIntoCategoriesPage.steps.allotPoints(15);
|
26
26
|
dragAndDropIntoCategoriesPage.steps.expandAdditonalSettings();
|
27
27
|
dragAndDropIntoCategoriesPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
28
28
|
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
@@ -22,7 +22,7 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
22
22
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Whale', 2);
|
23
23
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Parrot', 2);
|
24
24
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Ostrich', 3);
|
25
|
-
dragAndDropIntoCategoriesPage.steps.allotPoints(
|
25
|
+
dragAndDropIntoCategoriesPage.steps.allotPoints(10);
|
26
26
|
dragAndDropIntoCategoriesPage.steps.expandAdditonalSettings();
|
27
27
|
dragAndDropIntoCategoriesPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
28
28
|
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
@@ -22,7 +22,7 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
22
22
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Whale', 2);
|
23
23
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Parrot', 2);
|
24
24
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Ostrich', 3);
|
25
|
-
dragAndDropIntoCategoriesPage.steps.allotPoints(
|
25
|
+
dragAndDropIntoCategoriesPage.steps.allotPoints(5);
|
26
26
|
dragAndDropIntoCategoriesPage.steps.expandAdditonalSettings();
|
27
27
|
dragAndDropIntoCategoriesPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
28
28
|
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
@@ -34,6 +34,6 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
34
34
|
|
35
35
|
dragAndDropIntoCategoriesPage.tests.verifyPenaltyPointsFunctionalityForIncorrectAnswer(14, 40);
|
36
36
|
|
37
|
-
dragAndDropIntoCategoriesPage.tests.verifyMinimumScoreIfAttemptedAndPenaltyPointsFunctionalityForIncorrectAnswer([1, 14, 12], 12,
|
37
|
+
dragAndDropIntoCategoriesPage.tests.verifyMinimumScoreIfAttemptedAndPenaltyPointsFunctionalityForIncorrectAnswer([1, 14, 12], 12, 40);
|
38
38
|
});
|
39
39
|
});
|
@@ -18,7 +18,6 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
18
18
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
19
19
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
20
20
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each cell');
|
21
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
22
21
|
dragAndDropIntoCategoriesPage.steps.expandAdditonalSettings();
|
23
22
|
dragAndDropIntoCategoriesPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
24
23
|
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
@@ -49,6 +48,8 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
49
48
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
50
49
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
51
50
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each cell');
|
51
|
+
dragAndDropIntoCategoriesPage.steps.expandRoundingDropdown();
|
52
|
+
dragAndDropIntoCategoriesPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.50');
|
52
53
|
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
53
54
|
});
|
54
55
|
|
@@ -18,7 +18,6 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
18
18
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
19
19
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
20
20
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each cell');
|
21
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
22
21
|
dragAndDropIntoCategoriesPage.steps.clickOnAddAlternateAnswerButton();
|
23
22
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Flying squirrel', 0);
|
24
23
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Peacock', 1);
|
@@ -18,7 +18,6 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
18
18
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
19
19
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
20
20
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each cell');
|
21
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
22
21
|
dragAndDropIntoCategoriesPage.steps.clickOnAddAlternateAnswerButton();
|
23
22
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Flying squirrel', 0);
|
24
23
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Peacock', 1);
|
@@ -18,7 +18,6 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
18
18
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
19
19
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
20
20
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each cell');
|
21
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
22
21
|
dragAndDropIntoCategoriesPage.steps.clickOnAddAlternateAnswerButton();
|
23
22
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Flying squirrel', 0);
|
24
23
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Peacock', 1);
|
@@ -19,7 +19,6 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
19
19
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
20
20
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
21
21
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each correct response');
|
22
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
23
22
|
dragAndDropIntoCategoriesPage.steps.expandAdditonalSettings();
|
24
23
|
dragAndDropIntoCategoriesPage.steps.checkAllowStudentsToCheckAnswerCheckbox();
|
25
24
|
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
@@ -49,6 +48,8 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
49
48
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
50
49
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
51
50
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each correct response');
|
51
|
+
dragAndDropIntoCategoriesPage.steps.expandRoundingDropdown();
|
52
|
+
dragAndDropIntoCategoriesPage.steps.selectOptionFromRoundingDropdownOption('round down if <= 0.50');
|
52
53
|
dragAndDropIntoCategoriesPage.steps.switchToPreviewTab();
|
53
54
|
});
|
54
55
|
|
@@ -19,7 +19,6 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
19
19
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
20
20
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
21
21
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each correct response');
|
22
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
23
22
|
dragAndDropIntoCategoriesPage.steps.clickOnAddAlternateAnswerButton();
|
24
23
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Flying squirrel', 0);
|
25
24
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Eagle', 1);
|
@@ -19,7 +19,6 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
19
19
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
20
20
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
21
21
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each correct response');
|
22
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
23
22
|
dragAndDropIntoCategoriesPage.steps.clickOnAddAlternateAnswerButton();
|
24
23
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Flying squirrel', 0);
|
25
24
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Eagle', 1);
|
@@ -19,7 +19,6 @@ describe('Create Item page - drag and drop into categories: Preview tab Scoring
|
|
19
19
|
dragAndDropIntoCategoriesPage.steps.setCorrectTabAnswerOptions();
|
20
20
|
dragAndDropIntoCategoriesPage.steps.clickOnScoringSubtypeDropdown();
|
21
21
|
dragAndDropIntoCategoriesPage.steps.selectScoringSubTypeDropdownOption('Total score divided between each correct response');
|
22
|
-
dragAndDropIntoCategoriesPage.steps.uncheckRoundDownScoreCheckbox();
|
23
22
|
dragAndDropIntoCategoriesPage.steps.clickOnAddAlternateAnswerButton();
|
24
23
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Flying squirrel', 0);
|
25
24
|
dragAndDropIntoCategoriesPage.steps.clickAndDropDraggableOptionInCategoryCellOfSetCorrectAnswerSection('Eagle', 1);
|
@@ -4,12 +4,12 @@ const css = Cypress.env('css');
|
|
4
4
|
const optionsForThreeResponses = ['Response 1', 'Response 2', 'Response 3'];
|
5
5
|
const optionsForResponses = ['Response 1', 'Response 2'];
|
6
6
|
|
7
|
-
describe('Create Item Page - drag and drop into categories:
|
7
|
+
describe('Create Item Page - drag and drop into categories: Specify correct answer section, correct tab, alternate answer tab', () => {
|
8
8
|
before(() => {
|
9
9
|
cy.loginAs('admin');
|
10
10
|
});
|
11
11
|
|
12
|
-
describe('
|
12
|
+
describe('Specify correct answer section', () => {
|
13
13
|
abortEarlySetup();
|
14
14
|
before(() => {
|
15
15
|
dragAndDropIntoCategoriesPage.steps.navigateToCreateQuestion('drag and drop into categories');
|