itemengine-cypress-automation 1.0.192-8MayFixes-959a25e.0 → 1.0.192
Sign up to get free protection for your applications and to get access to all the features.
- package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +1 -2
- package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +1 -1
- package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +2 -1
- package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +6 -7
- package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +605 -0
- package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControlsCompactRecorderStyle.js +300 -0
- package/cypress/e2e/ILC/VideoResponseNew/{customizePlaybackControls.js → customizePlaybackControlsStandardRecorderStyle.js} +7 -4
- package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +93 -0
- package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -1
- package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +2 -2
- package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +4 -42
- package/cypress/e2e/ILC/VideoResponseNew/studentViewSettingsCompactRecorderStyle.js +268 -0
- package/cypress/fixtures/uploads/sampleVirus.zip +0 -0
- package/package.json +1 -1
- /package/cypress/e2e/ILC/VideoResponseNew/{studentViewSettings.js → studentViewSettingsStandardRecorderStyle.js} +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosFourFunctionCalculatorEditTabBasicSection.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosFourFunctionCalculatorPreviewContents.smoke.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosGeometryToolEditTabBasicSection.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosGeometryToolPreviewContents.smoke.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosGraphingCalculatorEditTabBasicSection.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosGraphingCalculatorPreviewContents.smoke.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosMatrixCalculatorEditTabBasicSection.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosMatrixCalculatorPreviewContents.smoke.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosScientificCalculatorEditTabBasicSection.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosScientificCalculatorPreviewContents.smoke.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmosGraphing → ThirdPartyQuestions/DesmosGraphing}/additionalSettings.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmosGraphing → ThirdPartyQuestions/DesmosGraphing}/editTabBasic.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmosGraphing → ThirdPartyQuestions/DesmosGraphing}/editTabScoring.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmosGraphing → ThirdPartyQuestions/DesmosGraphing}/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmosGraphing → ThirdPartyQuestions/DesmosGraphing}/previewTabContent.smoke.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyDesmosGraphing → ThirdPartyQuestions/DesmosGraphing}/studentViewSettings.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/3DGraphingCalculatorEditTabBasicSection.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/3DGraphingCalculatorPreviewTabContents.smoke.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/casCalculatorEditTabBasicSection.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/casCalculatorPreviewTabContents.smoke.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/geometryCalculatorEditTabBasicSection.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/geometryCalculatorPreviewTabContents.smoke.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/graphingCalculatorEditTabBasicSection.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/graphingCalculatorPreviewTabContents.smoke.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/probablityCalculatorEditTabBasicSection.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/probablityCalculatorPreviewTabContents.smoke.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/scientificCalculatorEditTabBasicSection.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/scientificCalculatorPreviewTabContents.smoke.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeogebraActivity → ThirdPartyQuestions/GeogebraActivity}/additionalSettings.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeogebraActivity → ThirdPartyQuestions/GeogebraActivity}/editTabScoringSection.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeogebraActivity → ThirdPartyQuestions/GeogebraActivity}/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeogebraActivity → ThirdPartyQuestions/GeogebraActivity}/headerSection.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeogebraActivity → ThirdPartyQuestions/GeogebraActivity}/insertResourceLink.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeogebraActivity → ThirdPartyQuestions/GeogebraActivity}/previewTabContent.smoke.js +0 -0
- /package/cypress/e2e/{ILC/ThirdPartyGeogebraActivity → ThirdPartyQuestions/GeogebraActivity}/questionInstructions.js +0 -0
@@ -122,8 +122,7 @@ describe('Create item page - Image highlight: All or nothing ', () => {
|
|
122
122
|
imageHighlightPage.steps.verifyDefaultHighlightRegion(0);
|
123
123
|
imageHighlightPage.steps.verifyDefaultHighlightRegion(1);
|
124
124
|
imageHighlightPage.steps.verifyDefaultHighlightRegion(2);
|
125
|
-
|
126
|
-
//utilities.verifyInnerText(imageHighlightPage.correctAnswersLabel(), 'Correct answers');
|
125
|
+
utilities.verifyInnerText(imageHighlightPage.correctAnswersLabel(), 'Correct answers');
|
127
126
|
imageHighlightPage.steps.verifyCorrectAnswerContainerContents(['Option 1', 'Option 3'], [1, 2]);
|
128
127
|
});
|
129
128
|
|
@@ -120,7 +120,8 @@ describe('Create item page - Image highlight - Preview contents in all views', (
|
|
120
120
|
} else {
|
121
121
|
it('The highlight regions should be displayed with correct answers', () => {
|
122
122
|
imageHighlightPage.steps.verifyCorrectHighlightRegion(0);
|
123
|
-
imageHighlightPage.steps.
|
123
|
+
imageHighlightPage.steps.verifyDefaultHighlightRegion(1);
|
124
|
+
imageHighlightPage.steps.verifyCorrectHighlightRegion(2);
|
124
125
|
});
|
125
126
|
}
|
126
127
|
|
@@ -95,7 +95,7 @@ describe('Create item page - List ordering - Preview contents in all views', ()
|
|
95
95
|
});
|
96
96
|
|
97
97
|
it('The user should be able to select an option from the position dropdown. When the user has not set position in all dropdowns, an alert message "All options need to have a value assigned to them from the dropdown." should be displayed', () => {
|
98
|
-
listOrderingPage.steps.
|
98
|
+
listOrderingPage.steps.selectListOptionPositionDropdown('2');
|
99
99
|
utilities.verifyElementVisibilityState(listOrderingPage.dropdownList(), 'notExist');
|
100
100
|
listOrderingPage.steps.verifyAssignValueToAllDropdownAlertMessage();
|
101
101
|
});
|
package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { itemPreviewPage,
|
1
|
+
import { itemPreviewPage, numberLinePage } from "../../../../pages";
|
2
2
|
import abortEarlySetup from "../../../../support/helpers/abortEarly";
|
3
3
|
import utilities from "../../../../support/helpers/utilities";
|
4
4
|
const selectedToolOption = ['Point', 'Segment', 'Segment left/down hollow pt', 'Segment right/up hollow pt', 'Segment both hollow pts'];
|
@@ -126,7 +126,8 @@ describe('Create item page - Text selection: All or nothing ', () => {
|
|
126
126
|
};
|
127
127
|
textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[0]);
|
128
128
|
textSelectionPage.steps.verifyCorrectIncorrectIconForOptionNotExist(paragraphTextArray[1]);
|
129
|
-
|
129
|
+
//Remove comment once https://redmine.zeuslearning.com/issues/568598 is resolved
|
130
|
+
// utilities.verifyInnerText(textSelectionPage.correctAnswersLabel(), 'Correct answers');
|
130
131
|
textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[0]);
|
131
132
|
textSelectionPage.steps.verifyCorrectIconForOptionCorrectAnswerSection(paragraphTextArray[1]);
|
132
133
|
});
|
@@ -54,18 +54,17 @@ describe('Create item page - Upload response : Preview contents', () => {
|
|
54
54
|
utilities.verifyElementVisibilityState(uploadResponsePage.questionInstructionsText(), 'visible');
|
55
55
|
});
|
56
56
|
|
57
|
-
it('Upload response area should have a Cloud icon and text \'Drag & Drop files here or browse files on your device,
|
57
|
+
it('Upload response area should have a Cloud icon and text \'Drag & Drop files here \'or browse files on your device, or capture an image\' should be displayed', () => {
|
58
58
|
utilities.verifyElementVisibilityState(uploadResponsePage.uploadCloudIcon(), 'visible');
|
59
59
|
utilities.verifyInnerText(uploadResponsePage.dragAndDropFilesText(), 'Drag & Drop files here');
|
60
|
-
utilities.verifyTextContent(uploadResponsePage.fileUploadOptionsLabel(), 'or browse files on your device,
|
60
|
+
utilities.verifyTextContent(uploadResponsePage.fileUploadOptionsLabel(), 'or browse files on your device, or capture an image');
|
61
61
|
});
|
62
|
-
|
63
|
-
it('Computer
|
62
|
+
|
63
|
+
it('Computer icon should be displayed before link texts \'device\'', () => {
|
64
64
|
uploadResponsePage.deviceLink()
|
65
65
|
.verifyPseudoClassBeforeProperty('content', '""');
|
66
|
-
utilities.verifyElementVisibilityState(uploadResponsePage.googleDriveLink().find('svg'), 'visible');
|
67
66
|
});
|
68
|
-
|
67
|
+
|
69
68
|
it('\'Supported file formats\' label should be displayed along with an info icon, hovering over the Supported file formats info icon a tooltip should be displayed with list of all the selected supported file types', () => {
|
70
69
|
utilities.verifyInnerText(uploadResponsePage.supportedFileFormatLabel(), 'Supported file formats');
|
71
70
|
utilities.verifyElementVisibilityState(uploadResponsePage.supportedFileInfoIcon(), 'visible');
|
@@ -138,7 +137,7 @@ describe('Create item page - Upload response : Preview contents', () => {
|
|
138
137
|
utilities.triggerMouseover(utilities.getNthElement(uploadResponsePage.supportedFileInfoIcon(), 0));
|
139
138
|
utilities.verifyCSS(uploadResponsePage.supportedFilesTooltip(), {
|
140
139
|
'color': css.color.whiteText,
|
141
|
-
|
140
|
+
'font-size': css.fontSize.small,
|
142
141
|
'font-weight': css.fontWeight.light,
|
143
142
|
'background-color': css.color.tooltipBg
|
144
143
|
});
|