itemengine-cypress-automation 1.0.269 → 1.0.271

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.
@@ -69,7 +69,7 @@ describe('Preview of Audio response for compact audio recorder style', () => {
69
69
  'background-color': css.color.micGlowAnimation
70
70
  });
71
71
  utilities.verifyCSS(audioResponsePage.recordingMicIcon(), {
72
- 'fill': css.color.standardMicroPhoneIcon
72
+ 'fill': css.color.microphoneIcon
73
73
  });
74
74
  utilities.verifyCSS(audioResponsePage.compactPreviewRecordingTimer(), {
75
75
  'color': css.color.liText,
@@ -203,11 +203,19 @@ describe('Create item page: Feedback scale - Preview tab contents in all views f
203
203
  'font-size': css.fontSize.default,
204
204
  'font-weight': css.fontWeight.semibold,
205
205
  });
206
- utilities.verifyCSS(feedbackScalePage.commentInputField(), {
207
- 'color': css.color.text,
208
- 'font-size': css.fontSize.default,
209
- 'font-weight': css.fontWeight.regular,
210
- });
206
+ if (view === 'Grading view') {
207
+ utilities.verifyCSS(feedbackScalePage.commentInputField(), {
208
+ 'color': css.color.blackTextBoxText,
209
+ 'font-size': css.fontSize.default,
210
+ 'font-weight': css.fontWeight.regular,
211
+ });
212
+ } else {
213
+ utilities.verifyCSS(feedbackScalePage.commentInputField(), {
214
+ 'color': css.color.text,
215
+ 'font-size': css.fontSize.default,
216
+ 'font-weight': css.fontWeight.regular,
217
+ });
218
+ }
211
219
  });
212
220
 
213
221
  //Failing due to ⁠https://weldnorthed.atlassian.net/browse/IEI-4736 ⁠
@@ -152,8 +152,8 @@ describe('Create item page - Upload response : Preview contents', () => {
152
152
  .verifyPseudoClassBeforeProperty('color', css.color.text);
153
153
  });
154
154
 
155
- //Failed due to https://redmine.zeuslearning.com/issues/562203
156
- it('Accessibility of Preview tab', { tags: 'a11y' }, () => {
155
+ //Failed due to https://weldnorthed.atlassian.net/browse/IEI-4741
156
+ it.skip('Accessibility of Preview tab', { tags: 'a11y' }, () => {
157
157
  cy.checkAccessibility(uploadResponsePage.questionWrapperPreviewTab());
158
158
  });
159
159
 
@@ -188,7 +188,8 @@ describe('Create item page: Charts - Dot - Preview contents in all views', () =>
188
188
  'font-weight': css.fontWeight.bold
189
189
  });
190
190
  utilities.verifyCSS(chartsDotPlotPage.dotColumnLockIconPreviewTab().find('[id="Lock"]'), {
191
- 'color': css.color.barLockIcon
191
+ //Failing due to https://weldnorthed.atlassian.net/browse/IEI-4751
192
+ // 'color': css.color.barLockIcon
192
193
  });
193
194
  chartsDotPlotPage.steps.selectDotColumnInPreviewTab({ point: 4, min: 1, interval: 0.25 })
194
195
  utilities.verifyCSS(chartsDotPlotPage.tooltipWrapperPreviewTab(), {
@@ -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
+ gradingResponseFieldPreviewTab: () => cy.get('.equation-input-without-andornment'),
112
113
  responseFieldPreviewTabNew: () => cy.get('.equation-input-component'),
113
114
  responseFieldWrapperPreviewTab: () => cy.get('.cloze-response-wrapper'),
114
115
  responseFieldNumerationPreviewTab: () => cy.get('.preview-question-text-wrapper .response-input-adornment'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.269",
3
+ "version": "1.0.271",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {