itemengine-cypress-automation 1.0.284-applitools-38637bb.0 → 1.0.285-applitools-da9f1a8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +0 -10
- package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +0 -10
- package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -10
- package/cypress/e2e/ILC/BrainingCampManipulative/previewTabContent.smoke.js +0 -9
- package/cypress/e2e/ILC/ChartsBar/HorizontalOrientationBarChart/gradingViewAndCorrectAnswerView.smoke.js +1 -11
- package/cypress/e2e/ILC/ChartsLine/allOrNothingScoringForAllViews.smoke.js +0 -9
- package/cypress/e2e/ILC/Compass/compassPreviewContent.smoke.js +0 -9
- package/cypress/e2e/ILC/ContentBlocks/previewContents.smoke.js +0 -9
- package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +2 -2
- package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +1 -17
- package/cypress/e2e/ILC/FillInTheGapsTextNew/allOrNothingForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/Graphing/allOrNothingForAllViews.smoke.js +0 -9
- package/cypress/e2e/ILC/ListOrderingDropdown/allOrNothingForAllViews.smoke.js +0 -9
- package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js +0 -9
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/horizontalOrientationAllOrNothingForAllViews.smoke.js +0 -9
- package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +0 -9
- package/cypress/e2e/ILC/MatchingDropdown/allOrNothingScoringForAllViews.smoke.js +0 -9
- package/cypress/e2e/ILC/NumberLine/allOrNothingScoringForAllViews.smoke.js +0 -9
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js +0 -9
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js +0 -9
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +0 -9
- package/cypress/e2e/ILC/NumberLineLabel/allOrNothingForAllViews.smoke.js +0 -9
- package/cypress/e2e/ILC/Protractor/protractorPreviewContents.smoke.js +0 -9
- package/cypress/e2e/ILC/ReadingRuler/readingrulerPreviewContents.smoke.js +0 -9
- package/cypress/e2e/ILC/Ruler/rulerPreviewContents.smoke.js +0 -9
- package/cypress/e2e/ILC/ShortTextResponseNew/previewContentsForAllViews.smoke.js +1 -10
- package/cypress/e2e/ILC/SimpleCalculator/previewContents.smoke.js +0 -9
- package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js +0 -9
- package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +0 -9
- package/cypress/e2e/ILC/ToolSettings/toolSettingsPreviewContents.smoke.js +0 -9
- package/cypress/e2e/ILC/chartsDotsPlot/allOrNothingForAllViews.smoke.js +0 -9
- package/cypress/e2e/applitools.config.js +1 -1
- package/package.json +1 -1
@@ -10,14 +10,6 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
10
10
|
cy.loginAs('admin');
|
11
11
|
});
|
12
12
|
|
13
|
-
beforeEach(() => {
|
14
|
-
cy.startApplitools();
|
15
|
-
});
|
16
|
-
|
17
|
-
afterEach(() => {
|
18
|
-
cy.eyesClose();
|
19
|
-
});
|
20
|
-
|
21
13
|
describe('Preview of bar audio recorder style', { tags: 'smoke' }, () => {
|
22
14
|
abortEarlySetup();
|
23
15
|
before(() => {
|
@@ -247,7 +239,6 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
247
239
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewPlaybackTime(), 'visible');
|
248
240
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
|
249
241
|
audioResponsePage.steps.verifyPlaybackTimeBarPreview('00:00', '00:10');
|
250
|
-
cy.eyesCheckWindow(`Audio response - Verify Retake, Play icons, progress bar, and recorded duration '(min:secs)' when recording reaches max length`);
|
251
242
|
});
|
252
243
|
});
|
253
244
|
|
@@ -269,7 +260,6 @@ describe('Preview of Audio response for bar audio recorder style', () => {
|
|
269
260
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
|
270
261
|
utilities.verifyElementVisibilityState(audioResponsePage.barPreviewPlaybackTime(), 'visible');
|
271
262
|
audioResponsePage.steps.verifyPlaybackTimeBarPreview('00:00', '00:05');
|
272
|
-
cy.eyesCheckWindow(`Audio response - Audio wave form, Volume meter, Retake recording and Play buttons, Volume control and playback speed buttons, Progress bar and time`);
|
273
263
|
});
|
274
264
|
|
275
265
|
it('The progress bar should have a slider so that user can click/drag to seek the audio.', () => {
|
@@ -10,14 +10,6 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
10
10
|
cy.loginAs('admin');
|
11
11
|
});
|
12
12
|
|
13
|
-
beforeEach(() => {
|
14
|
-
cy.startApplitools();
|
15
|
-
});
|
16
|
-
|
17
|
-
afterEach(() => {
|
18
|
-
cy.eyesClose();
|
19
|
-
});
|
20
|
-
|
21
13
|
describe('Preview of Compact audio recorder style', { tags: 'smoke' }, () => {
|
22
14
|
abortEarlySetup();
|
23
15
|
before(() => {
|
@@ -235,7 +227,6 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
235
227
|
audioResponsePage.steps.verifyPlaybackTimeCompactPreview('00:00', '00:05')
|
236
228
|
cy.log('Switching to Edit tab to prevent browser level alert window from appearing');
|
237
229
|
audioResponsePage.steps.switchToEditTab();
|
238
|
-
cy.eyesCheckWindow(`Audio response - Verify recording stops at the updated maximum recorder length.`);
|
239
230
|
});
|
240
231
|
});
|
241
232
|
|
@@ -258,7 +249,6 @@ describe('Preview of Audio response for compact audio recorder style', () => {
|
|
258
249
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
|
259
250
|
utilities.verifyElementVisibilityState(audioResponsePage.compactPreviewPlaybackTime(), 'visible');
|
260
251
|
audioResponsePage.steps.verifyPlaybackTimeCompactPreview('00:00', '00:05');
|
261
|
-
cy.eyesCheckWindow(`Audio response - Audio wave form, Volume meter, Retake recording and Play buttons, Volume control and playback speed buttons, Progress bar and time in (mm:ss / mm:ss) format`);
|
262
252
|
});
|
263
253
|
|
264
254
|
it('The progress bar should have a slider so that user can click/drag to seek the audio. When the user hovers on the waveform, a black cursor should be display on the waveform', () => {
|
package/cypress/e2e/ILC/BrainingCampManipulative/gradingViewAndCorrectAnswerViewContents.smoke.js
CHANGED
@@ -10,14 +10,6 @@ describe('Create item page - Brainingcamp manipulative: Grading view, Correct an
|
|
10
10
|
before(() => {
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
|
-
|
14
|
-
beforeEach(() => {
|
15
|
-
cy.startApplitools();
|
16
|
-
});
|
17
|
-
|
18
|
-
afterEach(() => {
|
19
|
-
cy.eyesClose();
|
20
|
-
});
|
21
13
|
|
22
14
|
if (views.includes('Grading view')) {
|
23
15
|
//Failing due to https://redmine.zeuslearning.com/issues/583133
|
@@ -54,7 +46,6 @@ describe('Create item page - Brainingcamp manipulative: Grading view, Correct an
|
|
54
46
|
|
55
47
|
it('Empty score input field and total score should be displayed', () => {
|
56
48
|
gradingViewPage.steps.verifyGradingViewScore('', 10);
|
57
|
-
cy.eyesCheckWindow(`Brainingcamp manipulative: Grading view contents`);
|
58
49
|
});
|
59
50
|
|
60
51
|
it('Accessibility of contents in preview tab', { tags: 'a11y' }, () => {
|
@@ -96,7 +87,6 @@ describe('Create item page - Brainingcamp manipulative: Grading view, Correct an
|
|
96
87
|
|
97
88
|
it('The points alloted to the question should be displayed', () => {
|
98
89
|
correctAnswerViewPage.steps.verifyAvailablePoints(10);
|
99
|
-
cy.eyesCheckWindow(`Brainingcamp manipulative: Correct answer view contents`);
|
100
90
|
});
|
101
91
|
|
102
92
|
//Need to add CSS and A11y here once updated designs are available for correct answer
|
@@ -11,14 +11,6 @@ describe('Create item page - Brainingcamp manipulative: Preview contents', () =>
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
beforeEach(() => {
|
15
|
-
cy.startApplitools();
|
16
|
-
});
|
17
|
-
|
18
|
-
afterEach(() => {
|
19
|
-
cy.eyesClose();
|
20
|
-
});
|
21
|
-
|
22
14
|
views.forEach((view) => {
|
23
15
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
24
16
|
abortEarlySetup();
|
@@ -62,7 +54,6 @@ describe('Create item page - Brainingcamp manipulative: Preview contents', () =>
|
|
62
54
|
|
63
55
|
it(`${view} view: Brainingcamp manipulative - The brainingcamp manipulative resource should be displayed`, () => {
|
64
56
|
utilities.verifyElementVisibilityState(brainingCampManipulativePage.previewTabCanvas(), 'visible');
|
65
|
-
cy.eyesCheckWindow(`${view} view: Brainingcamp manipulative - Preview contents`);
|
66
57
|
});
|
67
58
|
|
68
59
|
it('CSS of preview tab contents', { tags: 'css' }, () => {
|
@@ -14,14 +14,6 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
if (views.includes('Grading view')) {
|
26
18
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
27
19
|
abortEarlySetup();
|
@@ -104,7 +96,7 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
|
|
104
96
|
});
|
105
97
|
|
106
98
|
it('All the bar graphs in grading view should be non-editable', () => {
|
107
|
-
chartsBarPage.steps.verifyDragHandleNotVisible();
|
99
|
+
chartsBarPage.steps.verifyDragHandleNotVisible();
|
108
100
|
for (let index = 0; index < 5; index++) {
|
109
101
|
utilities.triggerMouseover(utilities.getNthElement(chartsBarPage.previewTabBar(), index));
|
110
102
|
utilities.verifyElementVisibilityState(chartsBarPage.barAndPointTooltipWrapper(), 'notExist');
|
@@ -130,7 +122,6 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
|
|
130
122
|
chartsBarPage.steps.verifyGraphTitleInCorrectAnswerSection('Graph of profits');
|
131
123
|
chartsBarPage.steps.verifyXAxisLabelInCorrectAnswerSection('Profit');
|
132
124
|
chartsBarPage.steps.verifyYAxisLabelInCorrectAnswerSection('Year');
|
133
|
-
cy.eyesCheckWindow('Charts bar: Horizontal - Grading view contents')
|
134
125
|
});
|
135
126
|
|
136
127
|
it('Points and the total score should be displayed', () => {
|
@@ -243,7 +234,6 @@ describe('Create item page - Charts - Bar horizontal orientation: Grading view,
|
|
243
234
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(2, 'correct');
|
244
235
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(3, 'correct');
|
245
236
|
chartsBarPage.steps.verifyBarCorrectIncorrectIconInPreviewTab(4, 'correct');
|
246
|
-
cy.eyesCheckWindow('Charts bar: Horizontal -Correct answer view contents')
|
247
237
|
});
|
248
238
|
|
249
239
|
it('The points alloted to the question should be displayed', () => {
|
@@ -11,14 +11,6 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
beforeEach(() => {
|
15
|
-
cy.startApplitools();
|
16
|
-
});
|
17
|
-
|
18
|
-
afterEach(() => {
|
19
|
-
cy.eyesClose();
|
20
|
-
});
|
21
|
-
|
22
14
|
if (!grepTags || !grepTags.includes('smoke')) {
|
23
15
|
describe('Question preview modes: Student view and Grading view', () => {
|
24
16
|
abortEarlySetup();
|
@@ -318,7 +310,6 @@ describe('Create item page - Charts - Line: All or nothing ', () => {
|
|
318
310
|
chartsLinePage.steps.verifyPointCorrectIncorrectIconInPreviewTab(4, 'correct');
|
319
311
|
chartsLinePage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
320
312
|
chartsLinePage.steps.verifyCorrectAnswerSectionNotExist();
|
321
|
-
cy.eyesCheckWindow(`${view} view: Charts Line - Attempting the question correctly`);
|
322
313
|
});
|
323
314
|
});
|
324
315
|
});
|
@@ -12,14 +12,6 @@ describe('Preview tab contents for all views', () => {
|
|
12
12
|
cy.loginAs('admin');
|
13
13
|
});
|
14
14
|
|
15
|
-
beforeEach(() => {
|
16
|
-
cy.startApplitools();
|
17
|
-
});
|
18
|
-
|
19
|
-
afterEach(() => {
|
20
|
-
cy.eyesClose();
|
21
|
-
});
|
22
|
-
|
23
15
|
views.forEach((view) => {
|
24
16
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
25
17
|
abortEarlySetup();
|
@@ -74,7 +66,6 @@ describe('Preview tab contents for all views', () => {
|
|
74
66
|
compassPage.steps.verifyCompassToolIsVisible();
|
75
67
|
compassPage.steps.verifyPreviewTabCompassVisibilityButtonLabel('Hide');
|
76
68
|
compassPage.steps.clickOnCompassToolVisibilityButton();
|
77
|
-
cy.eyesCheckWindow(`${view} - Check compass visibility`);
|
78
69
|
});
|
79
70
|
|
80
71
|
it('CSS of preview tab basic section', { tags: 'css' }, () => {
|
@@ -12,14 +12,6 @@ describe('Preview tab contents for all views', () => {
|
|
12
12
|
cy.loginAs('admin');
|
13
13
|
});
|
14
14
|
|
15
|
-
beforeEach(() => {
|
16
|
-
cy.startApplitools();
|
17
|
-
});
|
18
|
-
|
19
|
-
afterEach(() => {
|
20
|
-
cy.eyesClose();
|
21
|
-
});
|
22
|
-
|
23
15
|
views.forEach((view) => {
|
24
16
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
25
17
|
abortEarlySetup();
|
@@ -82,7 +74,6 @@ describe('Preview tab contents for all views', () => {
|
|
82
74
|
utilities.verifyElementVisibilityState(contentBlocksPage.groupDividerPreviewTab(), 'visible');
|
83
75
|
utilities.verifyInnerText(contentBlocksPage.bodySubTitlePreviewTab(), 'This is body subtitle text');
|
84
76
|
utilities.verifyElementVisibilityState(contentBlocksPage.bodySubTitlePreviewTab(), 'visible');
|
85
|
-
cy.eyesCheckWindow(`${view} - Title, text block, solid group divider and subtitle text should be displayed`);
|
86
77
|
});
|
87
78
|
|
88
79
|
it('CSS of Preview tab', { tags: 'css' }, () => {
|
@@ -62,7 +62,7 @@ describe('Create item page - Drawing response: Grading view, Correct answer view
|
|
62
62
|
utilities.verifyElementVisibilityState(drawingResponsePage.gradingViewPlayFeatureButton(), 'visible');
|
63
63
|
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabLowerCanvas(), 'visible');
|
64
64
|
drawingResponsePage.steps.clickOnPlayButtonInGradingView();
|
65
|
-
cy.eyesCheckWindow(
|
65
|
+
cy.eyesCheckWindow(`Checking grading view for drawing response`);
|
66
66
|
});
|
67
67
|
|
68
68
|
it('Empty score input field and total score should be displayed', () => {
|
@@ -103,7 +103,7 @@ describe('Create item page - Drawing response: Grading view, Correct answer view
|
|
103
103
|
it('Drawing response: \'This is a manual scored question\' help text should be displayed in the correct answer view', () => {
|
104
104
|
utilities.verifyTextContent(correctAnswerViewPage.manualScoredQuestionHelpText(), 'This is a manual scored question.');
|
105
105
|
utilities.verifyElementVisibilityState(correctAnswerViewPage.manualScoredQuestionHelpText(), 'visible');
|
106
|
-
cy.eyesCheckWindow(
|
106
|
+
cy.eyesCheckWindow(`Checking correct answer view for drawing response`);
|
107
107
|
});
|
108
108
|
|
109
109
|
it('The points alloted to the question should be displayed', () => {
|
@@ -19,14 +19,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
19
19
|
cy.loginAs('admin');
|
20
20
|
});
|
21
21
|
|
22
|
-
beforeEach(() => {
|
23
|
-
cy.startApplitools();
|
24
|
-
});
|
25
|
-
|
26
|
-
afterEach(() => {
|
27
|
-
cy.eyesClose();
|
28
|
-
});
|
29
|
-
|
30
22
|
views.forEach((view) => {
|
31
23
|
describe(`Primary toolbar options for ${view}`, { tags: 'smoke' }, () => {
|
32
24
|
abortEarlySetup();
|
@@ -302,7 +294,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
302
294
|
drawingResponsePage.steps.switchToPreviewTab();
|
303
295
|
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
|
304
296
|
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[1]), 'visible');
|
305
|
-
cy.eyesCheckWindow(`Math characters popup should be displayed`);
|
306
297
|
});
|
307
298
|
|
308
299
|
it('By default the \'Math characters\' secondary toolbar option should be in deselected state', () => {
|
@@ -382,7 +373,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
382
373
|
drawingResponsePage.steps.switchToPreviewTab();
|
383
374
|
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
|
384
375
|
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[2]), 'visible');
|
385
|
-
cy.eyesCheckWindow(`Font size popup should be displayed`);
|
386
376
|
});
|
387
377
|
|
388
378
|
it('By default the \'Font size\' secondary toolbar option should be in deselected state', () => {
|
@@ -471,10 +461,9 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
471
461
|
cy.checkAccessibility(drawingResponsePage.previewTabSecondaryToolbarOption().parents('.drawing-tool__secondary-toolbar'));
|
472
462
|
});
|
473
463
|
|
474
|
-
it(
|
464
|
+
it(`When user clicks on \'Opacity\' secondary toolbar option, then the \'Opacity\' popup should be displayed and \'Opacity\' secondary toolbar option should be in selected state`, () => {
|
475
465
|
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[2]);
|
476
466
|
drawingResponsePage.steps.verifySecondaryPopupExist();
|
477
|
-
cy.eyesCheckWindow(`Opacity popup displayed`);
|
478
467
|
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
479
468
|
});
|
480
469
|
|
@@ -578,7 +567,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
578
567
|
it(`When user clicks on 'Stroke thickness' secondary toolbar option, then the 'Stroke thickness' popup should be displayed and 'Stroke thickness' secondary toolbar option should be in selected state`, () => {
|
579
568
|
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[1].secondaryToolbarOptions[1]);
|
580
569
|
drawingResponsePage.steps.verifySecondaryPopupExist();
|
581
|
-
cy.eyesCheckWindow(`Stroke thickness popup displayed`);
|
582
570
|
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
583
571
|
});
|
584
572
|
|
@@ -656,7 +644,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
656
644
|
drawingResponsePage.steps.switchToPreviewTab();
|
657
645
|
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].displayName);
|
658
646
|
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[6].secondaryToolbarOptions[3]), 'visible');
|
659
|
-
cy.eyesCheckWindow(`Text color popup is displayed`);
|
660
647
|
});
|
661
648
|
|
662
649
|
it('By default the \'Text color\' secondary toolbar option should be in deselected state', () => {
|
@@ -820,7 +807,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
820
807
|
drawingResponsePage.steps.switchToPreviewTab();
|
821
808
|
drawingResponsePage.steps.selectPreviewTabToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].displayName);
|
822
809
|
utilities.verifyElementVisibilityState(drawingResponsePage.previewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[9].secondaryToolbarOptions[0]), 'visible');
|
823
|
-
cy.eyesCheckWindow(`Fill color popup is displayed`);
|
824
810
|
});
|
825
811
|
|
826
812
|
it('The \'Stroke color\' secondary toolbar option should be in deselected state', () => {
|
@@ -1182,7 +1168,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
1182
1168
|
lineTypeOptions.forEach((thickness, index) => {
|
1183
1169
|
drawingResponsePage.steps.verifySecondaryPopupLineType(thickness, index);
|
1184
1170
|
});
|
1185
|
-
cy.eyesCheckWindow(`Line type options displayed`);
|
1186
1171
|
});
|
1187
1172
|
|
1188
1173
|
it('Line option should be selected by default', () => {
|
@@ -1258,7 +1243,6 @@ describe('Preview tab contents - primary toolbar options, secondary toolbar opti
|
|
1258
1243
|
it('When user clicks on \'Eraser thickness\' secondary toolbar option, then the \'Eraser thickness\' popup should be displayed and \'Eraser thickness\' secondary toolbar option should be in selected state', () => {
|
1259
1244
|
drawingResponsePage.steps.selectPreviewTabSecondaryToolbarOption(drawingToolbarOptionsAndAdditionalOptions.drawingToolbarOptions[7].secondaryToolbarOptions[0]);
|
1260
1245
|
drawingResponsePage.steps.verifySecondaryPopupExist();
|
1261
|
-
cy.eyesCheckWindow(`Eraser thickness popup displayed`);
|
1262
1246
|
//Add here once https://redmine.zeuslearning.com/issues/554508 is resolved
|
1263
1247
|
});
|
1264
1248
|
|
@@ -175,7 +175,7 @@ describe('Create item page - Fill in the gaps with text: All or nothing ', () =>
|
|
175
175
|
fillInTheGapsTextPage.steps.verifyCorrectOptionIcon(2);
|
176
176
|
fillInTheGapsTextPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
177
177
|
fillInTheGapsTextPage.steps.verifyCorrectAnswerSectionNotExists();
|
178
|
-
cy.eyesCheckWindow(`
|
178
|
+
cy.eyesCheckWindow(`Fill in the gaps text - ${view} - Attempting the question correctly`);
|
179
179
|
});
|
180
180
|
});
|
181
181
|
});
|
@@ -13,14 +13,6 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
13
13
|
cy.loginAs('admin');
|
14
14
|
});
|
15
15
|
|
16
|
-
beforeEach(() => {
|
17
|
-
cy.startApplitools();
|
18
|
-
});
|
19
|
-
|
20
|
-
afterEach(() => {
|
21
|
-
cy.eyesClose();
|
22
|
-
});
|
23
|
-
|
24
16
|
if (!grepTags || !grepTags.includes('smoke')) {
|
25
17
|
describe('Question preview modes: Student view and Grading view', () => {
|
26
18
|
abortEarlySetup();
|
@@ -303,7 +295,6 @@ describe('Create Item page - Graphing: All or nothing ', () => {
|
|
303
295
|
graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: -6, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 7, yRange: 20 }, { x: -4, xRange: 20, y: 9, yRange: 20 }, { x: -6, xRange: 20, y: 9, yRange: 20 }]);
|
304
296
|
graphingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
305
297
|
graphingPage.steps.verifyCorrectAnswerSectionNotExist();
|
306
|
-
cy.eyesCheckWindow(`Graphing: ${view} - Correct answer displayed in grading view`);
|
307
298
|
});
|
308
299
|
});
|
309
300
|
});
|
@@ -14,14 +14,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
if (!grepTags || !grepTags.includes('smoke')) {
|
26
18
|
describe('Question preview modes: Student view and Grading view', () => {
|
27
19
|
abortEarlySetup();
|
@@ -183,7 +175,6 @@ describe('Create item page - List ordering: All or nothing ', () => {
|
|
183
175
|
listOrderingPage.steps.verifyCorrectOptionIconDropdownLayout(3);
|
184
176
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
185
177
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
186
|
-
cy.eyesCheckWindow(`List ordering dropdown - ${view} view - Attempting the question correctly`);
|
187
178
|
});
|
188
179
|
});
|
189
180
|
});
|
package/cypress/e2e/ILC/ListOrderingNew/horizontalOrientationAllOrNothingForAllViews.smoke.js
CHANGED
@@ -14,14 +14,6 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
views.forEach((view) => {
|
26
18
|
describe(`${view}: List ordering: Horizontal orientation - Auto scored - All or nothing scoring`, { tags: 'smoke' }, () => {
|
27
19
|
abortEarlySetup();
|
@@ -165,7 +157,6 @@ describe('Create item page - List ordering: All or nothing for "Horizontal" opti
|
|
165
157
|
listOrderingPage.steps.verifyCorrectOptionIconHorizontalOrientation('flower');
|
166
158
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
167
159
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
168
|
-
cy.eyesCheckWindow(`${view}: List ordering: Horizontal orientation - Correct attempt`);
|
169
160
|
});
|
170
161
|
});
|
171
162
|
});
|
@@ -14,14 +14,6 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
views.forEach((view) => {
|
26
18
|
describe(`${view}: Auto scored - All or nothing scoring`, { tags: 'smoke' }, () => {
|
27
19
|
abortEarlySetup();
|
@@ -161,7 +153,6 @@ describe('Create item page - List ordering - Reorder as a separate list: All or
|
|
161
153
|
listOrderingPage.steps.verifyCorrectOptionIconSeperateList('flower');
|
162
154
|
listOrderingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
163
155
|
listOrderingPage.steps.verifyCorrectAnswerSectionNotExists();
|
164
|
-
cy.eyesCheckWindow(`List ordering - Reorder as a separate list: ${view} view - Attempting the question correctly`);
|
165
156
|
});
|
166
157
|
});
|
167
158
|
});
|
package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js
CHANGED
@@ -14,14 +14,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
views.forEach((view) => {
|
26
18
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
27
19
|
abortEarlySetup();
|
@@ -90,7 +82,6 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
90
82
|
it(`List ordering: Reorder as a separate list - ${view} - Question instructions should be visible`, () => {
|
91
83
|
utilities.verifyInnerText(listOrderingPage.questionInstructionsText(), 'Arrange options in correct order.');
|
92
84
|
utilities.verifyElementVisibilityState(listOrderingPage.questionInstructionsText(), 'visible');
|
93
|
-
cy.eyesCheckWindow(`List ordering: Reorder as a separate list - ${view} - Options container with image, bold text, and equation`);
|
94
85
|
});
|
95
86
|
|
96
87
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
@@ -14,14 +14,6 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
14
14
|
cy.loginAs('admin');
|
15
15
|
});
|
16
16
|
|
17
|
-
beforeEach(() => {
|
18
|
-
cy.startApplitools();
|
19
|
-
});
|
20
|
-
|
21
|
-
afterEach(() => {
|
22
|
-
cy.eyesClose();
|
23
|
-
});
|
24
|
-
|
25
17
|
if (!grepTags || !grepTags.includes('smoke')) {
|
26
18
|
describe('Question preview modes: Student view and Grading view', () => {
|
27
19
|
abortEarlySetup();
|
@@ -211,7 +203,6 @@ describe('Create item page - Matching: All or nothing ', () => {
|
|
211
203
|
matchingPage.steps.verifyCorrectOptionIconDropdown(2);
|
212
204
|
matchingPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
213
205
|
matchingPage.steps.verifyCorrectAnswerSectionNotExists();
|
214
|
-
cy.eyesCheckWindow(`Matching dropdown - ${view} view - Attempting the question correctly`);
|
215
206
|
});
|
216
207
|
});
|
217
208
|
});
|
@@ -13,14 +13,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
13
13
|
cy.loginAs('admin');
|
14
14
|
});
|
15
15
|
|
16
|
-
beforeEach(() => {
|
17
|
-
cy.startApplitools();
|
18
|
-
});
|
19
|
-
|
20
|
-
afterEach(() => {
|
21
|
-
cy.eyesClose();
|
22
|
-
});
|
23
|
-
|
24
16
|
if (!grepTags || !grepTags.includes('smoke')) {
|
25
17
|
describe('Question preview modes: Student view and Grading view', () => {
|
26
18
|
abortEarlySetup();
|
@@ -243,7 +235,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
243
235
|
numberLinePage.steps.verifyCorrectLineSegmentOnNumberLinePreviewTab(range, [{ x1: -5, x2: -4 }]);
|
244
236
|
numberLinePage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
245
237
|
numberLinePage.steps.verifyCorrectAnswerSectionNotExist();
|
246
|
-
cy.eyesCheckWindow(`Number line horizontal ${view} - Attempting the question correctly`);
|
247
238
|
});
|
248
239
|
});
|
249
240
|
});
|
package/cypress/e2e/ILC/NumberLine/verticalNumberLine/allOrNothingScoringForAllViews.smoke.js
CHANGED
@@ -13,14 +13,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
13
13
|
cy.loginAs('admin');
|
14
14
|
});
|
15
15
|
|
16
|
-
beforeEach(() => {
|
17
|
-
cy.startApplitools();
|
18
|
-
});
|
19
|
-
|
20
|
-
afterEach(() => {
|
21
|
-
cy.eyesClose();
|
22
|
-
});
|
23
|
-
|
24
16
|
if (!grepTags || !grepTags.includes('smoke')) {
|
25
17
|
describe('Question preview modes: Student view and Grading view', () => {
|
26
18
|
abortEarlySetup();
|
@@ -238,7 +230,6 @@ describe('Create Item page - Number line: All or nothing ', () => {
|
|
238
230
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLinePreviewTab(range, [{ y1: -5, y2: -4 }]);
|
239
231
|
numberLinePage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
240
232
|
numberLinePage.steps.verifyCorrectAnswerSectionNotExist();
|
241
|
-
cy.eyesCheckWindow(`Number line vertical ${view} - Attempting the question correctly`);
|
242
233
|
});
|
243
234
|
});
|
244
235
|
});
|
package/cypress/e2e/ILC/NumberLine/verticalNumberLine/gradingViewAndCorrectAnswerView.smoke.js
CHANGED
@@ -17,13 +17,6 @@ describe('Create item page - Number line vertical: Grading view, Correct answer
|
|
17
17
|
cy.loginAs('admin');
|
18
18
|
});
|
19
19
|
|
20
|
-
beforeEach(() => {
|
21
|
-
cy.startApplitools();
|
22
|
-
});
|
23
|
-
|
24
|
-
afterEach(() => {
|
25
|
-
cy.eyesClose();
|
26
|
-
});
|
27
20
|
|
28
21
|
if (views.includes('Grading view')) {
|
29
22
|
describe('Grading view contents', { tags: 'smoke' }, () => {
|
@@ -85,7 +78,6 @@ describe('Create item page - Number line vertical: Grading view, Correct answer
|
|
85
78
|
numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLineCorrectAnswerSection(range, [-4, -5]);
|
86
79
|
numberLinePage.steps.verifyCorrectRayOnVerticalNumberLineCorrectAnswerSection('left', range, -7);
|
87
80
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLineCorrectAnswerSection(range, [{ y1: -5, y2: -4 }]);
|
88
|
-
cy.eyesCheckWindow(`Number line Vertical - Grading view contents`);
|
89
81
|
});
|
90
82
|
|
91
83
|
it('Points and the total score should be displayed', () => {
|
@@ -162,7 +154,6 @@ describe('Create item page - Number line vertical: Grading view, Correct answer
|
|
162
154
|
numberLinePage.steps.verifyCorrectPointsOnVerticalNumberLinePreviewTab(range, [-4, -5, 2]);
|
163
155
|
numberLinePage.steps.verifyCorrectLineSegmentOnVerticalNumberLinePreviewTab(range, [{ y1: -5, y2: -4 }]);
|
164
156
|
numberLinePage.steps.verifyCorrectRayOnVerticalNumberLinePreviewTab('left', range, -7);
|
165
|
-
cy.eyesCheckWindow(`Number line Vertical - Correct answer view contents`);
|
166
157
|
});
|
167
158
|
|
168
159
|
it('The points alloted to the question should be displayed', () => {
|
package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js
CHANGED
@@ -16,14 +16,6 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
16
16
|
cy.loginAs('admin');
|
17
17
|
});
|
18
18
|
|
19
|
-
beforeEach(() => {
|
20
|
-
cy.startApplitools();
|
21
|
-
});
|
22
|
-
|
23
|
-
afterEach(() => {
|
24
|
-
cy.eyesClose();
|
25
|
-
});
|
26
|
-
|
27
19
|
views.forEach((view) => {
|
28
20
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
29
21
|
abortEarlySetup();
|
@@ -97,7 +89,6 @@ describe('Create item page: Number line - Preview contents in all views', () =>
|
|
97
89
|
controlOptions.forEach((controlOption) => {
|
98
90
|
utilities.verifyElementDisabled(numberLinePage.numberLineControlOptionPreviewTab(controlOption));
|
99
91
|
});
|
100
|
-
cy.eyesCheckWindow(`${view} view - Number line Vertical: Preview contents`);
|
101
92
|
});
|
102
93
|
|
103
94
|
it('Accessibility of preview content', { tags: 'a11y' }, () => {
|
@@ -12,14 +12,6 @@ describe('Create Item page - Number line label: All or nothing ', () => {
|
|
12
12
|
cy.loginAs('admin');
|
13
13
|
});
|
14
14
|
|
15
|
-
beforeEach(() => {
|
16
|
-
cy.startApplitools();
|
17
|
-
});
|
18
|
-
|
19
|
-
afterEach(() => {
|
20
|
-
cy.eyesClose();
|
21
|
-
});
|
22
|
-
|
23
15
|
if (!grepTags || !grepTags.includes('smoke')) {
|
24
16
|
describe('Question preview modes: Student view and Grading view', () => {
|
25
17
|
abortEarlySetup();
|
@@ -236,7 +228,6 @@ describe('Create Item page - Number line label: All or nothing ', () => {
|
|
236
228
|
numberLineLabelPage.steps.verifyCorrectResponseOnNumberLinePreviewTab('Label 1', range, 0);
|
237
229
|
numberLineLabelPage.steps.verifyCorrectIncorrectAnswerLabel('correct');
|
238
230
|
numberLineLabelPage.steps.verifyCorrectAnswerSectionNotExist();
|
239
|
-
cy.eyesCheckWindow(`Number line horizontal - ${view} - Attempting the question correctly`);
|
240
231
|
});
|
241
232
|
});
|
242
233
|
});
|
@@ -11,14 +11,6 @@ describe('Preview tab contents for all views', () => {
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
beforeEach(() => {
|
15
|
-
cy.startApplitools();
|
16
|
-
});
|
17
|
-
|
18
|
-
afterEach(() => {
|
19
|
-
cy.eyesClose();
|
20
|
-
});
|
21
|
-
|
22
14
|
views.forEach((view) => {
|
23
15
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
24
16
|
abortEarlySetup();
|
@@ -73,7 +65,6 @@ describe('Preview tab contents for all views', () => {
|
|
73
65
|
protractorPage.steps.verifyPreviewTabColorAndOpacityOfProtractor(3, 0.3);
|
74
66
|
protractorPage.steps.verifyAlternativeTextInPreviewTab('Measuring tool');
|
75
67
|
protractorPage.steps.verifyRotationButtonVisibleInPreviewTab();
|
76
|
-
cy.eyesCheckWindow(`${view} - Protractor visibility`);
|
77
68
|
});
|
78
69
|
});
|
79
70
|
});
|
@@ -11,14 +11,6 @@ describe('Preview tab contents for all views', () => {
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
beforeEach(() => {
|
15
|
-
cy.startApplitools();
|
16
|
-
});
|
17
|
-
|
18
|
-
afterEach(() => {
|
19
|
-
cy.eyesClose();
|
20
|
-
});
|
21
|
-
|
22
14
|
views.forEach((view) => {
|
23
15
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
24
16
|
abortEarlySetup();
|
@@ -71,7 +63,6 @@ describe('Preview tab contents for all views', () => {
|
|
71
63
|
readingRulerPage.steps.verifyReadingRulerOpacityInPreviewTab('0.3');
|
72
64
|
readingRulerPage.steps.verifyReadingRulerColorInPreviewTab(2);
|
73
65
|
readingRulerPage.steps.verifySizeOfReadingRulerInPreviewTab('Line focus', 5);
|
74
|
-
cy.eyesCheckWindow(`${view} - Reading ruler visibility`);
|
75
66
|
});
|
76
67
|
});
|
77
68
|
});
|
@@ -11,14 +11,6 @@ describe('Preview tab contents for all views', () => {
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
beforeEach(() => {
|
15
|
-
cy.startApplitools();
|
16
|
-
});
|
17
|
-
|
18
|
-
afterEach(() => {
|
19
|
-
cy.eyesClose();
|
20
|
-
});
|
21
|
-
|
22
14
|
views.forEach((view) => {
|
23
15
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
24
16
|
abortEarlySetup();
|
@@ -72,7 +64,6 @@ describe('Preview tab contents for all views', () => {
|
|
72
64
|
rulerPage.steps.verifyRotationButtonVisibleInPreviewTab();
|
73
65
|
rulerPage.steps.verifyColorOfRulerInPreview(3);
|
74
66
|
rulerPage.steps.verifyRulerOpacityInPreview('0.5');
|
75
|
-
cy.eyesCheckWindow(`${view} - Ruler visibility`);
|
76
67
|
});
|
77
68
|
});
|
78
69
|
});
|
@@ -11,14 +11,6 @@ describe('Create item page - Short text response : Preview contents', () => {
|
|
11
11
|
cy.loginAs('admin');
|
12
12
|
});
|
13
13
|
|
14
|
-
beforeEach(() => {
|
15
|
-
cy.startApplitools();
|
16
|
-
});
|
17
|
-
|
18
|
-
afterEach(() => {
|
19
|
-
cy.eyesClose();
|
20
|
-
});
|
21
|
-
|
22
14
|
views.forEach((view) => {
|
23
15
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
24
16
|
abortEarlySetup();
|
@@ -65,10 +57,9 @@ describe('Create item page - Short text response : Preview contents', () => {
|
|
65
57
|
}
|
66
58
|
});
|
67
59
|
|
68
|
-
it(
|
60
|
+
it(`Question instructions should be visible`, () => {
|
69
61
|
utilities.verifyInnerText(shortTextResponsePage.questionInstructionsText(), 'Which of the following is the major contributor to increased carbon dioxide levels because of urbanization? Select your answer from the options below.');
|
70
62
|
utilities.verifyElementVisibilityState(shortTextResponsePage.questionInstructionsText(), 'visible');
|
71
|
-
cy.eyesCheckWindow(`Short text response - ${view} - Answer input field visible and empty`);
|
72
63
|
});
|
73
64
|
|
74
65
|
if (view !== 'Grading view' && view !== 'Correct answer view') {
|
@@ -12,14 +12,6 @@ describe('Preview tab contents for all views for Simple calculator', () => {
|
|
12
12
|
cy.loginAs('admin');
|
13
13
|
});
|
14
14
|
|
15
|
-
beforeEach(() => {
|
16
|
-
cy.startApplitools();
|
17
|
-
});
|
18
|
-
|
19
|
-
afterEach(() => {
|
20
|
-
cy.eyesClose();
|
21
|
-
});
|
22
|
-
|
23
15
|
views.forEach((view) => {
|
24
16
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
25
17
|
abortEarlySetup();
|
@@ -99,7 +91,6 @@ describe('Preview tab contents for all views for Simple calculator', () => {
|
|
99
91
|
simpleCalculatorPage.steps.clickOnACalculatorButton('equal to');
|
100
92
|
simpleCalculatorPage.steps.verifyCalculatorDisplayInputEquationValue('1+2 =');
|
101
93
|
simpleCalculatorPage.steps.verifyCalculatorDisplayResultValue('3');
|
102
|
-
cy.eyesCheckWindow(`${view} - Compass visibility`);
|
103
94
|
});
|
104
95
|
|
105
96
|
it('CSS of preview contents', { tags: 'css' }, () => {
|
package/cypress/e2e/ILC/TextSelection/ScoringGeneric/basicScoringForAllTextSelectionTypes.smoke.js
CHANGED
@@ -250,14 +250,6 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
|
|
250
250
|
textSelectionPage.steps.switchToPreviewTab();
|
251
251
|
});
|
252
252
|
|
253
|
-
beforeEach(() => {
|
254
|
-
cy.startApplitools();
|
255
|
-
});
|
256
|
-
|
257
|
-
afterEach(() => {
|
258
|
-
cy.eyesClose();
|
259
|
-
});
|
260
|
-
|
261
253
|
it('Text selection: When the user selects \'Grading\' view without attempting the question, then correct/incorrect answer should not be displayed in the preview tab and correct answer section should be displayed with correct answers', () => {
|
262
254
|
textSelectionPage.steps.verifyPreviewScore(0, 20);
|
263
255
|
textSelectionPage.steps.switchToGradingView();
|
@@ -322,7 +314,6 @@ describe('Create Item page - Text selection - Basic scoring for all text selecti
|
|
322
314
|
textSelectionPage.steps.selectOptionInPreviewTab(sentenceTextArray[1]);
|
323
315
|
textSelectionPage.steps.verifyPreviewScore(20, 20);
|
324
316
|
textSelectionPage.steps.switchToGradingView();
|
325
|
-
cy.eyesCheckWindow('Text selection: Grading view - correct attempt');
|
326
317
|
textSelectionPage.steps.verifyCorrectIconForOption(sentenceTextArray[0]);
|
327
318
|
textSelectionPage.steps.verifyCorrectIconForOption(sentenceTextArray[1]);
|
328
319
|
textSelectionPage.steps.verifyOptionIsNotSelectedInPreviewTab(sentenceTextArray[2]);
|
@@ -12,14 +12,6 @@ describe('Preview tab contents for all views', () => {
|
|
12
12
|
cy.loginAs('admin');
|
13
13
|
});
|
14
14
|
|
15
|
-
beforeEach(() => {
|
16
|
-
cy.startApplitools();
|
17
|
-
});
|
18
|
-
|
19
|
-
afterEach(() => {
|
20
|
-
cy.eyesClose();
|
21
|
-
});
|
22
|
-
|
23
15
|
//failing in student view due to https://redmine.zeuslearning.com/issues/568592
|
24
16
|
views.forEach((view) => {
|
25
17
|
describe(`Preview tab contents - ${view}`, { tags: 'smoke' }, () => {
|
@@ -80,7 +72,6 @@ describe('Preview tab contents for all views', () => {
|
|
80
72
|
utilities.verifyInnerText(audioPlayerPage.playbackTotalTime(), '00:00');
|
81
73
|
utilities.verifyElementVisibilityState(audioPlayerPage.playbackSpeedButton(), 'visible');
|
82
74
|
utilities.verifyElementVisibilityState(audioPlayerPage.addPinButton(), 'visible');
|
83
|
-
cy.eyesCheckWindow(`${view} view - Tool audio player: Backward, Play, Forward, Volume control, Elapsed time, Progress bar, Total time, Playback speed and Add pin buttons`);
|
84
75
|
});
|
85
76
|
|
86
77
|
it('When the user clicks on \'Play\' button, then the audio file should load and the user should be able to play the audio. Timer should display the amount of audio that has been played and the total audio length in (mm:ss)/(mm:ss) format.', () => {
|
@@ -15,14 +15,6 @@ describe('Tool settings content for all views', () => {
|
|
15
15
|
cy.loginAs('admin');
|
16
16
|
});
|
17
17
|
|
18
|
-
beforeEach(() => {
|
19
|
-
cy.startApplitools();
|
20
|
-
});
|
21
|
-
|
22
|
-
afterEach(() => {
|
23
|
-
cy.eyesClose();
|
24
|
-
});
|
25
|
-
|
26
18
|
views.forEach((view) => {
|
27
19
|
describe(`Preview tab contents : Single tool selected - ${view}`, { tags: 'smoke' }, () => {
|
28
20
|
abortEarlySetup();
|
@@ -188,7 +180,6 @@ describe('Tool settings content for all views', () => {
|
|
188
180
|
it(`When user has clicked visibility buttons for both the ruler and protractor tools in ${view}, both tools should be displayed simultaneously in the preview tab`, () => {
|
189
181
|
rulerPage.steps.verifyRulerVisible();
|
190
182
|
protractorPage.steps.verifyProtractorVisibleInPreviewTab();
|
191
|
-
cy.eyesCheckWindow(`${view} - Protractor and Ruler visibility`);
|
192
183
|
});
|
193
184
|
|
194
185
|
it('CSS of the \'Hide ruler\' and \'Hide protractor\' button', { tags: 'css' }, () => {
|
@@ -12,14 +12,6 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
|
|
12
12
|
cy.loginAs('admin');
|
13
13
|
});
|
14
14
|
|
15
|
-
beforeEach(() => {
|
16
|
-
cy.startApplitools();
|
17
|
-
});
|
18
|
-
|
19
|
-
afterEach(() => {
|
20
|
-
cy.eyesClose();
|
21
|
-
});
|
22
|
-
|
23
15
|
if (!grepTags || !grepTags.includes('smoke')) {
|
24
16
|
describe('Question preview modes: Student view and Grading view', () => {
|
25
17
|
abortEarlySetup();
|
@@ -361,7 +353,6 @@ describe('Create Item page - Charts - Dot: All or nothing ', () => {
|
|
361
353
|
chartsDotPlotPage.steps.verifyCorrectDotColumnPreviewTab({ point: 5, min: 1, interval: 1 });
|
362
354
|
chartsDotPlotPage.steps.verifyEmptyDotColumnPreviewTab({ point: 6, min: 1, interval: 1 });
|
363
355
|
chartsDotPlotPage.steps.verifyCorrectAnswerSectionNotExists();
|
364
|
-
cy.eyesCheckWindow(`${view} view - Charts Dot - Attempting the question correctly`);
|
365
356
|
});
|
366
357
|
|
367
358
|
});
|