itemengine-cypress-automation 1.0.264 → 1.0.265

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.
Files changed (47) hide show
  1. package/cypress/e2e/ILC/AudioResponseNew/barRecorderStyle.smoke.js +1 -1
  2. package/cypress/e2e/ILC/AudioResponseNew/compactRecorderStyle.smoke.js +2 -2
  3. package/cypress/e2e/ILC/AudioResponseNew/standardRecorderStyle.smoke.js +2 -2
  4. package/cypress/e2e/ILC/ChartsBar/chartFunctionalitySpecifyCorrectAnswerSection.js +1 -0
  5. package/cypress/e2e/ILC/ChartsBar/previewContentsForAllViews.smoke.js +3 -3
  6. package/cypress/e2e/ILC/ChartsBar/specifyCorrectAnswerSection.js +1 -0
  7. package/cypress/e2e/ILC/ChartsLine/chartFunctionalitySpecifyCorrectAnswerSection.js +1 -0
  8. package/cypress/e2e/ILC/ChartsLine/previewContentsForAllViews.smoke.js +3 -3
  9. package/cypress/e2e/ILC/ChartsLine/specifyCorrectAnswerSection.js +2 -0
  10. package/cypress/e2e/ILC/DrawingResponse/drawingResponseGradingViewAndCorrectAnswerViewContents.smoke.js +1 -1
  11. package/cypress/e2e/ILC/DrawingResponse/drawingResponsePreviewTabContents.smoke.js +28 -42
  12. package/cypress/e2e/ILC/EssayResponse/createCustomCategory.smoke.js +1 -1
  13. package/cypress/e2e/ILC/EssayResponse/gradingViewAndCorrectAnswerViewContents.smoke.js +4 -4
  14. package/cypress/e2e/ILC/FeedbackScaleNew/previewContentsForAllViews.smoke.js +6 -4
  15. package/cypress/e2e/ILC/FillInTheGapsTextNew/previewContentsForAllViews.smoke.js +3 -3
  16. package/cypress/e2e/ILC/Graphing/gradingViewAndCorrectAnswerView.smoke.js +2 -2
  17. package/cypress/e2e/ILC/ImageHighlight/previewContentsForAllViews.smoke.js +2 -2
  18. package/cypress/e2e/ILC/ListOrderingDropdown/previewContentsForAllViews.smoke.js +7 -7
  19. package/cypress/e2e/ILC/ListOrderingNew/HorizontalOrientation/previewContentsForAllViews.smoke.js +2 -1
  20. package/cypress/e2e/ILC/ListOrderingNew/previewContentsForAllViews.smoke.js +13 -4
  21. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/HorizontalOrientation/previewContentsForAllViews.smoke.js +22 -16
  22. package/cypress/e2e/ILC/ListOrderingReorderAsASeperateList/previewContentsForAllViews.smoke.js +23 -17
  23. package/cypress/e2e/ILC/MultipleSelectionGridNew/previewContentsForAllViews.smoke.js +4 -3
  24. package/cypress/e2e/ILC/NumberLine/previewTabContentsForAllViews.smoke.js +2 -2
  25. package/cypress/e2e/ILC/SingleSelection/previewContents.smoke.js +18 -17
  26. package/cypress/e2e/ILC/SingleSelectionGridNew/previewContentsForAllViews.smoke.js +1 -1
  27. package/cypress/e2e/ILC/TextEntryMath/allOrNothingBasicForAllViewsFormulaTemplate.smoke.js +3 -3
  28. package/cypress/e2e/ILC/TextEntryMath/previewContentsForAllViews.smoke.js +1 -1
  29. package/cypress/e2e/ILC/TextEntryMathWithImage/previewTabContentsForAllViews.smoke.js +1 -1
  30. package/cypress/e2e/ILC/ToolAudioPlayerNew/previewContents.smoke.js +1 -1
  31. package/cypress/e2e/ILC/UploadResponse/previewContentsForAllViews.smoke.js +0 -2
  32. package/cypress/e2e/ILC/VideoResponseNew/compactRecorderStyle.smoke.js +11 -13
  33. package/cypress/e2e/ILC/VideoResponseNew/gradingViewAndCorrectAnswerViewContents.smoke.js +0 -1
  34. package/cypress/fixtures/theme/ilc.json +4 -2
  35. package/cypress/pages/chartsBarPage.js +4 -0
  36. package/cypress/pages/chartsLinePage.js +3 -4
  37. package/cypress/pages/components/autoScoredScoringPreviewTab.js +1 -1
  38. package/cypress/pages/components/equationEditorSectionCommonComponent.js +9 -9
  39. package/cypress/pages/components/essayResponseCommonComponents.js +1 -0
  40. package/cypress/pages/components/playbackControlsBaseComponent.js +1 -1
  41. package/cypress/pages/components/resetPopupComponent.js +3 -3
  42. package/cypress/pages/components/scoringSectionBaseEditTab.js +3 -2
  43. package/cypress/pages/drawingResponsePage.js +2 -1
  44. package/cypress/pages/graphingPage.js +20 -0
  45. package/cypress/pages/textEntryMathPage.js +11 -0
  46. package/cypress/pages/uploadResponsePage.js +2 -1
  47. package/package.json +2 -2
@@ -109,6 +109,7 @@ const selectors = {
109
109
  modalToggleButton: () => cy.get('[data-ngie-testid="modal-toggle-button"]'),
110
110
  //Preview tab
111
111
  responseFieldPreviewTab: () => cy.get('.preview-question-text-wrapper .equation-input-without-andornment .mq-root-block'),
112
+ responseFieldPreviewTabNew: () => cy.get('.equation-input-component'),
112
113
  responseFieldWrapperPreviewTab: () => cy.get('.cloze-response-wrapper'),
113
114
  responseFieldNumerationPreviewTab: () => cy.get('.preview-question-text-wrapper .response-input-adornment'),
114
115
  questionContainerPreviewTab: () => cy.get('[class*="ClozeWithTextPreviewstyle__QuestionPreviewWrapper"]'),
@@ -944,6 +945,16 @@ const steps = {
944
945
  .click();
945
946
  },
946
947
 
948
+ /**
949
+ *focus on the math layout input field
950
+ * @param {number} index - The index of layout accordion.
951
+ */
952
+ focusInLayoutInputFieldNew: (index) => {
953
+ textEntryMathPage.inputFieldLayoutAccordion()
954
+ .eq(index)
955
+ .click();
956
+ },
957
+
947
958
  addResponseContainer: () => {
948
959
  textEntryMathPage.addResponseContainerButton()
949
960
  .click();
@@ -218,7 +218,8 @@ const steps = {
218
218
  * Verifies the displayed uploaded file count against a specified limit.
219
219
  */
220
220
  verifyUploadedFileLimitCount: (uploadedFileCount, fileLimit) => {
221
- utilities.verifyInnerText(uploadResponsePage.uploadedFileCount(), `${uploadedFileCount}/${fileLimit} File Limit`);
221
+ utilities.verifyInnerText(uploadResponsePage.uploadedFileCount(), `Maximum number of files:\n ${fileLimit}`);
222
+ utilities.verifyElementCount(uploadResponsePage.fileName(), uploadedFileCount);
222
223
  },
223
224
 
224
225
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.264",
3
+ "version": "1.0.265",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11,7 +11,7 @@
11
11
  "local:untagged": "node scripts/local.mjs --env fileConfig=ilqa,theme=ilc,grepTags=-css+-a11y",
12
12
  "spinnaker:untagged": "node scripts/spinnaker.mjs --env theme=ilc,grepTags=-css+-a11y",
13
13
  "local:smoke": "node scripts/smokeLocal.mjs --env fileConfig=ilqa,theme=ilc,grepTags=smoke+-css+-a11y",
14
- "spinnaker:smoke": "node scripts/smoke.mjs --env theme=ilc,grepTags=smoke+-css+-a11y",
14
+ "spinnaker:smoke": "node scripts/smoke.mjs --env theme=ilc,grepTags=smoke",
15
15
  "local:migration": "node scripts/migrationLocal.mjs --env theme=ilc",
16
16
  "spinnaker:migration": "node scripts/migration.mjs --env theme=ilc",
17
17
  "cy:ildev": "cypress open --env fileConfig=ildev",