itemengine-cypress-automation 1.0.523-IEI-6903-cypress-coverage-audio-response-d50c674.0 → 1.0.523-dependabot-npm-and-yarn-multi-92087b3b2d-6f9d97f.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.
@@ -125,40 +125,7 @@ describe('Create item page - Audio response: Preview contents', () => {
|
|
125
125
|
utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
|
126
126
|
audioResponsePage.steps.verifyResponseIsRecordedHelpText();
|
127
127
|
cy.eyesCheckWindow(`${view} - Audio response - Verify recording stops and is saved when the Stop recording button is clicked`);
|
128
|
-
cy.wait(6000);
|
129
128
|
});
|
130
|
-
|
131
|
-
//RCA - https://weldnorthed.atlassian.net/browse/IEI-6892
|
132
|
-
if (view === 'Student view') {
|
133
|
-
it('When the user has already recorded a response and then reloads the page and retakes recording, the user should be able to record the audio again.', () => {
|
134
|
-
cy.reload();
|
135
|
-
utilities.verifyElementVisibilityState(audioResponsePage.standardPreviewRetakeButton(), 'visible');
|
136
|
-
utilities.verifyElementVisibilityState(audioResponsePage.playbackWaveform(), 'visible');
|
137
|
-
utilities.verifyElementVisibilityState(audioResponsePage.previewVolumeMeter(), 'visible');
|
138
|
-
utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
|
139
|
-
audioResponsePage.steps.retakeRecordingStandardPreview();
|
140
|
-
audioResponsePage.steps.confirmRetake();
|
141
|
-
utilities.verifyElementVisibilityState(audioResponsePage.recordingStatusText(), 'visible');
|
142
|
-
utilities.verifyElementVisibilityState(audioResponsePage.standardPreviewPauseRecordingButton(), 'visible');
|
143
|
-
utilities.verifyElementVisibilityState(audioResponsePage.standardPreviewStopRecordingButton(), 'visible');
|
144
|
-
audioResponsePage.steps.waitForRecordingToStartStandardPreview();
|
145
|
-
audioResponsePage.steps.verifyRecordingTimeStandardPreview('00:04', '15:00');
|
146
|
-
utilities.verifyElementVisibilityState(audioResponsePage.previewVolumeMeter(), 'visible');
|
147
|
-
});
|
148
|
-
|
149
|
-
it('When the user clicks on the stop recording button, the recording should stop and the old response should be overwritten with the new response', () => {
|
150
|
-
audioResponsePage.steps.stopRecordingStandardPreview();
|
151
|
-
utilities.verifyInnerText(audioResponsePage.savingStatusText(), 'Saving');
|
152
|
-
utilities.verifyElementVisibilityState(audioResponsePage.savingStatusText(), 'visible');
|
153
|
-
utilities.verifyElementVisibilityState(audioResponsePage.hourGlassIcon(), 'visible');
|
154
|
-
utilities.verifyElementVisibilityState(audioResponsePage.standardPreviewRetakeButton(), 'visible');
|
155
|
-
utilities.verifyElementVisibilityState(audioResponsePage.playbackWaveform(), 'visible');
|
156
|
-
utilities.verifyElementVisibilityState(audioResponsePage.previewVolumeMeter(), 'visible');
|
157
|
-
utilities.verifyElementVisibilityState(audioResponsePage.playbackProgressBar(), 'visible');
|
158
|
-
audioResponsePage.steps.verifyResponseIsRecordedHelpText();
|
159
|
-
cy.eyesCheckWindow(`${view} - Audio response - Verify recording stops and is saved when the Stop recording button is clicked`);
|
160
|
-
});
|
161
|
-
}
|
162
129
|
});
|
163
130
|
});
|
164
131
|
});
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "itemengine-cypress-automation",
|
3
|
-
"version": "1.0.523-
|
3
|
+
"version": "1.0.523-dependabot-npm-and-yarn-multi-92087b3b2d-6f9d97f.0",
|
4
4
|
"description": "",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -42,7 +42,7 @@
|
|
42
42
|
"axios": "^1.12.2",
|
43
43
|
"cy-verify-downloads": "^0.1.11",
|
44
44
|
"cy2": "^4.0.9",
|
45
|
-
"cypress": "^
|
45
|
+
"cypress": "^15.2.0",
|
46
46
|
"cypress-axe": "^1.4.0",
|
47
47
|
"cypress-file-upload": "^5.0.8",
|
48
48
|
"cypress-real-events": "^1.7.6",
|