itemengine-cypress-automation 1.0.193-packageUpdated-87a683f.0 → 1.0.193-packageUpdated-b3f3d0b.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. package/cypress/e2e/ILC/ImageHighlight/allOrNothingForAllViews.smoke.js +1 -2
  2. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +2 -1
  3. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +1 -1
  4. package/cypress/e2e/ILC/NumberLine/verticalNumberLine/previewTabContentsForAllViews.smoke.js +1 -1
  5. package/cypress/e2e/ILC/TextSelection/allOrNothingScoringForAllViews.smoke.js +2 -1
  6. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +6 -7
  7. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +605 -0
  8. package/cypress/e2e/ILC/VideoResponseNew/customizePlaybackControlsCompactRecorderStyle.js +300 -0
  9. package/cypress/e2e/ILC/VideoResponseNew/{customizePlaybackControls.js → customizePlaybackControlsStandardRecorderStyle.js} +7 -4
  10. package/cypress/e2e/ILC/VideoResponseNew/editTabBasicSection.js +93 -0
  11. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +1 -1
  12. package/cypress/e2e/ILC/VideoResponseNew/previewContentsForAllViews.smoke.js +2 -2
  13. package/cypress/e2e/ILC/VideoResponseNew/standardRecorderStyle.js +4 -42
  14. package/cypress/e2e/ILC/VideoResponseNew/studentViewSettingsCompactRecorderStyle.js +268 -0
  15. package/cypress/fixtures/uploads/sampleVirus.zip +0 -0
  16. package/cypress/pages/textEntryMathPage.js +1 -1
  17. package/package.json +1 -1
  18. package/cypress/e2e/ILC/ChartsBar/allOrNothingScoringForAllViews.smoke.js +0 -366
  19. /package/cypress/e2e/ILC/VideoResponseNew/{studentViewSettings.js → studentViewSettingsStandardRecorderStyle.js} +0 -0
  20. /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosFourFunctionCalculatorEditTabBasicSection.js +0 -0
  21. /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosFourFunctionCalculatorPreviewContents.smoke.js +0 -0
  22. /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosGeometryToolEditTabBasicSection.js +0 -0
  23. /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosGeometryToolPreviewContents.smoke.js +0 -0
  24. /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosGraphingCalculatorEditTabBasicSection.js +0 -0
  25. /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosGraphingCalculatorPreviewContents.smoke.js +0 -0
  26. /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosMatrixCalculatorEditTabBasicSection.js +0 -0
  27. /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosMatrixCalculatorPreviewContents.smoke.js +0 -0
  28. /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosScientificCalculatorEditTabBasicSection.js +0 -0
  29. /package/cypress/e2e/{ILC/ThirdPartyDesmos → ThirdPartyQuestions/Desmos}/desmosScientificCalculatorPreviewContents.smoke.js +0 -0
  30. /package/cypress/e2e/{ILC/ThirdPartyDesmosGraphing → ThirdPartyQuestions/DesmosGraphing}/additionalSettings.js +0 -0
  31. /package/cypress/e2e/{ILC/ThirdPartyDesmosGraphing → ThirdPartyQuestions/DesmosGraphing}/editTabBasic.js +0 -0
  32. /package/cypress/e2e/{ILC/ThirdPartyDesmosGraphing → ThirdPartyQuestions/DesmosGraphing}/editTabScoring.js +0 -0
  33. /package/cypress/e2e/{ILC/ThirdPartyDesmosGraphing → ThirdPartyQuestions/DesmosGraphing}/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -0
  34. /package/cypress/e2e/{ILC/ThirdPartyDesmosGraphing → ThirdPartyQuestions/DesmosGraphing}/previewTabContent.smoke.js +0 -0
  35. /package/cypress/e2e/{ILC/ThirdPartyDesmosGraphing → ThirdPartyQuestions/DesmosGraphing}/studentViewSettings.js +0 -0
  36. /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/3DGraphingCalculatorEditTabBasicSection.js +0 -0
  37. /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/3DGraphingCalculatorPreviewTabContents.smoke.js +0 -0
  38. /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/casCalculatorEditTabBasicSection.js +0 -0
  39. /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/casCalculatorPreviewTabContents.smoke.js +0 -0
  40. /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/geometryCalculatorEditTabBasicSection.js +0 -0
  41. /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/geometryCalculatorPreviewTabContents.smoke.js +0 -0
  42. /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/graphingCalculatorEditTabBasicSection.js +0 -0
  43. /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/graphingCalculatorPreviewTabContents.smoke.js +0 -0
  44. /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/probablityCalculatorEditTabBasicSection.js +0 -0
  45. /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/probablityCalculatorPreviewTabContents.smoke.js +0 -0
  46. /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/scientificCalculatorEditTabBasicSection.js +0 -0
  47. /package/cypress/e2e/{ILC/ThirdPartyGeoGebra → ThirdPartyQuestions/GeoGebra}/scientificCalculatorPreviewTabContents.smoke.js +0 -0
  48. /package/cypress/e2e/{ILC/ThirdPartyGeogebraActivity → ThirdPartyQuestions/GeogebraActivity}/additionalSettings.js +0 -0
  49. /package/cypress/e2e/{ILC/ThirdPartyGeogebraActivity → ThirdPartyQuestions/GeogebraActivity}/editTabScoringSection.js +0 -0
  50. /package/cypress/e2e/{ILC/ThirdPartyGeogebraActivity → ThirdPartyQuestions/GeogebraActivity}/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -0
  51. /package/cypress/e2e/{ILC/ThirdPartyGeogebraActivity → ThirdPartyQuestions/GeogebraActivity}/headerSection.js +0 -0
  52. /package/cypress/e2e/{ILC/ThirdPartyGeogebraActivity → ThirdPartyQuestions/GeogebraActivity}/insertResourceLink.js +0 -0
  53. /package/cypress/e2e/{ILC/ThirdPartyGeogebraActivity → ThirdPartyQuestions/GeogebraActivity}/previewTabContent.smoke.js +0 -0
  54. /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
- //Remove comment once https://redmine.zeuslearning.com/issues/571606 is resolved
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.verifyCorrectHighlightRegion(1);
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.selectOptionPositionPreviewTab(0, 2);
98
+ listOrderingPage.steps.selectListOptionPositionDropdown('2');
99
99
  utilities.verifyElementVisibilityState(listOrderingPage.dropdownList(), 'notExist');
100
100
  listOrderingPage.steps.verifyAssignValueToAllDropdownAlertMessage();
101
101
  });
@@ -1,4 +1,4 @@
1
- import { itemPreviewPage, numberLinePage } from "../../../../pages";
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
- utilities.verifyInnerText(textSelectionPage.correctAnswersLabel(), 'Correct answers');
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, Google Drive or capture an image\' should be displayed', () => {
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, Google Drive or capture an image');
60
+ utilities.verifyTextContent(uploadResponsePage.fileUploadOptionsLabel(), 'or browse files on your device, or capture an image');
61
61
  });
62
-
63
- it('Computer and Google Drive icons should be displayed before link texts \'device\' and \'Google Drive\' respectively', () => {
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
- 'font-size': css.fontSize.small,
140
+ 'font-size': css.fontSize.small,
142
141
  'font-weight': css.fontWeight.light,
143
142
  'background-color': css.color.tooltipBg
144
143
  });