itemengine-cypress-automation 1.0.119 → 1.0.121
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioResponseNew/editTabBasicSection.js +13 -1
- package/cypress/e2e/ILC/AudioResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +2 -0
- package/cypress/e2e/ILC/AudioResponseNew/previewContentsForAllViews.smoke.js +1 -0
- package/cypress/e2e/ILC/AudioResponseNew/standardRecorderStyle.smoke.js +2 -0
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +1 -1
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/clickAndDrop.js +2 -2
- package/cypress/e2e/ILC/DragAndDropIntoCategoriesNew/studentViewSettings.js +1 -4
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/Scoring/allOrNothingForAllViews.smoke.js +273 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/checkAnswerFunctionalityForAllViews.smoke.js +116 -0
- package/cypress/e2e/ILC/FillInTheGapsDragAndDropNew/previewContentsForAllViews.smoke.js +136 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/allOrNothingForAllView.smoke.js +224 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/checkAnswerFunctionalityForAllViews.smoke.js +120 -0
- package/cypress/e2e/ILC/FillInTheGapsDropdownNew/previewContentsForAllViews.smoke.js +158 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/backgroundImageAndCanvasProperties.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageDragAndDrop/studentViewSettings.js +1 -4
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownAndDropdownMenuSection.js +246 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/dropdownOptionsSection.js +332 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/editTabBasicSection.js +409 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/headerSection.js +80 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageDropdownNew/studentViewSettings.js +213 -0
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/HeaderSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialDifferentWeightsBasic.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/Scoring/partialEqualWeightsBasic.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/allOrNothingForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/backgroundImageAndCanvasProperties.js +68 -68
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/editTabScoringSection.js +6 -6
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/setLimitSection.js +3 -289
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/specialCharactersSection.js +1 -1
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/specifyCorrectAnswerSection.js +2 -2
- package/cypress/e2e/ILC/FillInTheGapsOverImageTextNew/studentViewSettings.js +2 -23
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingAlternativePointsGreaterThanCorrectPoints.js +191 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsEqualToAlternativePoints.js +190 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingCorrectPointsGreaterThanAlternativePoints.js +284 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/allOrNothingPenaltyScoring.js +52 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/manuallyAndNonScored.js +113 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsAlternativePointsGreaterThanCorrectPoints.js +217 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsBasic.js +234 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsEqualToAlternativePoints.js +217 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialDifferentWeightsWithCorrectPointsGreaterThanAlternativePoints.js +217 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsBasic.js +136 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithAlternativePointsGreaterThanCorrectPoints.js +197 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsEqualToAlternativePoints.js +169 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/Scoring/partialEqualWeightsWithCorrectPointsGreaterThanAlternativePoints.js +197 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +219 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/checkAnswerFunctionalityForAllViews.smoke.js +115 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/editTabBasicSection.js +142 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +152 -0
- package/cypress/e2e/ILC/FillInTheGapsTextNew/setLimitSection.js +39 -0
- package/cypress/e2e/ILC/MultipleSelection/studentViewSettings.js +2 -12
- package/cypress/e2e/ILC/ShortTextResponseNew/conditionalCheckboxes.js +497 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/editTabBasicSections.js +503 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/responseAnswersAndAcceptedStudentInput.js +233 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/specialCharactersSection.js +291 -0
- package/cypress/e2e/ILC/ShortTextResponseNew/studentViewSettings.js +332 -0
- package/cypress/e2e/ILC/SingleSelection/studentViewSettings.js +2 -12
- package/cypress/e2e/ILC/TextEntryMath/editTabBasicSection.js +9 -8
- package/cypress/e2e/ILC/TextEntryMath/editTabScoringSection.js +4 -4
- package/cypress/e2e/ILC/TextEntryMath/minimumScoringPenaltyPointsAndRoundingDropdown.js +8 -2
- package/cypress/e2e/ILC/TextEntryMath/specifyCorrectAnswerSection.js +5 -2
- package/cypress/e2e/ILC/TextEntryMathWithImage/allOrNothingScoringForAllViews.smoke.js +334 -0
- package/cypress/e2e/ILC/TextEntryMathWithImage/backgroundImageAndCanvasProperties.js +419 -0
- package/cypress/e2e/ILC/TextEntryMathWithImage/checkAnswerFunctionalityForAllViews.smoke.js +166 -0
- package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +166 -0
- package/cypress/e2e/ILC/UploadResponse/editTabScoringSection.js +51 -0
- package/cypress/e2e/ILC/UploadResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +99 -0
- package/cypress/e2e/ILC/UploadResponse/manuallyAndNonScoredScoring.js +71 -0
- package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +155 -0
- package/cypress/e2e/ILC/UploadResponse/uploadResponseHeaderSection.js +66 -0
- package/cypress/e2e/migration/migration.js +6 -5
- package/cypress/e2e/migration/migration2.js +4 -3
- package/cypress/e2e/migration/migration3.js +4 -3
- package/cypress/e2e/migration/migration4.js +4 -3
- package/cypress/e2e/migration/migration5.js +4 -3
- package/cypress/fixtures/theme/ilc.json +3 -1
- package/cypress/pages/audioResponsePage.js +2 -1
- package/cypress/pages/components/additionalSettingsPanel.js +27 -0
- package/cypress/pages/components/autoScoredPreviewBase.js +1 -1
- package/cypress/pages/components/autoScoredScoringSection.js +1 -1
- package/cypress/pages/components/autoScoredScoringSectionMultipleResponsesType.js +1 -1
- package/cypress/pages/components/autoScoredSetCorrectAnswerSection.js +1 -1
- package/cypress/pages/components/autoScoredSpecifyCorrectAnswerSection.js +2 -2
- package/cypress/pages/components/autoScoredStudentViewSettings.js +8 -1
- package/cypress/pages/components/backgroundImageUploadComponent.js +5 -5
- package/cypress/pages/components/createQuestionBasePage.js +8 -2
- package/cypress/pages/components/essayResponseCommonComponents.js +6 -0
- package/cypress/pages/components/fillInTheGapsCommonComponents.js +13 -0
- package/cypress/pages/components/fillInTheGapsDragAndDropCommonComponents.js +40 -0
- package/cypress/pages/components/fillInTheGapsDropdownCommonComponent.js +422 -314
- package/cypress/pages/components/fillInTheGapsTextCommonComponent.js +438 -710
- package/cypress/pages/components/{figOverImageCanvasComponent.js → imageCanvasComponent.js} +274 -272
- package/cypress/pages/components/index.js +3 -3
- package/cypress/pages/components/maximumRecorderLengthComponent.js +55 -11
- package/cypress/pages/components/previewScoringAndShowCorrectAnswerComponent.js +1 -1
- package/cypress/pages/components/questionInputFieldComponent.js +49 -23
- package/cypress/pages/components/scoringSectionBase.js +1 -1
- package/cypress/pages/createItemPage.js +67 -2
- package/cypress/pages/fillInTheGapsDragAndDropPage.js +172 -711
- package/cypress/pages/fillInTheGapsDropdownPage.js +75 -72
- package/cypress/pages/fillInTheGapsOverImageDragAndDropPage.js +4 -4
- package/cypress/pages/fillInTheGapsOverImageDropdownPage.js +109 -273
- package/cypress/pages/fillInTheGapsOverImageTextPage.js +49 -291
- package/cypress/pages/fillInTheGapsTextPage.js +52 -199
- package/cypress/pages/index.js +5 -5
- package/cypress/pages/multipleSelectionPage.js +1 -0
- package/cypress/pages/shortTextResponsePage.js +575 -33
- package/cypress/pages/singleSelectionGridPage.js +1 -2
- package/cypress/pages/singleSelectionPage.js +5 -6
- package/cypress/pages/textEntryMathPage.js +46 -22
- package/cypress/pages/textEntryMathWithImagePage.js +212 -0
- package/cypress/pages/uploadResponsePage.js +74 -21
- package/cypress/support/migrationHelpers/extractLrnQuestionData.js +73 -2
- package/cypress/support/migrationHelpers/lrnQestionTypesENUM.js +1 -0
- package/cypress/support/migrationHelpers/verifyIeQuestionData.js +49 -2
- package/package.json +1 -1
- package/cypress/e2e/ILC/AudioResponseNew/minimalRecorderStyle.js +0 -482
- package/cypress/e2e/ILC/EssayResponse/essayResponseEquationEditor.smoke.js +0 -412
- package/cypress/pages/components/figOverImageCommonComponent.js +0 -1113
- package/cypress/pages/dragAndDropIntoCategoriesAllOrNothingScoring.js +0 -1155
- package/cypress/pages/dragAndDropIntoCategoriesCellsScoring.js +0 -1561
- package/cypress/pages/dragAndDropIntoCategoriesResponseScoring.js +0 -1396
- package/cypress/pages/fillInTheGapsScoring.js +0 -5872
- package/cypress/pages/fillInTheGapsSetCorrectAnswerSection.js +0 -260
@@ -0,0 +1,503 @@
|
|
1
|
+
import abortEarlySetup from "../../../support/helpers/abortEarly";
|
2
|
+
import { shortTextResponsePage } from "../../../pages";
|
3
|
+
import utilities from "../../../support/helpers/utilities";
|
4
|
+
const css = Cypress.env('css');
|
5
|
+
|
6
|
+
describe('Create question page - Short text response: Question Instructions, Set limit', () => {
|
7
|
+
before(() => {
|
8
|
+
cy.loginAs('admin');
|
9
|
+
});
|
10
|
+
|
11
|
+
describe('Question Instructions input field - Edit tab', () => {
|
12
|
+
abortEarlySetup();
|
13
|
+
before(() => {
|
14
|
+
cy.log('Navigating to Short text response question type');
|
15
|
+
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
16
|
+
cy.barsPreLoaderWait();
|
17
|
+
});
|
18
|
+
|
19
|
+
shortTextResponsePage.tests.verifyQuestionInstructionsInputFieldEditTab();
|
20
|
+
});
|
21
|
+
|
22
|
+
describe('Question Instructions input field - Preview tab', () => {
|
23
|
+
abortEarlySetup();
|
24
|
+
before(() => {
|
25
|
+
cy.log('Navigating to Short text response question type');
|
26
|
+
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
27
|
+
cy.barsPreLoaderWait();
|
28
|
+
});
|
29
|
+
|
30
|
+
shortTextResponsePage.tests.verifyQuestionInstructionsInputFieldPreviewTab();
|
31
|
+
});
|
32
|
+
|
33
|
+
describe('Short text response: Set limit section - Edit tab contents', () => {
|
34
|
+
abortEarlySetup();
|
35
|
+
before(() => {
|
36
|
+
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
37
|
+
cy.barsPreLoaderWait();
|
38
|
+
});
|
39
|
+
|
40
|
+
it('\'Set limit\' label should be displayed', () => {
|
41
|
+
utilities.verifyInnerText(shortTextResponsePage.setLimitLabel(), 'Set limit');
|
42
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.setLimitLabel(), 'visible');
|
43
|
+
});
|
44
|
+
|
45
|
+
it('\'Word\', \'Character\' and \'None\' labels and radio buttons should be displayed and by default \'Word\' should be selected', () => {
|
46
|
+
utilities.verifyInnerText(shortTextResponsePage.characterLabel(), 'Character');
|
47
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.characterLabel(), 'visible');
|
48
|
+
shortTextResponsePage.steps.verifyCharacterRadioButtonSelected();
|
49
|
+
utilities.verifyInnerText(shortTextResponsePage.wordLabel(), 'Word');
|
50
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.wordLabel(), 'visible');
|
51
|
+
shortTextResponsePage.steps.verifyWordRadioButtonUnselected();
|
52
|
+
utilities.verifyInnerText(shortTextResponsePage.noneLabel(), 'None');
|
53
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.noneLabel(), 'visible');
|
54
|
+
shortTextResponsePage.steps.verifyNoneRadioButtonUnselected();
|
55
|
+
});
|
56
|
+
|
57
|
+
it('\'Minimum character limit\' and \'Maximum character limit\' labels should be displayed', () => {
|
58
|
+
utilities.verifyInnerText(shortTextResponsePage.minimumLimitLabel(), 'Minimum character limit');
|
59
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.minimumLimitLabel(), 'visible');
|
60
|
+
utilities.verifyInnerText(shortTextResponsePage.maximumLimitLabel(), 'Maximum character limit');
|
61
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.maximumLimitLabel(), 'visible');
|
62
|
+
});
|
63
|
+
|
64
|
+
it('\'Minimum character limit\' and \'Maximum character limit\' input fields should be displayed and have 0 and 1000 value by default', () => {
|
65
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.minimumLimitInputField(), 'visible');
|
66
|
+
shortTextResponsePage.steps.verifyMinimumLimitInputField(0)
|
67
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.maximumLimitInputField(), 'visible');
|
68
|
+
shortTextResponsePage.steps.verifyMaximumLimitInputField(50);
|
69
|
+
});
|
70
|
+
|
71
|
+
it('User should be able to update values in both the input fields', () => {
|
72
|
+
shortTextResponsePage.steps.setMinimumLimit(100);
|
73
|
+
shortTextResponsePage.steps.setMaximumLimit(500);
|
74
|
+
});
|
75
|
+
|
76
|
+
it('When the user clears the minimum character limit input field and focuses out of it, then error message \'Error: Minimum character limit is required\' should be displayed below the input field', () => {
|
77
|
+
shortTextResponsePage.steps.clearAndFocusOutOfMinimumLimitInputField();
|
78
|
+
utilities.verifyInnerText(shortTextResponsePage.errorMessage(), 'Error: Minimum character limit is required.');
|
79
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.errorMessage(), 'visible');
|
80
|
+
});
|
81
|
+
|
82
|
+
shortTextResponsePage.tests.verifyErrorMessageCSSAndA11y();
|
83
|
+
|
84
|
+
it('When the user enters value in minimum character limit input field then the error message should disappear', () => {
|
85
|
+
shortTextResponsePage.steps.setMinimumLimit(0);
|
86
|
+
shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
|
87
|
+
});
|
88
|
+
|
89
|
+
it('When the user clears the maximum character limit input field and focuses out of it, then error message \'Error: Maximum character limit is required.\' should be displayed below the input field', () => {
|
90
|
+
shortTextResponsePage.steps.clearAndFocusOutOfMaximumLimitInputField();
|
91
|
+
utilities.verifyInnerText(shortTextResponsePage.errorMessage(), 'Error: Maximum character limit is required.');
|
92
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.errorMessage(), 'visible');
|
93
|
+
});
|
94
|
+
|
95
|
+
it('When the user enters value in maximum character limit input field then the error message should disappear', () => {
|
96
|
+
shortTextResponsePage.steps.setMaximumLimit(500);
|
97
|
+
shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
|
98
|
+
});
|
99
|
+
|
100
|
+
it('When the user sets minimum limit input field value greater than maximum limit input field value then error message \'Error: Minimum limit must be less than or equal to maximum limit.\' and \'Error: Maximum limit must be greater than or equal to minimum limit.\'should be displayed below the minimum and maximum input field respectively', () => {
|
101
|
+
shortTextResponsePage.steps.setMinimumLimit(700);
|
102
|
+
shortTextResponsePage.steps.verifyMaximumLimitErrorMessage();
|
103
|
+
shortTextResponsePage.steps.verifyMinimumLimitErrorMessage();
|
104
|
+
});
|
105
|
+
|
106
|
+
shortTextResponsePage.tests.verifyErrorMessageCSSAndA11y();
|
107
|
+
|
108
|
+
it('When the user sets minimum limit input field value less than or equal to maximum limit input field value then error message should disappear', () => {
|
109
|
+
shortTextResponsePage.steps.setMinimumLimit(500);
|
110
|
+
shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
|
111
|
+
});
|
112
|
+
|
113
|
+
it('When the user sets maximum limit input field value less than minimum limit input field value then error message \'Error: Minimum limit must be less than or equal to maximum limit.\' and \'Error: Maximum limit must be greater than or equal to minimum limit.\'should be displayed below the minimum and maximum input field respectively', () => {
|
114
|
+
shortTextResponsePage.steps.setMaximumLimit(400);
|
115
|
+
shortTextResponsePage.steps.verifyMaximumLimitErrorMessage();
|
116
|
+
shortTextResponsePage.steps.verifyMinimumLimitErrorMessage();
|
117
|
+
});
|
118
|
+
|
119
|
+
it('When the user sets maximum limit input field value greater than or equal to minimum limit input field value then error message should disappear', () => {
|
120
|
+
shortTextResponsePage.steps.setMaximumLimit(800);
|
121
|
+
shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
|
122
|
+
});
|
123
|
+
|
124
|
+
it('\'Always show maximum limit\' and \'Always show minimum limit\' labels and checkbox should be displayed and by default \'Always show maximum limit\' should be checked', () => {
|
125
|
+
utilities.verifyInnerText(shortTextResponsePage.alwaysShowMaxLimitLabel(), 'Always show maximum limit');
|
126
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.alwaysShowMaxLimitLabel(), 'visible');
|
127
|
+
utilities.verifyInnerText(shortTextResponsePage.alwaysShowMinLimitLabel(), 'Always show minimum limit');
|
128
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.alwaysShowMinLimitLabel(), 'visible');
|
129
|
+
shortTextResponsePage.steps.verifyAlwaysShowMaximumLimitCheckboxIsChecked();
|
130
|
+
});
|
131
|
+
|
132
|
+
it('When the user selects \'Word\' radio button then labels should change to \'Minimum word limit\' and \'Maximum word limit\'', () => {
|
133
|
+
shortTextResponsePage.steps.selectWordRadioButton();
|
134
|
+
utilities.verifyInnerText(shortTextResponsePage.minimumLimitLabel(), 'Minimum word limit');
|
135
|
+
utilities.verifyInnerText(shortTextResponsePage.maximumLimitLabel(), 'Maximum word limit');
|
136
|
+
});
|
137
|
+
|
138
|
+
it('\'Minimum word limit\' and \'Maximum word limit\' input fields should be updated to 0 and 20 by default', () => {
|
139
|
+
shortTextResponsePage.steps.verifyMinimumLimitInputField(0);
|
140
|
+
shortTextResponsePage.steps.verifyMaximumLimitInputField(20);
|
141
|
+
});
|
142
|
+
|
143
|
+
it('User should be able to update values in both the input fields', () => {
|
144
|
+
shortTextResponsePage.steps.setMinimumLimit(75);
|
145
|
+
shortTextResponsePage.steps.setMaximumLimit(120);
|
146
|
+
});
|
147
|
+
|
148
|
+
it('When the user clears the minimum word limit input field and focuses out of it, then error message \'Error: Minimum word limit is required\' should be displayed below the input field', () => {
|
149
|
+
shortTextResponsePage.steps.clearAndFocusOutOfMinimumLimitInputField();
|
150
|
+
utilities.verifyInnerText(shortTextResponsePage.errorMessage(), 'Error: Minimum word limit is required.');
|
151
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.errorMessage(), 'visible');
|
152
|
+
});
|
153
|
+
|
154
|
+
shortTextResponsePage.tests.verifyErrorMessageCSSAndA11y();
|
155
|
+
|
156
|
+
it('When the user enters value in minimum word limit input field then the error message should disappear', () => {
|
157
|
+
shortTextResponsePage.steps.setMinimumLimit(0);
|
158
|
+
shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
|
159
|
+
});
|
160
|
+
|
161
|
+
it('When the user clears the maximum word limit input field and focuses out of it, then error message \'Error: Maximum word limit is required.\' should be displayed below the input field', () => {
|
162
|
+
shortTextResponsePage.steps.clearAndFocusOutOfMaximumLimitInputField();
|
163
|
+
utilities.verifyInnerText(shortTextResponsePage.errorMessage(), 'Error: Maximum word limit is required.');
|
164
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.errorMessage(), 'visible');
|
165
|
+
});
|
166
|
+
|
167
|
+
it('When the user enters value in maximum word limit input field then the error message should disappear', () => {
|
168
|
+
shortTextResponsePage.steps.setMaximumLimit(500);
|
169
|
+
shortTextResponsePage.steps.verifyErrorMessageIsNotDisplayed();
|
170
|
+
});
|
171
|
+
|
172
|
+
it('CSS of \'Set limit\' sections', { tags: 'css' }, () => {
|
173
|
+
utilities.verifyCSS(shortTextResponsePage.setLimitLabel(), {
|
174
|
+
'color': css.color.labels,
|
175
|
+
'font-size': css.fontSize.normal,
|
176
|
+
'font-weight': css.fontWeight.semibold
|
177
|
+
});
|
178
|
+
utilities.verifyCSS(shortTextResponsePage.wordLabel(), {
|
179
|
+
'color': css.color.labelText,
|
180
|
+
'font-size': css.fontSize.normal,
|
181
|
+
'font-weight': css.fontWeight.regular
|
182
|
+
});
|
183
|
+
utilities.verifyCSS(shortTextResponsePage.characterLabel(), {
|
184
|
+
'color': css.color.labelText,
|
185
|
+
'font-size': css.fontSize.normal,
|
186
|
+
'font-weight': css.fontWeight.regular
|
187
|
+
});
|
188
|
+
utilities.verifyCSS(shortTextResponsePage.noneLabel(), {
|
189
|
+
'color': css.color.labelText,
|
190
|
+
'font-size': css.fontSize.normal,
|
191
|
+
'font-weight': css.fontWeight.regular
|
192
|
+
});
|
193
|
+
utilities.verifyCSS(shortTextResponsePage.minimumLimitLabel(), {
|
194
|
+
'color': css.color.labels,
|
195
|
+
'font-size': css.fontSize.normal,
|
196
|
+
'font-weight': css.fontWeight.semibold
|
197
|
+
});
|
198
|
+
utilities.verifyCSS(shortTextResponsePage.minimumLimitLabel(), {
|
199
|
+
'color': css.color.labels,
|
200
|
+
'font-size': css.fontSize.normal,
|
201
|
+
'font-weight': css.fontWeight.semibold
|
202
|
+
});
|
203
|
+
utilities.verifyCSS(shortTextResponsePage.minimumLimitInputField(), {
|
204
|
+
'color': css.color.text,
|
205
|
+
'font-size': css.fontSize.default,
|
206
|
+
'font-weight': css.fontWeight.regular
|
207
|
+
});
|
208
|
+
utilities.verifyCSS(shortTextResponsePage.maximumLimitInputField(), {
|
209
|
+
'color': css.color.text,
|
210
|
+
'font-size': css.fontSize.default,
|
211
|
+
'font-weight': css.fontWeight.regular
|
212
|
+
});
|
213
|
+
utilities.verifyCSS(shortTextResponsePage.alwaysShowMaxLimitLabel(), {
|
214
|
+
'color': css.color.labelText,
|
215
|
+
'font-size': css.fontSize.normal,
|
216
|
+
'font-weight': css.fontWeight.regular
|
217
|
+
});
|
218
|
+
utilities.verifyCSS(shortTextResponsePage.alwaysShowMinLimitLabel(), {
|
219
|
+
'color': css.color.labelText,
|
220
|
+
'font-size': css.fontSize.normal,
|
221
|
+
'font-weight': css.fontWeight.regular
|
222
|
+
});
|
223
|
+
utilities.verifyCSS(shortTextResponsePage.wordRadioButton().parent().find('svg'), {
|
224
|
+
'fill': css.color.activeButtons
|
225
|
+
});
|
226
|
+
});
|
227
|
+
|
228
|
+
it('Accessibility of \'Set limit\' section', { tags: 'a11y' }, () => {
|
229
|
+
cy.checkAccessibility(shortTextResponsePage.setLimitLabel().parents('[class*="SetLimitWrapper"]'));
|
230
|
+
});
|
231
|
+
|
232
|
+
it('When the user selects \'None\' radio button then the maximum and minimum limit labels and input field and always show maximum/minimum limits labels and checkbox should not be displayed', () => {
|
233
|
+
shortTextResponsePage.steps.selectNoneRadioButton();
|
234
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.minMaxLabelAndInputFieldWrapper(), 'notExist');
|
235
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.alwaysShowMaxLimitLabel(), 'notExist');
|
236
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.alwaysShowMaxLimitLabel(), 'notExist');
|
237
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.alwaysShowMaxLimitCheckbox(), 'notExist');
|
238
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.alwaysShowMaxLimitCheckbox(), 'notExist');
|
239
|
+
});
|
240
|
+
});
|
241
|
+
|
242
|
+
describe('Short text response: Set limit section : Character - Specify correct answer section', () => {
|
243
|
+
abortEarlySetup();
|
244
|
+
before(() => {
|
245
|
+
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
246
|
+
cy.barsPreLoaderWait();
|
247
|
+
});
|
248
|
+
|
249
|
+
it('When maximum characters count is set to 50 characters then answer input field should have maximum limit 50 characters in the specify correct answer section', () => {
|
250
|
+
shortTextResponsePage.steps.verifyLimitInSpecifyCorrectAnswer(50);
|
251
|
+
});
|
252
|
+
|
253
|
+
it('When the user updates the maximum character limit input field value then updated maximum character limit value should be updated in the specify correct answer section', () => {
|
254
|
+
shortTextResponsePage.steps.setMaximumLimit(5);
|
255
|
+
shortTextResponsePage.steps.verifyLimitInSpecifyCorrectAnswer(5);
|
256
|
+
});
|
257
|
+
|
258
|
+
it('User should able to enter text in the response field', () => {
|
259
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Lorem');
|
260
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldSpecifyCorrectAnswerSection('Lorem');
|
261
|
+
});
|
262
|
+
|
263
|
+
it('When the user reaches the character limit, then the warning message \'Maximum # characters have been entered\' should be displayed', () => {
|
264
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Correct');
|
265
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldSpecifyCorrectAnswerSection('Corre');
|
266
|
+
shortTextResponsePage.steps.verifyWarningMessage('Maximum 5 characters have been entered.');
|
267
|
+
});
|
268
|
+
|
269
|
+
it('CSS of \'Character limit reached\' warning message and container', { tags: 'css' }, () => {
|
270
|
+
utilities.verifyCSS(shortTextResponsePage.warningMessage(), {
|
271
|
+
'color': css.color.warningMessage,
|
272
|
+
'font-size': css.fontSize.normal,
|
273
|
+
'font-weight': css.fontWeight.regular
|
274
|
+
});
|
275
|
+
utilities.verifyCSS(shortTextResponsePage.warningMessageContainer().find('svg'), {
|
276
|
+
'color': css.color.warningMessage,
|
277
|
+
});
|
278
|
+
utilities.verifyCSS(shortTextResponsePage.warningMessageContainer(), {
|
279
|
+
'border': `1px solid ${css.color.warningContainerBorder}`
|
280
|
+
});
|
281
|
+
utilities.verifyCSS(shortTextResponsePage.warningMessageContainer(), {
|
282
|
+
'background-color': css.color.warningContainerBackground
|
283
|
+
});
|
284
|
+
});
|
285
|
+
|
286
|
+
it('Accessibility of \'Character limit reached\' warning container', { tags: 'a11y' }, () => {
|
287
|
+
cy.checkAccessibility(shortTextResponsePage.warningMessageContainer());
|
288
|
+
});
|
289
|
+
|
290
|
+
it('When the user removes/deletes some characters, the warning message should disappear', () => {
|
291
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('{backspace}');
|
292
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldSpecifyCorrectAnswerSection('');
|
293
|
+
shortTextResponsePage.steps.verifyWarningMessageNotExist();
|
294
|
+
});
|
295
|
+
|
296
|
+
it('When the user sets 3 as minimum character limit and enters the character less than the minimum character limit value set and focus out of response field, then the warning message \'Minimum 3 characters are required\' should be displayed', () => {
|
297
|
+
shortTextResponsePage.steps.setMinimumLimit(3);
|
298
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Lo');
|
299
|
+
shortTextResponsePage.steps.focusOutOfInputFieldSpecifyCorrectAnswerSection();
|
300
|
+
shortTextResponsePage.steps.verifyWarningMessage('Minimum 3 characters are required.');
|
301
|
+
});
|
302
|
+
|
303
|
+
it('When the user enters the character greater than the minimum character limit value set by the user, then the warning message should disappear', () => {
|
304
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('loelwy');
|
305
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldSpecifyCorrectAnswerSection('loelw');
|
306
|
+
shortTextResponsePage.steps.verifyWarningMessageNotExist();
|
307
|
+
});
|
308
|
+
});
|
309
|
+
|
310
|
+
describe('Short text response: Set limit section: Word, None: Specify correct answer section', () => {
|
311
|
+
abortEarlySetup();
|
312
|
+
before(() => {
|
313
|
+
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
314
|
+
cy.barsPreLoaderWait();
|
315
|
+
shortTextResponsePage.steps.selectWordRadioButton();
|
316
|
+
shortTextResponsePage.steps.setMinimumLimit(3);
|
317
|
+
shortTextResponsePage.steps.setMaximumLimit(7);
|
318
|
+
});
|
319
|
+
|
320
|
+
it('When maximum words count is set to 20 characters then user should be able to enter maximum 20 characters in the specify correct answer section', () => {
|
321
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('The elephant played piano under the sunshine');
|
322
|
+
});
|
323
|
+
|
324
|
+
it('When the user reaches the word limit, then the warning message \'Maximum # words have been entered\' should be displayed', () => {
|
325
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('The elephant played piano under the sunshine while riding a bicycle');
|
326
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldSpecifyCorrectAnswerSection('The elephant played piano under the sunshinewhileridingabicycle');
|
327
|
+
shortTextResponsePage.steps.verifyWarningMessage('Maximum 7 words have been entered.');
|
328
|
+
});
|
329
|
+
|
330
|
+
it('When the user removes/deletes some words, the warning message should disappear', () => {
|
331
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('{backspace}');
|
332
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldSpecifyCorrectAnswerSection('');
|
333
|
+
shortTextResponsePage.steps.verifyWarningMessageNotExist();
|
334
|
+
});
|
335
|
+
|
336
|
+
it('When the user enters the word less than the minimum word limit value set by the user and focus out of response field, then the warning message \'Minimum # words are required\' should be displayed', () => {
|
337
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('abc abc');
|
338
|
+
shortTextResponsePage.steps.focusOutOfInputFieldSpecifyCorrectAnswerSection();
|
339
|
+
shortTextResponsePage.steps.verifyWarningMessage('Minimum 3 words are required.');
|
340
|
+
});
|
341
|
+
|
342
|
+
it('When the user enters the word greater than the minimum word limit value set by the user, then the warning message should disappear', () => {
|
343
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('abc abc abc');
|
344
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldSpecifyCorrectAnswerSection('abc abc abc');
|
345
|
+
shortTextResponsePage.steps.verifyWarningMessageNotExist();
|
346
|
+
});
|
347
|
+
|
348
|
+
it('When the user selects \'None\' radio button then maximum and minimum limits should not be displayed in the specify correct answer section and when user types anything in the response field then error message should not be displayed', () => {
|
349
|
+
shortTextResponsePage.steps.selectNoneRadioButton();
|
350
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldSpecifyCorrectAnswerSection('Loremdola');
|
351
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldSpecifyCorrectAnswerSection('Loremdola');
|
352
|
+
shortTextResponsePage.steps.verifyWarningMessageNotExist();
|
353
|
+
});
|
354
|
+
});
|
355
|
+
|
356
|
+
describe('Short text response: Set limit section : Character - Preview tab functionality', () => {
|
357
|
+
abortEarlySetup();
|
358
|
+
before(() => {
|
359
|
+
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
360
|
+
cy.barsPreLoaderWait();
|
361
|
+
shortTextResponsePage.steps.switchToPreviewTab();
|
362
|
+
});
|
363
|
+
|
364
|
+
it('When user switched to the preview tab then \'Maximum 50 characters\' should be displayed in the preview tab', () => {
|
365
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.responseFieldCountPreviewTab(), 'visible');
|
366
|
+
shortTextResponsePage.steps.verifyCharacterLimitPreviewTab(50);
|
367
|
+
});
|
368
|
+
|
369
|
+
it('When the user updates the maximum character limit input field value then updated maximum character limit value should be displayed in the preview tab', () => {
|
370
|
+
shortTextResponsePage.steps.switchToEditTab();
|
371
|
+
shortTextResponsePage.steps.setMaximumLimit(5);
|
372
|
+
shortTextResponsePage.steps.switchToPreviewTab();
|
373
|
+
shortTextResponsePage.steps.verifyCharacterLimitPreviewTab(5);
|
374
|
+
});
|
375
|
+
|
376
|
+
it('When the user updates the minimum character limit input field value and checks the \'Always show minimum limit\' checkbox then \'Minimum value - Maximum value characters required\' should be displayed in the preview tab', () => {
|
377
|
+
shortTextResponsePage.steps.switchToEditTab();
|
378
|
+
shortTextResponsePage.steps.setMinimumLimit(3);
|
379
|
+
shortTextResponsePage.steps.checkAlwaysShowMinimumLimitCheckbox()
|
380
|
+
shortTextResponsePage.steps.switchToPreviewTab();
|
381
|
+
shortTextResponsePage.steps.verifyCharacterLimitPreviewTab(5, 3);
|
382
|
+
});
|
383
|
+
|
384
|
+
it('User should able to enter text in the response field', () => {
|
385
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Lorem');
|
386
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('Lorem');
|
387
|
+
});
|
388
|
+
|
389
|
+
it('When the user reaches the character limit, then the warning message \'Maximum # characters have been entered\' should be displayed', () => {
|
390
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Correct');
|
391
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('Corre');
|
392
|
+
shortTextResponsePage.steps.verifyWarningMessage('Maximum 5 characters have been entered.');
|
393
|
+
});
|
394
|
+
|
395
|
+
it('CSS of \'Character limit reached\' warning message and container', { tags: 'css' }, () => {
|
396
|
+
utilities.verifyCSS(shortTextResponsePage.warningMessage(), {
|
397
|
+
'color': css.color.warningMessage,
|
398
|
+
'font-size': css.fontSize.normal,
|
399
|
+
'font-weight': css.fontWeight.regular
|
400
|
+
});
|
401
|
+
utilities.verifyCSS(shortTextResponsePage.warningMessageContainer().find('svg'), {
|
402
|
+
'color': css.color.warningMessage,
|
403
|
+
});
|
404
|
+
utilities.verifyCSS(shortTextResponsePage.warningMessageContainer(), {
|
405
|
+
'border': `1px solid ${css.color.warningContainerBorder}`
|
406
|
+
});
|
407
|
+
utilities.verifyCSS(shortTextResponsePage.warningMessageContainer(), {
|
408
|
+
'background-color': css.color.warningContainerBackground
|
409
|
+
});
|
410
|
+
});
|
411
|
+
|
412
|
+
it('Accessibility of \'Character limit reached\' warning container', { tags: 'a11y' }, () => {
|
413
|
+
cy.checkAccessibility(shortTextResponsePage.warningMessageContainer());
|
414
|
+
});
|
415
|
+
|
416
|
+
it('When the user removes/deletes some characters, the warning message should disappear', () => {
|
417
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('{backspace}');
|
418
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('');
|
419
|
+
shortTextResponsePage.steps.verifyWarningMessageNotExist();
|
420
|
+
});
|
421
|
+
|
422
|
+
it('When the user enters the character less than the minimum character limit value set by the user and focus out of response field, then the warning message \'Minimum # characters are required\' should be displayed', () => {
|
423
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Lo');
|
424
|
+
shortTextResponsePage.steps.focusOutOfResponseField();
|
425
|
+
shortTextResponsePage.steps.verifyWarningMessage('Minimum 3 characters are required.');
|
426
|
+
});
|
427
|
+
|
428
|
+
it('When the user enters the character greater than the minimum character limit value set by the user, then the warning message should disappear', () => {
|
429
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Lots');
|
430
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('Lots');
|
431
|
+
shortTextResponsePage.steps.verifyWarningMessageNotExist();
|
432
|
+
});
|
433
|
+
});
|
434
|
+
|
435
|
+
describe('Short text response: Set limit section: Word, None: Preview tab functionality', () => {
|
436
|
+
abortEarlySetup();
|
437
|
+
before(() => {
|
438
|
+
shortTextResponsePage.steps.navigateToCreateQuestion('short text response');
|
439
|
+
cy.barsPreLoaderWait();
|
440
|
+
});
|
441
|
+
|
442
|
+
it('When the user selects \'Word\' radio button then \'Maximum 20 words\' should be displayed in the preview tab', () => {
|
443
|
+
shortTextResponsePage.steps.selectWordRadioButton();
|
444
|
+
shortTextResponsePage.steps.switchToPreviewTab();
|
445
|
+
shortTextResponsePage.steps.verifyWordLimitInPreviewTab(20);
|
446
|
+
});
|
447
|
+
|
448
|
+
it('When the user updates the maximum word limit input field value then updated maximum word limit value should be displayed in the preview tab', () => {
|
449
|
+
shortTextResponsePage.steps.switchToEditTab();
|
450
|
+
shortTextResponsePage.steps.setMaximumLimit(5);
|
451
|
+
shortTextResponsePage.steps.switchToPreviewTab();
|
452
|
+
shortTextResponsePage.steps.verifyWordLimitInPreviewTab(5);
|
453
|
+
});
|
454
|
+
|
455
|
+
it('When the user updates the minimum word limit input field value and checks the \'Always show minimum limit\' checkbox then \'Minimum value - Maximum value words required\' should be displayed in the preview tab', () => {
|
456
|
+
shortTextResponsePage.steps.switchToEditTab();
|
457
|
+
shortTextResponsePage.steps.setMinimumLimit(3);
|
458
|
+
shortTextResponsePage.steps.checkAlwaysShowMinimumLimitCheckbox()
|
459
|
+
shortTextResponsePage.steps.switchToPreviewTab();
|
460
|
+
shortTextResponsePage.steps.verifyWordLimitInPreviewTab(5, 3);
|
461
|
+
});
|
462
|
+
|
463
|
+
it('User should able to enter words in the response field', () => {
|
464
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Answer is correct');
|
465
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('Answer is correct');
|
466
|
+
});
|
467
|
+
|
468
|
+
it('When the user reaches the word limit, then the warning message \'Maximum # words have been entered\' should be displayed', () => {
|
469
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Answer entered is correctly entered');
|
470
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('Answer entered is correctly entered');
|
471
|
+
shortTextResponsePage.steps.verifyWarningMessage('Maximum 5 words have been entered.');
|
472
|
+
});
|
473
|
+
|
474
|
+
it('When the user removes/deletes some words, the warning message should disappear', () => {
|
475
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('{backspace}');
|
476
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('');
|
477
|
+
shortTextResponsePage.steps.verifyWarningMessageNotExist();
|
478
|
+
});
|
479
|
+
|
480
|
+
it('When the user enters the word less than the minimum word limit value set by the user and focus out of response field, then the warning message \'Minimum 3 words are required\' should be displayed', () => {
|
481
|
+
cy.log('Pre-step: Clearing the response field');
|
482
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('abc abc');
|
483
|
+
shortTextResponsePage.steps.focusOutOfResponseField();
|
484
|
+
shortTextResponsePage.steps.verifyWarningMessage('Minimum 3 words are required.');
|
485
|
+
});
|
486
|
+
|
487
|
+
it('When the user enters the word greater than the minimum word limit value set by the user, then the warning message should disappear', () => {
|
488
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('abc abc abc');
|
489
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('abc abc abc');
|
490
|
+
shortTextResponsePage.steps.verifyWarningMessageNotExist();
|
491
|
+
});
|
492
|
+
|
493
|
+
it('When the user selects \'None\' radio button then maximum and minimum limits should not be displayed in the preview tab and when user types anything in the response field then error message should not be displayed', () => {
|
494
|
+
shortTextResponsePage.steps.switchToEditTab();
|
495
|
+
shortTextResponsePage.steps.selectNoneRadioButton();
|
496
|
+
shortTextResponsePage.steps.switchToPreviewTab();
|
497
|
+
utilities.verifyElementVisibilityState(shortTextResponsePage.responseFieldCountPreviewTab(), 'notExist');
|
498
|
+
shortTextResponsePage.steps.enterTextInAnswerInputFieldPreviewTab('Loremdola');
|
499
|
+
shortTextResponsePage.steps.verifyTextInAnswerInputFieldPreviewTab('Loremdola');
|
500
|
+
shortTextResponsePage.steps.verifyWarningMessageNotExist();
|
501
|
+
});
|
502
|
+
});
|
503
|
+
});
|