itemengine-cypress-automation 1.0.585-IEI-7161-main-2b90989.0 → 1.0.585-IEI-7161-main-ba54fa6.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.
@@ -452,7 +452,6 @@ describe('Create question page - Upload Response: Question Instructions, Support
452
452
  uploadResponsePage.steps.expandLineSpacingDropdown();
453
453
  uploadResponsePage.steps.selectLineSpacingDropdownOption('Double');
454
454
  uploadResponsePage.steps.clickOnSaveQuestionButton();
455
- // uploadResponsePage.steps.clickOnConfirmButton();
456
455
  utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
457
456
  cy.wrap(itemPreviewPage.steps.getItemReferenceID()).then((referenceId) => {
458
457
  itemReferenceID = referenceId;
@@ -301,7 +301,7 @@ describe('Create question page - Upload Response: Additional Settings', () => {
301
301
  });
302
302
 
303
303
  views.forEach((view) => {
304
- describe(`${view}: Student view settings modified state`, () => {
304
+ describe.only(`${view}: Student view settings modified state`, () => {
305
305
  abortEarlySetup();
306
306
  before(() => {
307
307
  switch (view) {
@@ -346,14 +346,6 @@ describe('Create question page - Upload Response: Additional Settings', () => {
346
346
  });
347
347
  };
348
348
 
349
- if (view === 'Item preview' && view === 'Student view') {
350
- after(() => {
351
- uploadResponsePage.steps.clickOnSaveQuestionButton();
352
- utilities.verifyElementVisibilityState(itemPreviewPage.referenceID(), 'visible');
353
- itemReferenceID = itemPreviewPage.steps.getItemReferenceID();
354
- });
355
- };
356
-
357
349
  it(`When the user unchecks \'Allow student to edit file name\' checkbox, then edit icon should be not be displayed in the ${view}`, () => {
358
350
  uploadResponsePage.steps.uploadFile('uploads/highlightImage.jpg');
359
351
  utilities.verifyElementVisibilityState(uploadResponsePage.editDisplayTextIcon(), 'notExist');
@@ -131,10 +131,6 @@ describe('Create question page - Upload Response: Preview', () => {
131
131
 
132
132
  it('On \'Capture image\' popup following should be displayed - \'Capture image\' title text, Camera preview, Capture and Cancel buttons', () => {
133
133
  uploadResponsePage.steps.verifyCaptureImagePopup();
134
- utilities.verifyElementVisibilityState(uploadResponsePage.acceptButton(), 'visible');
135
- utilities.verifyElementVisibilityState(uploadResponsePage.cancelButton(), 'visible');
136
- utilities.verifyInnerText(uploadResponsePage.cancelButton(), 'Cancel');
137
- utilities.verifyInnerText(uploadResponsePage.acceptButton(), 'Capture');
138
134
  });
139
135
 
140
136
  it('CSS of \'Capture image\' popup', { tags: 'css' }, () => {
@@ -728,8 +728,8 @@ const steps = {
728
728
 
729
729
  /**
730
730
  * @description this function verifies the number of lines and their height in the print view
731
- * @param {number} expectedLines number of lines in the
732
- * @param {number} expectedLineHeight in the print view
731
+ * @param {number} expectedLines number of lines in the print view
732
+ * @param {number} expectedLineHeight height of each line in the print view
733
733
  */
734
734
  verifyNumberOfLinesInPrintView: (expectedLines, expectedLineHeight) => {
735
735
  uploadResponsePage.numberOfLinesInPrintView()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.585-IEI-7161-main-2b90989.0",
3
+ "version": "1.0.585-IEI-7161-main-ba54fa6.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {