itemengine-cypress-automation 1.0.535 → 1.0.536-CypressFixes1410-2f9885f.0

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,12 +402,12 @@ 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' }, () => {
406
- audioResponsePage.steps.hoverOnProgressBarSlider();
407
- utilities.verifyCSS(audioResponsePage.progressBarSlider().parents('span[class*="MuiSlider-thumb"]'), {
408
- 'box-shadow': `${css.color.progressBarSliderHoverBackground} 0px 0px 0px 8px`
409
- });
410
- });
405
+ // it('CSS of progress bar in hover state', { tags: 'css' }, () => {
406
+ // audioResponsePage.steps.hoverOnProgressBarSlider();
407
+ // utilities.verifyCSS(audioResponsePage.progressBarSlider().parents('span[class*="MuiSlider-thumb"]'), {
408
+ // 'box-shadow': `${css.color.progressBarSliderHoverBackground} 0px 0px 0px 8px`
409
+ // });
410
+ // });
411
411
  });
412
412
 
413
413
  describe('Playback player : Volume control', () => {
@@ -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' }, () => {
@@ -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' }, () => {
@@ -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' }, () => {
@@ -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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.535",
3
+ "version": "1.0.536-CypressFixes1410-2f9885f.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {