itemengine-cypress-automation 1.0.205 → 1.0.206
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/ChartsBar/Scoring/addAndDeleteBarAllOrNothingScoring.js +1 -1
- package/cypress/e2e/ILC/ChartsBar/gridSettings.js +3 -3
- package/cypress/e2e/ILC/ChartsBar/labelOptionsSection.js +2 -0
- package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +17 -17
- package/cypress/e2e/ILC/ChartsBar/selectChartTypeSection.js +747 -0
- package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +1 -1
- package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +7 -7
- package/cypress/e2e/ILC/EssayResponse/additionalSettings.js +257 -0
- package/cypress/e2e/ILC/EssayResponse/toolSettings.js +73 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/Scoring/manuallyAndNonScored.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/additionalSettingsBasic.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/additionalSettingsForDropdowns.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/editTabBasicSection.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/specifyCorrectAnswerSection.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +1 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/specifyCorrectAnswerSection.js +3 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/styleAndLayoutCutomization.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +4 -3
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/styleAndLayoutCustomization.js +29 -26
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/manuallyAndNonScored.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/additionalSettingsForAnswerInputFields.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +3 -3
- package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/ImageHighlight/customiseHighlightStyle.js +707 -0
- package/cypress/e2e/ILC/ImageHighlight/imageHighlightStyle.js +4 -3
- package/cypress/pages/chartsBarPage.js +212 -35
- package/cypress/pages/chartsDotPlotPage.js +10 -25
- package/cypress/pages/components/barAndLineChartComponent.js +54 -5
- package/cypress/pages/components/chartsCommonComponent.js +16 -1
- package/cypress/pages/components/createQuestionBasePage.js +1 -1
- package/cypress/pages/components/figCommonStyleAndLayoutComponent.js +1 -1
- package/cypress/pages/components/imageCanvasComponent.js +3 -3
- package/cypress/pages/essayResponsePage.js +152 -2
- package/cypress/pages/imageHighlightPage.js +398 -15
- package/cypress/pages/matchingPage.js +1 -0
- package/package.json +1 -1
@@ -26,6 +26,9 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
26
26
|
before(() => {
|
27
27
|
fillInTheGapsOverImageTextPage.steps.navigateToCreateQuestion('fill in the gaps over image with text');
|
28
28
|
cy.barsPreLoaderWait();
|
29
|
+
fillInTheGapsOverImageTextPage.steps.uploadFile('highlightImage.jpg');
|
30
|
+
fillInTheGapsOverImageTextPage.steps.verifyImageIsUploaded();
|
31
|
+
fillInTheGapsOverImageTextPage.steps.insertResponseArea(80);
|
29
32
|
fillInTheGapsOverImageTextPage.steps.expandStyleAndLayoutCustomizationAccordion();
|
30
33
|
});
|
31
34
|
|
@@ -37,13 +40,13 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
37
40
|
|
38
41
|
fillInTheGapsOverImageTextPage.tests.verifyBorderColorSectionContents();
|
39
42
|
|
40
|
-
fillInTheGapsOverImageTextPage.tests.verifyBorderStyleSectionContents('
|
43
|
+
fillInTheGapsOverImageTextPage.tests.verifyBorderStyleSectionContents('Solid');
|
41
44
|
|
42
45
|
fillInTheGapsOverImageTextPage.tests.verifyFillColorTooltips();
|
43
46
|
|
44
47
|
fillInTheGapsOverImageTextPage.tests.verifyBorderColorTooltips();
|
45
48
|
|
46
|
-
fillInTheGapsOverImageTextPage.tests.verifyStyleAndLayoutCustomizationAccordionContentsCSSAndA11y('
|
49
|
+
fillInTheGapsOverImageTextPage.tests.verifyStyleAndLayoutCustomizationAccordionContentsCSSAndA11y('Solid');
|
47
50
|
});
|
48
51
|
|
49
52
|
describe('Fill color - Edit tab', () => {
|
@@ -59,25 +62,25 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
59
62
|
});
|
60
63
|
|
61
64
|
it('When the default color block is in selected state in the "Fill color" section, then the background color of the text containers in the canvas image should be the default selected color', () => {
|
62
|
-
fillInTheGapsOverImageTextPage.steps.
|
65
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldFillColor(0, css.color.optionsBg);
|
63
66
|
});
|
64
67
|
|
65
68
|
it('When the user selects the "None" color block, it should get in selected state and the no background color should be present for the text containers in the canvas image', () => {
|
66
69
|
fillInTheGapsOverImageTextPage.steps.selectColorBlock(1);
|
67
|
-
fillInTheGapsOverImageTextPage.steps.
|
70
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldFillColor(0, css.color.transparent);
|
68
71
|
});
|
69
72
|
|
70
73
|
it('When the user clicks on the "Edit color" button, modifies color for the selected color block, then the background color of the text containers in the canvas image should be the modified selected color', () => {
|
71
74
|
fillInTheGapsOverImageTextPage.steps.editColor(0);
|
72
75
|
colorPopupComponent.steps.clickInColorSaturationPalette();
|
73
76
|
colorPopupComponent.steps.clickOnOkButton();
|
74
|
-
fillInTheGapsOverImageTextPage.steps.
|
77
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldFillColor(0, modifiedColor);
|
75
78
|
});
|
76
79
|
|
77
80
|
it('When the adds a new text container, then the background color of the newly added text container should be the modified selected color', () => {
|
78
81
|
fillInTheGapsOverImageTextPage.steps.insertResponseArea(60);
|
79
|
-
fillInTheGapsOverImageTextPage.steps.
|
80
|
-
fillInTheGapsOverImageTextPage.steps.
|
82
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldFillColor(0, modifiedColor);
|
83
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldFillColor(1, modifiedColor);
|
81
84
|
});
|
82
85
|
});
|
83
86
|
|
@@ -95,14 +98,14 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
95
98
|
});
|
96
99
|
|
97
100
|
it('When the default color block is in selected state in the "Fill color" section, then the background color of the text containers in the preview tab should be the default selected color', () => {
|
98
|
-
fillInTheGapsOverImageTextPage.steps.
|
101
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldFillColor(0, css.color.optionsBg);
|
99
102
|
});
|
100
103
|
|
101
104
|
it('When the user selects the "None" color block, it should get in selected state and the no background color should be present for the text containers in the preview tab', () => {
|
102
105
|
fillInTheGapsOverImageTextPage.steps.switchToEditTab();
|
103
106
|
fillInTheGapsOverImageTextPage.steps.selectColorBlock(1);
|
104
107
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
105
|
-
fillInTheGapsOverImageTextPage.steps.
|
108
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldFillColor(0, css.color.transparent);
|
106
109
|
});
|
107
110
|
|
108
111
|
it('When the user clicks on the "Edit color" button, modifies color for the selected color block, then the color block should get updated accordingly', () => {
|
@@ -111,15 +114,15 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
111
114
|
colorPopupComponent.steps.clickInColorSaturationPalette();
|
112
115
|
colorPopupComponent.steps.clickOnOkButton();
|
113
116
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
114
|
-
fillInTheGapsOverImageTextPage.steps.
|
117
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldFillColor(0, modifiedColor);
|
115
118
|
});
|
116
119
|
|
117
120
|
it('The background color of the text containers in the preview tab should be the modified selected color', () => {
|
118
121
|
fillInTheGapsOverImageTextPage.steps.switchToEditTab();
|
119
122
|
fillInTheGapsOverImageTextPage.steps.insertResponseArea(60);
|
120
123
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
121
|
-
fillInTheGapsOverImageTextPage.steps.
|
122
|
-
fillInTheGapsOverImageTextPage.steps.
|
124
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldFillColor(0, modifiedColor);
|
125
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldFillColor(1, modifiedColor);
|
123
126
|
});
|
124
127
|
});
|
125
128
|
|
@@ -136,25 +139,25 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
136
139
|
});
|
137
140
|
|
138
141
|
it('When the default color block is in selected state in the "Fill color" section, then the background color of the text containers in the canvas image should be the default selected color', () => {
|
139
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px
|
142
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px solid ${css.color.activeComponentBorder}`);
|
140
143
|
});
|
141
144
|
|
142
145
|
it('When the user selects the "None" color block, it should get in selected state and the no background color should be present for the text containers in the canvas image', () => {
|
143
146
|
fillInTheGapsOverImageTextPage.steps.selectColorBlock(3);
|
144
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px
|
147
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px solid ${css.color.transparent}`);
|
145
148
|
});
|
146
149
|
|
147
150
|
it('When the user clicks on the "Edit color" button, modifies color for the selected color block, then the background color of the text containers in the canvas image should be the modified selected color', () => {
|
148
151
|
fillInTheGapsOverImageTextPage.steps.editColor(1);
|
149
152
|
colorPopupComponent.steps.clickInColorSaturationPalette();
|
150
153
|
colorPopupComponent.steps.clickOnOkButton();
|
151
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px
|
154
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px solid ${modifiedColor}`);
|
152
155
|
});
|
153
156
|
|
154
157
|
it('When the adds a new text container, then the background color of the newly added text container should be the modified selected color', () => {
|
155
158
|
fillInTheGapsOverImageTextPage.steps.insertResponseArea(60);
|
156
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px
|
157
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(1, `1px
|
159
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(0, `1px solid ${modifiedColor}`);
|
160
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderColor(1, `1px solid ${modifiedColor}`);
|
158
161
|
});
|
159
162
|
});
|
160
163
|
|
@@ -172,7 +175,7 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
172
175
|
});
|
173
176
|
|
174
177
|
it('When the default color block is in selected state in the "Fill color" section, then the background color of the text containers in the preview tab should be the default selected color', () => {
|
175
|
-
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(0, `1px
|
178
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(0, `1px solid ${css.color.activeComponentBorder}`);
|
176
179
|
});
|
177
180
|
|
178
181
|
it('When the user selects the "None" color block, it should get in selected state and the no background color should be present for the text containers in the preview tab', () => {
|
@@ -188,15 +191,15 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
188
191
|
colorPopupComponent.steps.clickInColorSaturationPalette();
|
189
192
|
colorPopupComponent.steps.clickOnOkButton();
|
190
193
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
191
|
-
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(0, `1px
|
194
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(0, `1px solid ${modifiedColor}`);
|
192
195
|
});
|
193
196
|
|
194
197
|
it('The background color of the text containers in the preview tab should be the modified selected color', () => {
|
195
198
|
fillInTheGapsOverImageTextPage.steps.switchToEditTab();
|
196
199
|
fillInTheGapsOverImageTextPage.steps.insertResponseArea(60);
|
197
200
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
198
|
-
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(0, `1px
|
199
|
-
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(1, `1px
|
201
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(0, `1px solid ${modifiedColor}`);
|
202
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderColor(1, `1px solid ${modifiedColor}`);
|
200
203
|
});
|
201
204
|
});
|
202
205
|
|
@@ -305,8 +308,8 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
305
308
|
fillInTheGapsOverImageTextPage.steps.expandStyleAndLayoutCustomizationAccordion();
|
306
309
|
});
|
307
310
|
|
308
|
-
it('When the "
|
309
|
-
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderStyle(0, '
|
311
|
+
it('When the "Solid" border style is in selected state, then the border style of the text containers in the canvas image should be "Solid"', () => {
|
312
|
+
fillInTheGapsOverImageTextPage.steps.verifyResponseAreaOverImageBorderStyle(0, 'solid');
|
310
313
|
});
|
311
314
|
|
312
315
|
borderStyles.forEach((style) => {
|
@@ -329,8 +332,8 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
329
332
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
330
333
|
});
|
331
334
|
|
332
|
-
it('When the "
|
333
|
-
fillInTheGapsOverImageTextPage.steps.
|
335
|
+
it('When the "Solid" border style is in selected state, then the border style of the text containers in the preview tab should be "Solid"', () => {
|
336
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderStyle(0, 'solid');
|
334
337
|
});
|
335
338
|
|
336
339
|
borderStyles.forEach((style) => {
|
@@ -338,7 +341,7 @@ describe('Create Item page - Fill in the gaps over image with text: Style and la
|
|
338
341
|
fillInTheGapsOverImageTextPage.steps.switchToEditTab();
|
339
342
|
fillInTheGapsOverImageTextPage.steps.selectBorderStyleToggleButton(style);
|
340
343
|
fillInTheGapsOverImageTextPage.steps.switchToPreviewTab();
|
341
|
-
fillInTheGapsOverImageTextPage.steps.
|
344
|
+
fillInTheGapsOverImageTextPage.steps.verifyAnswerInputFieldBorderStyle(0, style);
|
342
345
|
});
|
343
346
|
})
|
344
347
|
});
|
@@ -21,7 +21,7 @@ describe('Create Item page - Fill in the gaps with text: Manually and non scored
|
|
21
21
|
|
22
22
|
it('Question instructions, question preview and response areas should be displayed in the preview tab', () => {
|
23
23
|
fillInTheGapsTextPage.steps.verifyQuestionInstructionsTextPreviewTab('fill in the gaps');
|
24
|
-
utilities.verifyInnerText(fillInTheGapsTextPage.questionContainerPreviewTab(), 'Lorem ipsum dolor sit amet, \n\
|
24
|
+
utilities.verifyInnerText(fillInTheGapsTextPage.questionContainerPreviewTab(), 'Lorem ipsum dolor sit amet, \n\n onsectetur adipiscing elit. Ut pellentesque tincidunt ornare. Integer porttitor est quis urna porttitor,eget \n\n tempus tellus dapibus.\n');
|
25
25
|
utilities.verifyElementCount(fillInTheGapsTextPage.answerInputFieldPreviewTab(), 3);
|
26
26
|
fillInTheGapsTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '' }, { responseIndex: 1, responseText: '' }, { responseIndex: 2, responseText: '' }]);
|
27
27
|
});
|
@@ -118,7 +118,7 @@ describe('Fill In the gaps with text - Additional settings : Placeholder text, G
|
|
118
118
|
fillInTheGapsTextPage.steps.selectEnumerationType('without enumeration');
|
119
119
|
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
120
120
|
fillInTheGapsTextPage.steps.switchToGradingView();
|
121
|
-
utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswerSectionWithoutEnumerationWrapper(), 'Lorem ipsum dolor sit amet, \n\
|
121
|
+
utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswerSectionWithoutEnumerationWrapper(), 'Lorem ipsum dolor sit amet, \n\n onsectetur adipiscing elit. Ut pellentesque tincidunt ornare. Integer porttitor est quis urna porttitor,eget \n\n tempus tellus dapibus.');
|
122
122
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesWithoutEnumeration(['Flower', 'Leaf']);
|
123
123
|
fillInTheGapsTextPage.steps.verifyResponseAreaNumerationNotExists();
|
124
124
|
utilities.verifyElementVisibilityState(fillInTheGapsTextPage.correctAnswerResponseNumeration(), 'notExist');
|
@@ -100,7 +100,7 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
|
|
100
100
|
fillInTheGapsTextPage.steps.verifyPreviewTabPointsBackgroundForIncorrectOrPartiallyCorrectAnswer();
|
101
101
|
};
|
102
102
|
fillInTheGapsTextPage.steps.verifyResponseAreaNumeration();
|
103
|
-
utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswersLabel(), 'Correct answers
|
103
|
+
utilities.verifyInnerText(fillInTheGapsTextPage.correctAnswersLabel(), 'Correct answers');
|
104
104
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerResponsesInCorrectAnswerSectionAndCount(['Flower', 'Leaf', 'Stem']);
|
105
105
|
});
|
106
106
|
|
@@ -37,7 +37,7 @@ describe('Create item page - Fill in the gaps with text: Question instructions,
|
|
37
37
|
|
38
38
|
it('\'Question\' label and input field should be displayed and by default in the question input field, sample \'Lorem Ipsum\' text along with two response areas should be present', () => {
|
39
39
|
utilities.verifyInnerText(fillInTheGapsTextPage.questionLabel(), 'Question');
|
40
|
-
utilities.verifyInnerText(fillInTheGapsTextPage.questionInputField(), 'Lorem ipsum dolor sit amet, \n1\nclose\
|
40
|
+
utilities.verifyInnerText(fillInTheGapsTextPage.questionInputField(), 'Lorem ipsum dolor sit amet, \n1\nclose\n onsectetur adipiscing elit. Ut pellentesque tincidunt ornare. Integer porttitor est quis urna porttitor,eget \n2\nclose\n tempus tellus dapibus.');
|
41
41
|
utilities.verifyElementCount(fillInTheGapsTextPage.responseArea(), 2);
|
42
42
|
});
|
43
43
|
|
@@ -129,14 +129,14 @@ describe('Create item page - Fill in the gaps with text: Question instructions,
|
|
129
129
|
fillInTheGapsTextPage.steps.switchToEditTab();
|
130
130
|
fillInTheGapsTextPage.steps.addInputToQuestionInputField('Lorem ipsum');
|
131
131
|
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
132
|
-
utilities.verifyInnerText(fillInTheGapsTextPage.questionContainerPreviewTab(), 'Lorem ipsum dolor sit amet, \n\
|
132
|
+
utilities.verifyInnerText(fillInTheGapsTextPage.questionContainerPreviewTab(), 'Lorem ipsum dolor sit amet, \n\n onsectetur adipiscing elit. Ut pellentesque tincidunt ornare. Integer porttitor est quis urna porttitor,eget \n\n tempus tellus dapibus.\n\nLorem ipsum');
|
133
133
|
});
|
134
134
|
|
135
135
|
it('When the user deletes a response area, it should get deleted from the question preview', () => {
|
136
136
|
fillInTheGapsTextPage.steps.switchToEditTab();
|
137
137
|
fillInTheGapsTextPage.steps.deleteAResponseArea(2);
|
138
138
|
fillInTheGapsTextPage.steps.switchToPreviewTab();
|
139
|
-
utilities.verifyInnerText(fillInTheGapsTextPage.questionContainerPreviewTab(), 'Lorem ipsum dolor sit amet, \n\
|
139
|
+
utilities.verifyInnerText(fillInTheGapsTextPage.questionContainerPreviewTab(), 'Lorem ipsum dolor sit amet, \n\n onsectetur adipiscing elit. Ut pellentesque tincidunt ornare. Integer porttitor est quis urna porttitor,eget \n\n tempus tellus dapibus.Lorem ipsum');
|
140
140
|
});
|
141
141
|
});
|
142
142
|
});
|
@@ -67,7 +67,7 @@ describe('Create item page - Fill in the gaps with text - Preview contents in al
|
|
67
67
|
|
68
68
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
69
69
|
it('The sample \'Lorem Ipsum\' text along with three answer input fields should be displayed in the question field and they should be empty.', () => {
|
70
|
-
utilities.verifyInnerText(fillInTheGapsTextPage.questionContainerPreviewTab(), 'Lorem ipsum dolor sit amet, \n\
|
70
|
+
utilities.verifyInnerText(fillInTheGapsTextPage.questionContainerPreviewTab(), 'Lorem ipsum dolor sit amet, \n\n onsectetur adipiscing elit. Ut pellentesque tincidunt ornare. Integer porttitor est quis urna porttitor,eget \n\n tempus tellus dapibus.\n');
|
71
71
|
utilities.verifyElementCount(fillInTheGapsTextPage.answerInputFieldPreviewTab(), 3);
|
72
72
|
fillInTheGapsTextPage.steps.verifyTextInAnswerInputFieldsPreviewTab([{ responseIndex: 0, responseText: '' }, { responseIndex: 1, responseText: '' }, { responseIndex: 2, responseText: '' }]);
|
73
73
|
});
|