itemengine-cypress-automation 1.0.239-20thAugustChanges-35a78fd.0 → 1.0.239

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,8 +21,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
21
21
  textEntryMathPage.steps.addTextInQuestionInstructionsInputField('Enter the correct answer in the response field');
22
22
  textEntryMathPage.steps.addResponseArea();
23
23
  textEntryMathPage.steps.addResponseArea();
24
- textEntryMathPage.steps.expandAdditionalSettings();
25
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
26
24
  textEntryMathPage.steps.switchToPreviewTab();
27
25
  });
28
26
 
@@ -81,8 +79,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
81
79
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(2);
82
80
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
83
81
  equationEditorFlyout.steps.enterEquationUsingPiSymbol();
84
- textEntryMathPage.steps.expandAdditionalSettings();
85
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
86
82
  textEntryMathPage.steps.switchToPreviewTab();
87
83
  break;
88
84
  case 'Item preview':
@@ -284,8 +280,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
284
280
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(2);
285
281
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
286
282
  equationEditorFlyout.steps.enterEquationUsingPiSymbol();
287
- textEntryMathPage.steps.expandAdditionalSettings();
288
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
289
283
  textEntryMathPage.steps.allotPoints(20);
290
284
  });
291
285
 
@@ -35,8 +35,6 @@ describe('Create item page - Text entry math: Question instructions, Add structu
35
35
  before(() => {
36
36
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
37
37
  cy.barsPreLoaderWait();
38
- textEntryMathPage.steps.expandAdditionalSettings();
39
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
40
38
  });
41
39
 
42
40
  it('By default \'Add structure\' tab will have active selection', () => {
@@ -109,8 +107,6 @@ describe('Create item page - Text entry math: Question instructions, Add structu
109
107
  cy.barsPreLoaderWait();
110
108
  textEntryMathPage.steps.addResponseArea();
111
109
  textEntryMathPage.steps.addResponseArea();
112
- textEntryMathPage.steps.expandAdditionalSettings();
113
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
114
110
  });
115
111
 
116
112
  it('For the two response token in question input field, two response accordions \'Response 1\' and \'Response 2\' should be present in collapsed state in the \'Specify correct answer section\'', () => {
@@ -144,8 +140,6 @@ describe('Create item page - Text entry math: Question instructions, Add structu
144
140
  cy.barsPreLoaderWait();
145
141
  textEntryMathPage.steps.addResponseArea();
146
142
  textEntryMathPage.steps.addResponseArea();
147
- textEntryMathPage.steps.expandAdditionalSettings();
148
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
149
143
  });
150
144
 
151
145
  it('For the two response token in question input field, in additional settings accordion, two \'ARIA label for text containers\'input fields should be displayed', () => {
@@ -170,8 +164,6 @@ describe('Create item page - Text entry math: Question instructions, Add structu
170
164
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
171
165
  cy.barsPreLoaderWait();
172
166
  textEntryMathPage.steps.switchToPreviewTab();
173
- textEntryMathPage.steps.expandAdditionalSettings();
174
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
175
167
  });
176
168
 
177
169
  it('The default question input field content should be displayed in the preview tab question', () => {
@@ -49,8 +49,6 @@ describe('Create item page - Text entry math: Scoring section', () => {
49
49
  before(() => {
50
50
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
51
51
  cy.barsPreLoaderWait();
52
- textEntryMathPage.steps.expandAdditionalSettings();
53
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
54
52
  });
55
53
 
56
54
  it('User should be able to select \'Partial - equal weights\' scoring type', () => {
@@ -71,8 +69,6 @@ describe('Create item page - Text entry math: Scoring section', () => {
71
69
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
72
70
  cy.barsPreLoaderWait();
73
71
  textEntryMathPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
74
- textEntryMathPage.steps.expandAdditionalSettings();
75
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
76
72
  });
77
73
 
78
74
  textEntryMathPage.tests.verifyContentsOfSpecifyCorrectAnswerSection();
@@ -139,8 +135,6 @@ describe('Create item page - Text entry math: Scoring section', () => {
139
135
  before(() => {
140
136
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
141
137
  cy.barsPreLoaderWait();
142
- textEntryMathPage.steps.expandAdditionalSettings();
143
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
144
138
  });
145
139
 
146
140
  it('User should be able to select \'Partial - different weights\' scoring', () => {
@@ -161,8 +155,6 @@ describe('Create item page - Text entry math: Scoring section', () => {
161
155
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
162
156
  cy.barsPreLoaderWait();
163
157
  textEntryMathPage.steps.selectAutoScoredScoringSubtype('Partial different weights');
164
- textEntryMathPage.steps.expandAdditionalSettings();
165
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
166
158
  });
167
159
 
168
160
  textEntryMathPage.tests.verifyContentsOfSpecifyCorrectAnswerSection();
@@ -215,8 +207,6 @@ describe('Create item page - Text entry math: Scoring section', () => {
215
207
  before(() => {
216
208
  textEntryMathPage.steps.navigateToCreateQuestion('Text Entry Math');
217
209
  cy.barsPreLoaderWait();
218
- textEntryMathPage.steps.expandAdditionalSettings();
219
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
220
210
  });
221
211
 
222
212
  it('User should be able to select \'Manually scored\' scoring type from scoring type dropdown', () => {
@@ -260,8 +250,6 @@ describe('Create item page - Text entry math: Scoring section', () => {
260
250
  cy.barsPreLoaderWait();
261
251
  textEntryMathPage.steps.expandScoringTypeDropdown();
262
252
  textEntryMathPage.steps.selectOptionFromScoringTypeDropdown('Non scored');
263
- textEntryMathPage.steps.expandAdditionalSettings();
264
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
265
253
  });
266
254
 
267
255
  textEntryMathPage.tests.verifyContentsOfSpecifyCorrectAnswerSection();
@@ -26,8 +26,6 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
26
26
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Number');
27
27
  textEntryMathPage.steps.expandAdditionalSettings();
28
28
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
29
- textEntryMathPage.steps.expandAdditionalSettings();
30
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
31
29
  textEntryMathPage.steps.switchToPreviewTab();
32
30
  });
33
31
 
@@ -344,8 +342,6 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
344
342
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Fraction');
345
343
  textEntryMathPage.steps.expandAdditionalSettings();
346
344
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
347
- textEntryMathPage.steps.expandAdditionalSettings();
348
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
349
345
  textEntryMathPage.steps.switchToPreviewTab();
350
346
  });
351
347
 
@@ -783,8 +779,6 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
783
779
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Variable');
784
780
  textEntryMathPage.steps.expandAdditionalSettings();
785
781
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
786
- textEntryMathPage.steps.expandAdditionalSettings();
787
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
788
782
  textEntryMathPage.steps.switchToPreviewTab();
789
783
  });
790
784
 
@@ -933,8 +927,6 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
933
927
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Expression');
934
928
  textEntryMathPage.steps.expandAdditionalSettings();
935
929
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
936
- textEntryMathPage.steps.expandAdditionalSettings();
937
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
938
930
  textEntryMathPage.steps.switchToPreviewTab();
939
931
  });
940
932
 
@@ -1233,8 +1225,6 @@ describe('Create item page - Text entry math: Equivalent structure evaluation me
1233
1225
  textEntryMathPage.steps.selectSyntaxDropdownListOption('Scientific');
1234
1226
  textEntryMathPage.steps.expandAdditionalSettings();
1235
1227
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
1236
- textEntryMathPage.steps.expandAdditionalSettings();
1237
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
1238
1228
  textEntryMathPage.steps.switchToPreviewTab();
1239
1229
  });
1240
1230
 
@@ -22,8 +22,6 @@ describe('Create item page - Text entry math: Match exact evaluation method', ()
22
22
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
23
23
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
24
24
  textEntryMathPage.steps.selectEvaluationMethod('Match exact');
25
- textEntryMathPage.steps.expandAdditionalSettings();
26
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
27
25
  });
28
26
 
29
27
  it('When the user enters a numeric value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
@@ -24,8 +24,6 @@ describe('Create item page - Text entry math: Match value evaluation method', ()
24
24
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
25
25
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
26
26
  textEntryMathPage.steps.selectEvaluationMethod('Match value');
27
- textEntryMathPage.steps.expandAdditionalSettings();
28
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
29
27
  });
30
28
 
31
29
  it('When the user enters a numeric value in \'Specify correct answer\' response field and then the user enters the exact same value then it should be treated as correct', () => {
@@ -23,8 +23,6 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
23
23
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
24
24
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(0);
25
25
  textEntryMathPage.steps.selectEvaluationMethod('Symbols are equivalent');
26
- textEntryMathPage.steps.expandAdditionalSettings();
27
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
28
26
  });
29
27
 
30
28
  it('When the user enters a equation using decimals in \'Specify correct answer\' section and the user enters the same exact answer it should be treated as correct', () => {
@@ -21,8 +21,6 @@ describe('Create item page - Text entry math: Value is equivalent evaluation met
21
21
  textEntryMathPage.steps.expandAdditionalSettings();
22
22
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
23
23
  textEntryMathPage.steps.allotPoints(20);
24
- textEntryMathPage.steps.expandAdditionalSettings();
25
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
26
24
  });
27
25
 
28
26
  it('When the user enters a equation using decimals in \'Specify correct answer\' section and the user enters the same exact answer it should be treated as correct', () => {
@@ -24,8 +24,6 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
24
24
  textEntryMathPage.steps.selectEvaluationMethod('Response is true');
25
25
  textEntryMathPage.steps.expandAdditionalSettings();
26
26
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
27
- textEntryMathPage.steps.expandAdditionalSettings();
28
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
29
27
  textEntryMathPage.steps.switchToPreviewTab();
30
28
  });
31
29
 
@@ -221,8 +219,6 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
221
219
  textEntryMathPage.steps.selectEvaluationMethod('Expanded form');
222
220
  textEntryMathPage.steps.expandAdditionalSettings();
223
221
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
224
- textEntryMathPage.steps.expandAdditionalSettings();
225
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
226
222
  textEntryMathPage.steps.switchToPreviewTab();
227
223
  });
228
224
 
@@ -434,8 +430,6 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
434
430
  textEntryMathPage.steps.selectEvaluationMethod('Factored form');
435
431
  textEntryMathPage.steps.expandAdditionalSettings();
436
432
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
437
- textEntryMathPage.steps.expandAdditionalSettings();
438
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
439
433
  textEntryMathPage.steps.switchToPreviewTab();
440
434
  });
441
435
 
@@ -634,8 +628,6 @@ describe('Create item page - Text entry math: All or nothing scoring', () => {
634
628
  textEntryMathPage.steps.selectEvaluationMethod('Simplified version');
635
629
  textEntryMathPage.steps.expandAdditionalSettings();
636
630
  textEntryMathPage.steps.selectEquationEditorSectionCategories([equationEditorCategoriesAndSymbols.trig.displayName, equationEditorCategoriesAndSymbols.greek.displayName, equationEditorCategoriesAndSymbols.calculus.displayName]);
637
- textEntryMathPage.steps.expandAdditionalSettings();
638
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
639
631
  textEntryMathPage.steps.switchToPreviewTab();
640
632
  });
641
633
 
@@ -17,8 +17,6 @@ describe('Create item page - Text entry math: Minimum scoring, Penalty scoring,
17
17
  textEntryMathPage.steps.addResponseArea();
18
18
  textEntryMathPage.steps.addResponseArea();
19
19
  textEntryMathPage.steps.allotPoints(10);
20
- textEntryMathPage.steps.expandAdditionalSettings();
21
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
22
20
  });
23
21
 
24
22
  textEntryMathPage.tests.verifyMinimumScoringDropdown();
@@ -41,8 +39,6 @@ describe('Create item page - Text entry math: Minimum scoring, Penalty scoring,
41
39
  textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(0, 'a+b');
42
40
  textEntryMathPage.steps.addInputToResponseAnswerInputFieldSpecifyCorrectAnswer(1, 'a−b');
43
41
  textEntryMathPage.steps.selectAutoScoredScoringSubtype('Partial equal weights');
44
- textEntryMathPage.steps.expandAdditionalSettings();
45
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
46
42
  });
47
43
 
48
44
  textEntryMathPage.tests.verifyPenaltyScoringDropdown(penaltyScoringTypeArray);
@@ -203,8 +199,6 @@ describe('Create item page - Text entry math: Minimum scoring, Penalty scoring,
203
199
  textEntryMathPage.steps.addResponseArea();
204
200
  textEntryMathPage.steps.allotPoints(10);
205
201
  textEntryMathPage.steps.selectAutoScoredScoringSubtype('Partial equal weights')
206
- textEntryMathPage.steps.expandAdditionalSettings();
207
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
208
202
  });
209
203
 
210
204
  textEntryMathPage.tests.verifyRoundingDropdown();
@@ -32,8 +32,6 @@ describe('Create item page - Text entry math: Preview contents', () => {
32
32
  textEntryMathPage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
33
33
  textEntryMathPage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
34
34
  equationEditorFlyout.steps.enterQuadraticEquation();
35
- textEntryMathPage.steps.expandAdditionalSettings();
36
- textEntryMathPage.steps.selectModalVisibilityTypeButton();
37
35
  textEntryMathPage.steps.switchToPreviewTab();
38
36
  break;
39
37
  case 'Item view':
@@ -24,8 +24,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
24
24
  textEntryMathWithImagePage.steps.verifyImageIsUploaded();
25
25
  textEntryMathWithImagePage.steps.insertResponseArea(10);
26
26
  textEntryMathWithImagePage.steps.insertResponseArea(40);
27
- textEntryMathWithImagePage.steps.expandAdditionalSettings();
28
- textEntryMathWithImagePage.steps.selectModalVisibilityTypeButton();
29
27
  textEntryMathWithImagePage.steps.switchToPreviewTab();
30
28
  });
31
29
 
@@ -87,8 +85,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
87
85
  textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(2);
88
86
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
89
87
  equationEditorFlyout.steps.enterEquationUsingPiSymbol();
90
- textEntryMathWithImagePage.steps.expandAdditionalSettings();
91
- textEntryMathWithImagePage.steps.selectModalVisibilityTypeButton();
92
88
  textEntryMathWithImagePage.steps.switchToPreviewTab();
93
89
  break;
94
90
  case 'Item preview':
@@ -292,8 +288,6 @@ describe('Create Item page - Text entry math: All or nothing ', () => {
292
288
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(2);
293
289
  equationEditorFlyout.steps.enterEquationUsingPiSymbol();
294
290
  textEntryMathWithImagePage.steps.allotPoints(20);
295
- textEntryMathWithImagePage.steps.expandAdditionalSettings();
296
- textEntryMathWithImagePage.steps.selectModalVisibilityTypeButton();
297
291
  });
298
292
 
299
293
  it('When the user selects \'Award minimum score\' from the minimum scoring dropdown, does not attempt the question and switches to grading view, then the user should be awarded with minimum points', () => {
@@ -387,8 +387,6 @@ describe('Create item page - Text entry math: Question instructions, Options sec
387
387
  textEntryMathWithImagePage.steps.verifyFileNameLabel('highlightImage.jpg');
388
388
  utilities.verifyElementVisibilityState(textEntryMathWithImagePage.uploadImageProgressBar(), 'visible');
389
389
  textEntryMathWithImagePage.steps.verifyImageIsUploaded();
390
- textEntryMathWithImagePage.steps.expandAdditionalSettings();
391
- textEntryMathWithImagePage.steps.selectModalVisibilityTypeButton();
392
390
  });
393
391
 
394
392
  it('When the user has uploaded canvas image, then switching to the preview tab should display canvas image with same dimensions', () => {
@@ -36,8 +36,6 @@ describe('Create item page - Text entry math: Preview contents', () => {
36
36
  textEntryMathWithImagePage.steps.expandResponseAccordionSpecifyCorrectAnswer(1);
37
37
  textEntryMathWithImagePage.steps.focusInResponseAnswerInputFieldSpecifyCorrectAnswerSection(1);
38
38
  equationEditorFlyout.steps.enterQuadraticEquation();
39
- textEntryMathWithImagePage.steps.expandAdditionalSettings();
40
- textEntryMathWithImagePage.steps.selectModalVisibilityTypeButton();
41
39
  textEntryMathWithImagePage.steps.switchToPreviewTab();
42
40
  break;
43
41
  case 'Item view':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.239-20thAugustChanges-35a78fd.0",
3
+ "version": "1.0.239",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {