itemengine-cypress-automation 1.0.537-IEI-6990-30f226a.0 → 1.0.538

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -109,7 +109,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
109
109
 
110
110
  it('When the user hovers on \'Pause recording\' button, \'Pause recording\' text should be displayed in tooltip', () => {
111
111
  audioResponsePage.barPreviewPauseRecordingButton()
112
- .verifyTooltip('Pause recording');
112
+ .verifyTooltipUsingRealHover('Pause recording');
113
113
  });
114
114
 
115
115
  it('When recording is inprogress and the user clicks on \'Pause recording\' icon, recording should pause and the help text should update to \'Recording paused\'. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs / min:sec)\'. \'Pause recording\' button should get replaced with \'Resume recording\' button. \'Stop recording\' button should be displayed beside resume recording icon', () => {
@@ -128,7 +128,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
128
128
 
129
129
  it('When the user hovers over the \'Resume\' button, a tooltip \'Resume recording\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
130
130
  audioResponsePage.barPreviewResumeRecordingButton()
131
- .verifyTooltip('Resume recording');
131
+ .verifyTooltipUsingRealHover('Resume recording');
132
132
  });
133
133
 
134
134
  it('CSS of \'Preview\' section if recording is paused', { tags: 'css' }, () => {
@@ -181,7 +181,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
181
181
 
182
182
  it('When the user hovers on \'Stop recording\' button, \'Stop recording\' text should be displayed in tooltip', () => {
183
183
  audioResponsePage.barPreviewStopRecordingButton()
184
- .verifyTooltip('Stop recording');
184
+ .verifyTooltipUsingRealHover('Stop recording');
185
185
  });
186
186
 
187
187
  it('When the recording is in-progress and the user clicks on \'Stop recording\' icon, recording should stop, recorded audio response should be saved. Retake recording button, Play recording button should be displayed. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs)\'.', () => {
@@ -320,7 +320,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
320
320
 
321
321
  it('When the user hovers over the \'Play\' button, a tooltip \'Play\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
322
322
  audioResponsePage.playbackPlayButton()
323
- .verifyTooltip('Play');
323
+ .verifyTooltipUsingRealHover('Play');
324
324
  });
325
325
 
326
326
  it('When the user clicks on \'Play\' button, then the audio should start playing. Timer should display the amount of audio that has been played and the total audio length in (mm:ss)/(mm:ss) format.', () => {
@@ -331,7 +331,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
331
331
 
332
332
  it('When the user hovers over the \'Pause\' button, a tooltip \'Pause\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
333
333
  audioResponsePage.playbackPauseButton()
334
- .verifyTooltip('Pause');
334
+ .verifyTooltipUsingRealHover('Pause');
335
335
  });
336
336
 
337
337
  it('CSS of \'Preview\' section if playback is initiated', { tags: 'css' }, () => {
@@ -402,7 +402,7 @@ describe('Preview of Audio response for bar audio recorder style', () => {
402
402
  audioResponsePage.steps.verifyProgressBarSliderPosition(99);
403
403
  });
404
404
 
405
- it('CSS of progress bar in hover state', { tags: 'css' }, () => {
405
+ it.skip('CSS of progress bar in hover state', { tags: 'css' }, () => {
406
406
  audioResponsePage.steps.hoverOnProgressBarSlider();
407
407
  utilities.verifyCSS(audioResponsePage.progressBarSlider().parents('span[class*="MuiSlider-thumb"]'), {
408
408
  'box-shadow': `${css.color.progressBarSliderHoverBackground} 0px 0px 0px 8px`
@@ -126,7 +126,7 @@ describe('Preview of Audio response for standard audio recorder style', () => {
126
126
 
127
127
  it('When the user hovers on \'Pause recording\' button, \'Pause recording\' text should be displayed in tooltip', () => {
128
128
  audioResponsePage.standardPreviewPauseRecordingButton()
129
- .verifyTooltip('Pause recording');
129
+ .verifyTooltipUsingRealHover('Pause recording');
130
130
  });
131
131
 
132
132
  it('When recording is inprogress and the user clicks on \'Pause recording\' icon, recording should pause and the help text should update to \'Recording paused\'. The mic icon\'s glow animation should disappear and the volume meter should drop to \'0dB\'. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs / min:sec)\'. \'Pause recording\' button should get replaced with \'Resume recording\' button. \'Stop recording\' button should be displayed beside resume recording icon', () => {
@@ -148,7 +148,7 @@ describe('Preview of Audio response for standard audio recorder style', () => {
148
148
 
149
149
  it('When the user hovers over the \'Resume\' button, a tooltip \'Resume recording\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
150
150
  audioResponsePage.standardPreviewResumeRecordingButton()
151
- .verifyTooltip('Resume recording');
151
+ .verifyTooltipUsingRealHover('Resume recording');
152
152
  });
153
153
 
154
154
  it('CSS of \'Preview\' section if recording is paused', { tags: 'css' }, () => {
@@ -204,7 +204,7 @@ describe('Preview of Audio response for standard audio recorder style', () => {
204
204
 
205
205
  it('When the user hovers on \'Stop recording\' button, \'Stop recording\' text should be displayed in tooltip', () => {
206
206
  audioResponsePage.standardPreviewStopRecordingButton()
207
- .verifyTooltip('Stop recording');
207
+ .verifyTooltipUsingRealHover('Stop recording');
208
208
  });
209
209
 
210
210
  it('When the recording is in-progress and the user clicks on \'Stop recording\' icon, recording should stop, recorded audio response should be saved and \'Your response has been recorded.\' help text message, retake recording button, Play recording button should be displayed. User should be able to view the duration of their recorded speech in minutes, displayed as \'(min:secs)\'. Volume meter should be displayed', () => {
@@ -354,7 +354,7 @@ describe('Preview of Audio response for standard audio recorder style', () => {
354
354
 
355
355
  it('When the user hovers over the \'Play\' button, a tooltip \'Play\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
356
356
  audioResponsePage.playbackPlayButton()
357
- .verifyTooltip('Play');
357
+ .verifyTooltipUsingRealHover('Play');
358
358
  });
359
359
 
360
360
  it('When the user clicks on \'Play\' button, then the audio should start playing. Timer should display the amount of audio that has been played and the total audio length in (mm:ss)/(mm:ss) format.', () => {
@@ -365,7 +365,7 @@ describe('Preview of Audio response for standard audio recorder style', () => {
365
365
 
366
366
  it('When the user hovers over the \'Pause\' button, a tooltip \'Pause\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
367
367
  audioResponsePage.playbackPauseButton()
368
- .verifyTooltip('Pause');
368
+ .verifyTooltipUsingRealHover('Pause');
369
369
  });
370
370
 
371
371
  it('CSS of \'Preview\' section if playback is initiated', { tags: 'css' }, () => {
@@ -128,7 +128,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
128
128
  utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 2);
129
129
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
130
130
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
131
- utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
131
+ utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
132
132
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
133
133
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
134
134
 
@@ -199,9 +199,9 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
199
199
  //Preview tab
200
200
  utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
201
201
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
202
- utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
202
+ utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
203
203
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
204
- utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 1);
204
+ utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 2);
205
205
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
206
206
 
207
207
  //Correct answer section
@@ -241,7 +241,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
241
241
  //Preview tab
242
242
  utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
243
243
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
244
- utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
244
+ utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
245
245
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
246
246
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
247
247
  utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
@@ -128,7 +128,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
128
128
  utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 2);
129
129
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
130
130
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
131
- utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
131
+ utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
132
132
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
133
133
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
134
134
 
@@ -200,9 +200,9 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
200
200
  //Preview tab
201
201
  utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
202
202
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
203
- utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
203
+ utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
204
204
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
205
- utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 1);
205
+ utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 2);
206
206
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
207
207
 
208
208
  //Correct answer section
@@ -243,7 +243,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
243
243
  //Preview tab
244
244
  utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
245
245
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
246
- utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
246
+ utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
247
247
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
248
248
  graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
249
249
  utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
@@ -154,7 +154,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
154
154
  utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 2);
155
155
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
156
156
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 0, xRange: 20, y: 1, yRange: 20 }, { x: 0, xRange: 20, y: 2, yRange: 20 }]);
157
- utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
157
+ utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
158
158
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
159
159
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
160
160
 
@@ -226,9 +226,9 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
226
226
  //Preview tab
227
227
  utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
228
228
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
229
- utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
229
+ utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
230
230
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
231
- utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 1);
231
+ utilities.verifyElementCount(graphingPage.graphLineSegmentsPreviewTab(), 2);
232
232
  graphingPage.steps.verifyCorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
233
233
 
234
234
  //Correct answer section
@@ -269,7 +269,7 @@ describe('Create Item page - Graphing: All or nothing with alternative answer',
269
269
  //Preview tab
270
270
  utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
271
271
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
272
- utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
272
+ utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
273
273
  graphingPage.steps.verifyPointsPlottedOnPreviewTab([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
274
274
  graphingPage.steps.verifyIncorrectPointsPlottedOnGraphPreviewTab([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
275
275
  utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
@@ -136,7 +136,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
136
136
  //Correct answer section
137
137
  utilities.verifyElementCount(graphingPage.graphCircleCorrectAnswerSection(), 1);
138
138
  graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
139
- utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(), 6);
139
+ utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(), 2);
140
140
  graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
141
141
  utilities.verifyElementCount(graphingPage.graphPolygonCorrectAnswerSection(), 1);
142
142
 
@@ -173,7 +173,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
173
173
  //Correct answer section
174
174
  utilities.verifyElementCount(graphingPage.graphCircleCorrectAnswerSection(), 1);
175
175
  graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
176
- utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(), 6);
176
+ utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(), 2);
177
177
  graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
178
178
  graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
179
179
  utilities.verifyElementCount(graphingPage.graphPolygonCorrectAnswerSection(), 1);
@@ -212,7 +212,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
212
212
  //Correct answer section
213
213
  utilities.verifyElementCount(graphingPage.graphCircleCorrectAnswerSection(), 1);
214
214
  graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
215
- utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(), 6);
215
+ utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(), 2);
216
216
  graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
217
217
  graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
218
218
  utilities.verifyElementCount(graphingPage.graphPolygonCorrectAnswerSection(), 1);
@@ -241,7 +241,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
241
241
  graphingPage.steps.verifyPreviewScore(0, 20);
242
242
  graphingPage.steps.switchToGradingView();
243
243
  utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
244
- utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 8);
244
+ utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 1);
245
245
  utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 2);
246
246
  }
247
247
  //Preview tab
@@ -255,7 +255,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
255
255
  //Correct answer section
256
256
  utilities.verifyElementCount(graphingPage.graphCircleCorrectAnswerSection(), 1);
257
257
  graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 0, xRange: 20, y: 0, yRange: 20 }, { x: 0, xRange: 20, y: 5, yRange: 20 }]);
258
- utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(), 6);
258
+ utilities.verifyElementCount(graphingPage.graphLineCorrectAnswerSection(), 2);
259
259
  graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 2, xRange: 20, y: 1, yRange: 20 }, { x: 2, xRange: 20, y: -5, yRange: 20 }]);
260
260
  graphingPage.steps.verifyPointsPlottedOnCorrectAnswerSection([{ x: 6, xRange: 20, y: 0, yRange: 20 }, { x: 6, xRange: 20, y: 5, yRange: 20 }]);
261
261
  utilities.verifyElementCount(graphingPage.graphPolygonCorrectAnswerSection(), 1);
@@ -285,7 +285,7 @@ describe('Create Item page - Graphing: All or nothing ', () => {
285
285
  graphingPage.steps.verifyPreviewScore(20, 20);
286
286
  graphingPage.steps.switchToGradingView();
287
287
  utilities.verifyElementCount(graphingPage.graphCirclePreviewTab(), 1);
288
- utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 6);
288
+ utilities.verifyElementCount(graphingPage.graphLinePreviewTab(), 2);
289
289
  utilities.verifyElementCount(graphingPage.graphPolygonPreviewTab(), 1);
290
290
  }
291
291
  //Preview tab
@@ -41,12 +41,12 @@ describe('Create item page - Video response: Preview tab - Standard recorder sty
41
41
 
42
42
  it('When the user hovers over the \'Pause\' button, a tooltip \'Pause recording\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
43
43
  videoResponsePage.pauseButton()
44
- .verifyTooltip('Pause recording');
44
+ .verifyTooltipUsingRealHover('Pause recording');
45
45
  });
46
46
 
47
47
  it('When the user hovers over the \'Stop\' button, a tooltip \'Stop recording\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
48
48
  videoResponsePage.stopButton()
49
- .verifyTooltip('Stop recording');
49
+ .verifyTooltipUsingRealHover('Stop recording');
50
50
  });
51
51
 
52
52
  it('CSS of \'Preview\' section once recording starts', { tags: 'css' }, () => {
@@ -59,7 +59,7 @@ describe('Create item page - Video response: Preview tab - Standard recorder sty
59
59
  utilities.verifyCSS(videoResponsePage.recordingTimer(), {
60
60
  'color': css.color.defaultBackground,
61
61
  'font-size': css.fontSize.small,
62
- 'font-weight': css.fontWeight.regular,
62
+ 'font-weight': css.fontWeight.semibold,
63
63
  });
64
64
  utilities.verifyCSS(videoResponsePage.recordingStatusIcon().find('g'), {
65
65
  'fill': css.color.recordingIcon,
@@ -102,7 +102,7 @@ describe('Create item page - Video response: Preview tab - Standard recorder sty
102
102
 
103
103
  it('When the user hovers over the \'Resume\' button, a tooltip \'Resume recording\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
104
104
  videoResponsePage.resumeButton()
105
- .verifyTooltip('Resume recording');
105
+ .verifyTooltipUsingRealHover('Resume recording');
106
106
  });
107
107
 
108
108
  it('CSS of \'Preview\' section if recording is paused', { tags: 'css' }, () => {
@@ -204,7 +204,7 @@ describe('Create item page - Video response: Preview tab - Standard recorder sty
204
204
  //Cannot cover full screen functionality cases in cypress, added in manual sheet
205
205
  it('When the user hovers over the full screen button, a tooltip \'Full screen\' should be displayed', () => {
206
206
  videoResponsePage.fullScreenButton()
207
- .verifyTooltip('Full screen');
207
+ .verifyTooltipUsingRealHover('Full screen');
208
208
  });
209
209
  });
210
210
 
@@ -220,7 +220,7 @@ describe('Create item page - Video response: Preview tab - Standard recorder sty
220
220
 
221
221
  it('When the user hovers over the \'Play\' button, a tooltip \'Play\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
222
222
  videoResponsePage.playbackPlayButton()
223
- .verifyTooltip('Play');
223
+ .verifyTooltipUsingRealHover('Play');
224
224
  });
225
225
 
226
226
  it('When the user clicks on \'Play\' button, then user should be able to playback the recording. Timer should display the amount of video that has been played and the total recording length in (mm:ss)/(mm:ss) format. \'Your response has been recorded\' message should be displayed below video player', () => {
@@ -232,7 +232,7 @@ describe('Create item page - Video response: Preview tab - Standard recorder sty
232
232
 
233
233
  it('When the user hovers over the \'Pause\' button, a tooltip \'Pause\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
234
234
  videoResponsePage.playbackPauseButton()
235
- .verifyTooltip('Pause');
235
+ .verifyTooltipUsingRealHover('Pause');
236
236
  });
237
237
 
238
238
  it('CSS of \'Preview\' section if playback is initiated', { tags: 'css' }, () => {
@@ -251,7 +251,7 @@ describe('Create item page - Video response: Preview tab - Standard recorder sty
251
251
  utilities.verifyCSS(videoResponsePage.playerTimer(), {
252
252
  'color': css.color.whiteText,
253
253
  'font-size': css.fontSize.small,
254
- 'font-weight': css.fontWeight.regular,
254
+ 'font-weight': css.fontWeight.semibold,
255
255
  });
256
256
  utilities.verifyCSS(videoResponsePage.progressBar().find('.MuiSlider-rail'), {
257
257
  'background-color': css.color.defaultBackground,
@@ -440,7 +440,7 @@ describe('Create item page - Video response: Preview tab - Standard recorder sty
440
440
 
441
441
  it('When the user hovers overs the playback button, a tooltip \'Playback speed\' should be displayed and on hovering away from the button, the tooltip should disappear', () => {
442
442
  videoResponsePage.playbackSpeedButton()
443
- .verifyTooltip('Playback speed');
443
+ .verifyTooltipUsingRealHover('Playback speed');
444
444
  });
445
445
 
446
446
  it('When the user hovers overs the playback button, a list of 4 playback speed options - 1x, 1.25x, 1.5x, 2x should be displayed and by default 1x should be in selected state', () => {
@@ -498,7 +498,7 @@ describe('Create item page - Video response: Preview tab - Standard recorder sty
498
498
 
499
499
  it('When the user hovers over the \'Retake recording\' button, a tooltip \'Retake recording\' should be displayed and on moving away the focus, the tooltip should disappear', () => {
500
500
  videoResponsePage.retakeRecordingButton()
501
- .verifyTooltip('Retake recording');
501
+ .verifyTooltipUsingRealHover('Retake recording');
502
502
  });
503
503
 
504
504
  it('When the user clicks on \'Retake recording\' button, \'Retake recording\' popup should be displayed along with \'Are you sure you want to overwrite the existing audio recording?\' message', () => {
@@ -95,8 +95,7 @@ const steps = {
95
95
  },
96
96
 
97
97
  focusOutFromVolumeControlButton: () => {
98
- playbackControlsBaseComponent.volumeControlButton()
99
- .blur();
98
+ cy.get('body').realHover();
100
99
  },
101
100
 
102
101
  seekProgressBarSliderToCenter: () => {
@@ -315,7 +314,7 @@ const tests = {
315
314
  });
316
315
  utilities.verifyCSS(playbackControlsBaseComponent.playbackSpeedOption().last(), {
317
316
  'color': css.color.liText,
318
- 'background-color': css.color.transparent,
317
+ 'background-color': css.color.primaryBtn,
319
318
  'font-size': css.fontSize.small
320
319
  });
321
320
  });
@@ -119,7 +119,7 @@ const selectors = {
119
119
  xAxisLabelGraphPreviewTab: () => cy.get('[class*="GraphingQuestion"] .graph-footer .question-text-wrapper').eq(1),
120
120
  xAxisGraphPreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg line[stroke-linecap="butt"]').eq(0),
121
121
  yAxisGraphPreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg line[stroke-linecap="butt"]').eq(1),
122
- graphLinePreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(0).find('line[tabindex="0"]'),
122
+ graphLinePreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(0).find('line[tabindex="0"][stroke-width="2px"]'),
123
123
  graphLineSegmentsPreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(0).find('line[tabindex="0"]'),
124
124
  graphCirclePreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(0).find('ellipse[fill-opacity="0"]'),
125
125
  graphPolygonPreviewTab: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg').eq(0).find('polygon'),
@@ -236,7 +236,7 @@ const selectors = {
236
236
  correctAnswerLabel: () => cy.get('[class*="AnswerLabel"]'),
237
237
  graphCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox svg'),
238
238
  graphCircleCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox').eq(1).find('ellipse[fill-opacity="0"]'),
239
- graphLineCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox').eq(1).find('line[tabindex="0"]'),
239
+ graphLineCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox').eq(1).find('line[tabindex="0"][stroke-width="2px"]'),
240
240
  graphPolygonCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox').eq(1).find('polygon'),
241
241
  graphSineWaveCorrectAnswerSection: () => cy.get('[class*="GraphingQuestion"] .ngie-jxgbox').eq(1).find('[pointer-events="visiblePainted"][tabindex="0"][fill-rule="evenodd"]'),
242
242
  correctIncorrectStatusMessageText: () => cy.get('[class*="Graphingstyles__CorrectIncorrectWrapper"]'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.537-IEI-6990-30f226a.0",
3
+ "version": "1.0.538",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {