itemengine-cypress-automation 1.0.442-IEI-6684-thinksphere-cypress-fixes-86535f5.0 → 1.0.442-reduceNumberOfRetiresInConfigFile-301122a.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.
@@ -153,7 +153,7 @@ describe('Create question page - Think Sphere: Create custom category', () => {
153
153
  it('\'Cancel\' button should be displayed. When user clicks on the \'Cancel\' button the flyout should close', () => {
154
154
  utilities.verifyInnerText(thinkSpherePage.buttonCancel(), 'Cancel');
155
155
  utilities.verifyElementVisibilityState(thinkSpherePage.buttonCancel(), 'visible');
156
- thinkSpherePage.steps.clickOnPopupCancelButton();
156
+ thinkSpherePage.steps.clickOnCancelButton();
157
157
  utilities.verifyElementVisibilityState(createCustomCategoryFlyout.dialogBox(), 'notExist');
158
158
  });
159
159
 
@@ -294,7 +294,7 @@ describe('Create question page - Think Sphere: Create custom category', () => {
294
294
  it('If all symbols are deselected from a category then the checkbox for that category should get unchecked', () => {
295
295
  const otherSymbolsArray = Object.values(Object.values(equationEditorCategoriesAndSymbols['otherSymbols'].symbols).map((icon) => icon.ariaLabel));
296
296
  cy.log('Pre step: Reopen the create custom category and select one category')
297
- thinkSpherePage.steps.clickOnPopupCancelButton();
297
+ thinkSpherePage.steps.clickOnCancelButton();
298
298
  createCustomCategoryFlyout.steps.openCreateCustomCategoryFlyout();
299
299
  createCustomCategoryFlyout.steps.checkCategoryAccordionCheckbox('Other Symbols');
300
300
  createCustomCategoryFlyout.steps.expandCategoryAccordion('Other Symbols');
@@ -312,22 +312,12 @@ const steps = {
312
312
  cy.interceptGraphql('getItems');
313
313
  },
314
314
 
315
- clickOnItemReferenceId: (itemTitle) => {
316
- if (itemTitle) {
317
- cy.get('[class*="ItemTitleCellstyles__ItemTitleWrapper"]')
318
- .contains(itemTitle)
319
- .closest('tr')
320
- .within(() => {
321
- browseItemsPage.itemCellItemTitle().click();
322
- });
323
- } else {
324
- browseItemsPage.tableRow(0)
325
- .within(() => {
326
- browseItemsPage.itemCellItemTitle()
327
- .click();
315
+ clickOnItemReferenceId: () => {
316
+ browseItemsPage.tableRow(0)
317
+ .within(() => {
318
+ browseItemsPage.itemCellItemTitle()
319
+ .click();
328
320
  });
329
- }
330
-
331
321
  cy.interceptGraphql('getItemPreview');
332
322
  },
333
323
 
@@ -112,7 +112,6 @@ const selectors = {
112
112
  firstAvailableItemLink: () => utilities.getNthElement(cy.get('.browse-item-styled-link'), 0),
113
113
  saveButton: () => cy.get('.ngie-btn-typography').contains('save', { matchCase: false }),
114
114
  cancelButton: () => cy.get('.ngie-btn-typography').contains('cancel', { matchCase: false }),
115
- popupCancelButton: () => cy.get('.ngie.ngie-popover-container .ngie-btn-typography').contains('cancel', { matchCase: false }),
116
115
  AddCheckMathQuestionHeader: () => cy.get('.browse-title-wrapper').contains(`Add 'Check your math' question`),
117
116
  singleOptionTextFieldWrapper: () => cy.get('[class*="SingleOptionstyle__TextFieldWrapper"]'),
118
117
  customizeStampComponent: () => cy.get('[class*="CustomizeStampstyles__CustomizeStampWrapper"]'),
@@ -330,7 +329,7 @@ const steps = {
330
329
  },
331
330
 
332
331
  clickOnEditThinkSphereItem: () => {
333
- browseItemsPage.steps.clickOnItemReferenceId();
332
+ browseItemsPage.steps.clickOnItemReferenceId('~zzz item name');
334
333
  utilities.getNthElement(thinkSpherePage.editQuestionPencil(), 0)
335
334
  .click();
336
335
  cy.barsPreLoaderWait();
@@ -356,15 +355,11 @@ const steps = {
356
355
  },
357
356
 
358
357
  clickOnCancelButton: () => {
358
+ cy.interceptGraphql('setItem');
359
359
  thinkSpherePage.cancelButton()
360
360
  .click();
361
361
  },
362
362
 
363
- clickOnPopupCancelButton: () => {
364
- thinkSpherePage.popupCancelButton()
365
- .click();
366
- },
367
-
368
363
  clickOnSwapButton: () => {
369
364
  thinkSpherePage.ThinkSphereMathQuestionHeaderSwapIcon()
370
365
  .click();
@@ -806,7 +801,7 @@ const steps = {
806
801
 
807
802
  expandChooseStarterDropdown: () => {
808
803
  thinkSpherePage.chooseStarterDropdown()
809
- .click({ force: true });
804
+ .click({force: true});
810
805
  },
811
806
 
812
807
  verifyOptionAlignmentIsSelected: (direction) => {
@@ -2630,8 +2625,6 @@ const tests = {
2630
2625
  .click({ force: true }) // force in case some are behind overlays
2631
2626
  cy.wait(1000);
2632
2627
  }
2633
- thinkSpherePage.steps.clickOnReviewTab();
2634
- thinkSpherePage.steps.clickOnSolveTab();
2635
2628
  });
2636
2629
  });
2637
2630
  },
@@ -2793,11 +2786,9 @@ const tests = {
2793
2786
  'padding': '0px',
2794
2787
  'margin': '0px 0px 24px'
2795
2788
  });
2796
- thinkSpherePage.yourPlanCloseButton().click();
2797
2789
  });
2798
2790
 
2799
2791
  it('Accessibility of Your Plan section', { tags: 'a11y' }, () => {
2800
- thinkSpherePage.steps.clickOnYourPlanButton();
2801
2792
  cy.checkAccessibility(thinkSpherePage.yourPlanContainer());
2802
2793
  thinkSpherePage.yourPlanCloseButton().click();
2803
2794
  });
@@ -2891,10 +2882,11 @@ const tests = {
2891
2882
 
2892
2883
  it('Accessibility of whiteboard warning popup', { tags: 'a11y' }, () => {
2893
2884
  cy.checkAccessibility(thinkSpherePage.whiteboardRecordingInProgressWarning());
2885
+ thinkSpherePage.steps.clickOnWhiteBoardRecordingInProgressWarningOkButton();
2894
2886
  });
2895
-
2887
+
2888
+
2896
2889
  it('The user should be able to switch to Review tab without warning after stopping the recording and the Review tab should contain the Playback option', () => {
2897
- thinkSpherePage.steps.clickOnWhiteBoardRecordingInProgressWarningOkButton();
2898
2890
  cy.get(`[data-testid="${whiteBoardTools[0].dataTestId}"]`)
2899
2891
  .should('exist')
2900
2892
  .and('be.visible')
@@ -2917,6 +2909,7 @@ const tests = {
2917
2909
  thinkSpherePage.steps.verifyWhiteBoardPlayerPlayButtonVisible();
2918
2910
  thinkSpherePage.steps.clickOnWhiteBoardPlaybackPlayButton();
2919
2911
  thinkSpherePage.steps.verifyWhiteBoardPlayerPauseButtonVisible();
2912
+ cy.wait(6000); // Wait for the playback to start
2920
2913
  thinkSpherePage.steps.clickOnWhiteBoardPlaybackPlayButton();
2921
2914
  cy.wait(1000);
2922
2915
  thinkSpherePage.whiteboardPlaybackTime()
@@ -486,7 +486,7 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
486
486
  "show": true
487
487
  },
488
488
  "settings": {
489
- "show": true,
489
+ "show": false,
490
490
  "showPrintPreview": false,
491
491
  "showScoring": false,
492
492
  "showTags": false
@@ -523,7 +523,6 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
523
523
  "isCustomLoader": true,
524
524
  "customLoaderId": "globalLoader",
525
525
  "isThinkSphereItem": true,
526
- "isTSReviewItem": false,
527
526
  "theme": "theme1"
528
527
  },
529
528
  "user": {
@@ -570,7 +569,6 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
570
569
  "referenceId": itemName,
571
570
  "isNewVersion": false,
572
571
  "isThinkSphereItem": true,
573
- "isTSReviewItem": false,
574
572
  "metadata": [],
575
573
  "questions": [
576
574
  {
@@ -620,32 +618,24 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
620
618
  "fontSize": 1,
621
619
  "canvasControls": [
622
620
  {
623
- "label": "Select",
624
- "icon": "WhiteboardMoveControlIcon",
625
- "text": "Select",
621
+ "label": "Move",
622
+ "icon": "Bold",
623
+ "text": "Move",
626
624
  "identifier": "move",
627
625
  "value": "move",
628
626
  "selected": true
629
627
  },
630
628
  {
631
- "label": "Point eraser",
632
- "icon": "WhiteboardPointEraserControlIcon",
633
- "text": "Point eraser",
634
- "identifier": "pointEraser",
635
- "value": "pointEraser",
636
- "selected": true
637
- },
638
- {
639
- "label": "Item eraser",
640
- "icon": "WhiteboardItemEraserControlIcon",
641
- "text": "Item eraser",
642
- "identifier": "itemEraser",
643
- "value": "itemEraser",
629
+ "label": "Delete",
630
+ "icon": "Bold",
631
+ "text": "Delete",
632
+ "identifier": "delete",
633
+ "value": "delete",
644
634
  "selected": true
645
635
  },
646
636
  {
647
637
  "label": "Undo",
648
- "icon": "WhiteboardUndoControlIcon",
638
+ "icon": "Bold",
649
639
  "text": "Undo",
650
640
  "identifier": "undo",
651
641
  "value": "undo",
@@ -653,7 +643,7 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
653
643
  },
654
644
  {
655
645
  "label": "Redo",
656
- "icon": "WhiteboardRedoControlIcon",
646
+ "icon": "Bold",
657
647
  "text": "Redo",
658
648
  "identifier": "redo",
659
649
  "value": "redo",
@@ -661,7 +651,7 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
661
651
  },
662
652
  {
663
653
  "label": "Clear all",
664
- "icon": "WhiteboardClearAllControlIcon",
654
+ "icon": "Bold",
665
655
  "text": "Clear all",
666
656
  "identifier": "clearAll",
667
657
  "value": "clearAll",
@@ -671,23 +661,23 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
671
661
  "canvasTools": [
672
662
  {
673
663
  "label": "Text",
674
- "icon": "WhiteboardTextToolIcon",
664
+ "icon": "Bold",
675
665
  "text": "Text",
676
666
  "identifier": "text",
677
667
  "value": "text",
678
668
  "selected": true
679
669
  },
680
670
  {
681
- "label": "Scribble",
682
- "icon": "WhiteboardPenToolIcon",
683
- "text": "Scribble",
671
+ "label": "Pen",
672
+ "icon": "Bold",
673
+ "text": "Pen",
684
674
  "identifier": "pen",
685
675
  "value": "pen",
686
676
  "selected": true
687
677
  },
688
678
  {
689
679
  "label": "Highlighter",
690
- "icon": "WhiteboardHighlighterToolIcon",
680
+ "icon": "Bold",
691
681
  "text": "Highlighter",
692
682
  "identifier": "highlighter",
693
683
  "value": "highlighter",
@@ -695,7 +685,7 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
695
685
  },
696
686
  {
697
687
  "label": "Image",
698
- "icon": "WhiteboardImageToolIcon",
688
+ "icon": "Bold",
699
689
  "text": "Image",
700
690
  "identifier": "image",
701
691
  "value": "image",
@@ -703,7 +693,7 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
703
693
  },
704
694
  {
705
695
  "label": "Shapes",
706
- "icon": "WhiteboardShapesToolIcon",
696
+ "icon": "Bold",
707
697
  "text": "Shapes",
708
698
  "identifier": "shapes",
709
699
  "value": "shapes",
@@ -711,31 +701,31 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
711
701
  },
712
702
  {
713
703
  "label": "Stamps",
714
- "icon": "WhiteboardStampToolIcon",
704
+ "icon": "Bold",
715
705
  "text": "Stamps",
716
706
  "identifier": "stamps",
717
707
  "value": "stamps",
718
708
  "selected": true
719
709
  },
710
+ {
711
+ "label": "Number bond",
712
+ "icon": "Bold",
713
+ "text": "Number bond",
714
+ "identifier": "numberBond",
715
+ "value": "numberBond",
716
+ "selected": false
717
+ },
720
718
  {
721
719
  "label": "Unifix Cube",
722
- "icon": "WhiteboardUnifixCubeToolIcon",
720
+ "icon": "Bold",
723
721
  "text": "Unifix Cube",
724
722
  "identifier": "unifixCube",
725
723
  "value": "unifixCube",
726
724
  "selected": false
727
725
  },
728
- {
729
- "label": "Equation editor",
730
- "icon": "WhiteboardEquationEditorToolIcon",
731
- "text": "Equation editor",
732
- "identifier": "equationEditor",
733
- "value": "equationEditor",
734
- "selected": false
735
- },
736
726
  {
737
727
  "label": "Diagrams",
738
- "icon": "WhiteboardDiagramsToolIcon",
728
+ "icon": "Bold",
739
729
  "text": "Diagrams",
740
730
  "identifier": "diagrams",
741
731
  "value": "diagrams",
@@ -743,7 +733,7 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
743
733
  },
744
734
  {
745
735
  "label": "Array",
746
- "icon": "WhiteboardArrayToolIcon",
736
+ "icon": "Bold",
747
737
  "text": "Array",
748
738
  "identifier": "array",
749
739
  "value": "array",
@@ -751,7 +741,7 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
751
741
  },
752
742
  {
753
743
  "label": "Number line",
754
- "icon": "WhiteboardNumberLineToolIcon",
744
+ "icon": "Bold",
755
745
  "text": "Number line",
756
746
  "identifier": "numberLine",
757
747
  "value": "numberLine",
@@ -759,149 +749,51 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
759
749
  },
760
750
  {
761
751
  "label": "Fraction bars",
762
- "icon": "WhiteboardFractionBarToolIcon",
752
+ "icon": "Bold",
763
753
  "text": "Fraction bars",
764
754
  "identifier": "fractionBars",
765
755
  "value": "fractionBars",
766
756
  "selected": false
767
757
  },
758
+ {
759
+ "label": "Protractor",
760
+ "icon": "Bold",
761
+ "text": "Protractor",
762
+ "identifier": "protractor",
763
+ "value": "protractor",
764
+ "selected": false
765
+ },
768
766
  {
769
767
  "label": "Table",
770
- "icon": "WhiteboardTableToolIcon",
768
+ "icon": "Bold",
771
769
  "text": "Table",
772
770
  "identifier": "table",
773
771
  "value": "table",
774
772
  "selected": false
775
773
  },
776
- {
777
- "label": "Algebra tiles",
778
- "icon": "WhiteboardAlgebraTileToolIcon",
779
- "text": "Algebra tiles",
780
- "identifier": "algebraTiles",
781
- "value": "algebraTiles",
782
- "selected": false
783
- },
784
774
  {
785
775
  "label": "Grids",
786
- "icon": "WhiteboardGridToolIcon",
776
+ "icon": "Bold",
787
777
  "text": "Grids",
788
778
  "identifier": "grids",
789
779
  "value": "grids",
790
780
  "selected": false
791
781
  },
792
782
  {
793
- "label": "Protractor",
794
- "icon": "WhiteboardProtractorToolIcon",
795
- "text": "Protractor",
796
- "identifier": "protractor",
797
- "value": "protractor",
798
- "selected": false,
799
- "data": {
800
- "resourceTypeId": 7,
801
- "resourceLabel": "Protractor",
802
- "serialNo": 1,
803
- "settings": {},
804
- "content": {},
805
- "metadata": {
806
- "type": "Protractor",
807
- "displayPointer": true,
808
- "launchByDefault": false,
809
- "allowResize": true,
810
- "addShowHideBtn": true,
811
- "alternativeText": "",
812
- "angleType": 2,
813
- "rotation": "allowRotation",
814
- "backgroundColor": "rgba(255, 255, 255, 1)",
815
- "backgroundOpacity": 40
816
- }
817
- }
818
- },
819
- {
820
- "label": "Ruler",
821
- "icon": "WhiteboardRulerToolIcon",
822
- "text": "Ruler",
823
- "identifier": "ruler",
824
- "value": "ruler",
825
- "selected": false,
826
- "data": {
827
- "resourceTypeId": 3,
828
- "resourceLabel": "Ruler",
829
- "serialNo": 1,
830
- "customRulerImg": {
831
- "url": "",
832
- "fileName": "",
833
- "imageWidth": null,
834
- "imageHeight": null,
835
- "scalingWidth": 1,
836
- "scalingHeight": 1
837
- },
838
- "metadata": {
839
- "type": "Ruler",
840
- "isAllowToFlip": false,
841
- "displayOnTop": "centimeter",
842
- "measurementUnit": "centimeter",
843
- "rulerLengthDimension": "15cm",
844
- "rulerDPI": 72,
845
- "rotation": "allowRotation",
846
- "isRulerByDefault": false,
847
- "isShowHideButton": true,
848
- "rulerColor": "rgba(186, 201, 255, 1)",
849
- "rulerOpacity": 40,
850
- "altText": "",
851
- "lockAspectRatio": false,
852
- "resetSize": false
853
- }
854
- }
855
- },
856
- {
857
- "label": "Simple Calculator",
858
- "icon": "WhiteboardSimpleCalculatorToolIcon",
859
- "text": "Simple Calculator",
860
- "identifier": "simpleCalculator",
861
- "value": "simpleCalculator",
862
- "selected": false,
863
- "data": {
864
- "resourceTypeId": 2,
865
- "resourceLabel": "Simple Calculator",
866
- "serialNo": 1,
867
- "metadata": {
868
- "type": "simpleCalculator",
869
- "launchByDefault": false,
870
- "addShowHideBtn": true,
871
- "customCalculatorSettings": [
872
- "History",
873
- "Undo/Redo",
874
- "Parentheses",
875
- "Percentage",
876
- "Reciprocal",
877
- "Exponent",
878
- "Pi",
879
- "Square",
880
- "Sign change",
881
- "Square root"
882
- ]
883
- }
884
- }
783
+ "label": "Equation editor",
784
+ "icon": "Bold",
785
+ "text": "Equation editor",
786
+ "identifier": "equationEditor",
787
+ "value": "equationEditor",
788
+ "selected": false
885
789
  },
886
790
  {
887
- "label": "Scientific Calculator",
888
- "icon": "WhiteboardScientificCalculatorToolIcon",
889
- "text": "Scientific Calculator",
890
- "identifier": "scientificCalculator",
891
- "value": "scientificCalculator",
892
- "selected": false,
893
- "data": {
894
- "resourceTypeId": 10,
895
- "resourceLabel": "Scientific Calculator",
896
- "serialNo": 1,
897
- "metadata": {
898
- "type": "scientificCalculator",
899
- "width": 600,
900
- "height": 400,
901
- "isShowHideButtonVisible": true,
902
- "defaultLaunchOfTool": false
903
- }
904
- }
791
+ "label": "Algebra tiles",
792
+ "icon": "Bold",
793
+ "text": "Algebra tiles",
794
+ "identifier": "algebraTiles",
795
+ "value": "algebraTiles",
796
+ "selected": false
905
797
  }
906
798
  ],
907
799
  "defaultCanvasTool": "pen",
@@ -936,13 +828,23 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
936
828
  {
937
829
  "text": "Create a model",
938
830
  "selected": true,
939
- "videoData": {
831
+ "videoData": studentView ? {
832
+ "description": "",
833
+ "error": false,
834
+ "fileKey": "thinkSphere/resources/ngie_predefined_strategy_1.mp4",
940
835
  "fileName": "Create_a_model",
836
+ "mediaCredits": "",
837
+ "originalName": "ngie_predefined_strategy_1.mp4",
941
838
  "size": "",
942
839
  "type": "video/mp4",
943
- "uploadUrl": "https://itemengine-file-management.itemengine-staging.il-apps.com/api/files/document?key=thinkSphere/resources/ngie_predefined_strategy_1.mp4",
944
- "fileKey": "thinkSphere/resources/ngie_predefined_strategy_1.mp4",
945
- "originalName": "ngie_predefined_strategy_1.mp4",
840
+ "uploadUrl": "https://itemengine-file-management.itemengine-qa.il-apps.com/api/files/document?key=thinkSphere/resources/ngie_predefined_strategy_1.mp4"
841
+ } : {
842
+ "fileName": "",
843
+ "size": "",
844
+ "type": "",
845
+ "uploadUrl": "",
846
+ "fileKey": "",
847
+ "originalName": "",
946
848
  "description": "",
947
849
  "mediaCredits": "",
948
850
  "error": false
@@ -953,12 +855,12 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
953
855
  "text": "Look for a pattern",
954
856
  "selected": true,
955
857
  "videoData": {
956
- "fileName": "Look_for_a_pattern",
858
+ "fileName": "",
957
859
  "size": "",
958
- "type": "video/mp4",
959
- "uploadUrl": "https://itemengine-file-management.itemengine-staging.il-apps.com/api/files/document?key=thinkSphere/resources/ngie_predefined_strategy_2.mp4",
960
- "fileKey": "thinkSphere/resources/ngie_predefined_strategy_2.mp4",
961
- "originalName": "ngie_predefined_strategy_2.mp4",
860
+ "type": "",
861
+ "uploadUrl": "",
862
+ "fileKey": "",
863
+ "originalName": "",
962
864
  "description": "",
963
865
  "mediaCredits": "",
964
866
  "error": false
@@ -969,12 +871,12 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
969
871
  "text": "Guess, check, and revise",
970
872
  "selected": true,
971
873
  "videoData": {
972
- "fileName": "Guess_check_and_revise",
874
+ "fileName": "",
973
875
  "size": "",
974
- "type": "video/mp4",
975
- "uploadUrl": "https://itemengine-file-management.itemengine-staging.il-apps.com/api/files/document?key=thinkSphere/resources/ngie_predefined_strategy_3.mp4",
976
- "fileKey": "thinkSphere/resources/ngie_predefined_strategy_3.mp4",
977
- "originalName": "ngie_predefined_strategy_3.mp4",
876
+ "type": "",
877
+ "uploadUrl": "",
878
+ "fileKey": "",
879
+ "originalName": "",
978
880
  "description": "",
979
881
  "mediaCredits": "",
980
882
  "error": false
@@ -985,12 +887,12 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
985
887
  "text": "Try with friendlier numbers",
986
888
  "selected": true,
987
889
  "videoData": {
988
- "fileName": "Try_with_friendlier_numbers",
890
+ "fileName": "",
989
891
  "size": "",
990
- "type": "video/mp4",
991
- "uploadUrl": "https://itemengine-file-management.itemengine-staging.il-apps.com/api/files/document?key=thinkSphere/resources/ngie_predefined_strategy_4.mp4",
992
- "fileKey": "thinkSphere/resources/ngie_predefined_strategy_4.mp4",
993
- "originalName": "ngie_predefined_strategy_4.mp4",
892
+ "type": "",
893
+ "uploadUrl": "",
894
+ "fileKey": "",
895
+ "originalName": "",
994
896
  "description": "",
995
897
  "mediaCredits": "",
996
898
  "error": false
@@ -1001,12 +903,12 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
1001
903
  "text": "Show with an equation",
1002
904
  "selected": true,
1003
905
  "videoData": {
1004
- "fileName": "Show_with_an_equation",
906
+ "fileName": "",
1005
907
  "size": "",
1006
- "type": "video/mp4",
1007
- "uploadUrl": "https://itemengine-file-management.itemengine-staging.il-apps.com/api/files/document?key=thinkSphere/resources/ngie_predefined_strategy_5.mp4",
1008
- "fileKey": "thinkSphere/resources/ngie_predefined_strategy_5.mp4",
1009
- "originalName": "ngie_predefined_strategy_5.mp4",
908
+ "type": "",
909
+ "uploadUrl": "",
910
+ "fileKey": "",
911
+ "originalName": "",
1010
912
  "description": "",
1011
913
  "mediaCredits": "",
1012
914
  "error": false
@@ -1626,7 +1528,6 @@ Cypress.Commands.add('createThinkSphereItem', (itemName, studentView) => {
1626
1528
  cy.log(itemReferenceIds);
1627
1529
  });
1628
1530
  });
1629
- cy.wait(15000);
1630
1531
  });
1631
1532
 
1632
1533
  Cypress.Commands.add('deleteThinkSphereItem', (itemName) => {
package/cypress.config.js CHANGED
@@ -38,7 +38,7 @@ module.exports = defineConfig({
38
38
  watchForFileChanges: false,
39
39
  scrollBehavior: 'center',
40
40
  retries: {
41
- runMode: 3, // Retries for CI/headless runs (cy2 run, cypress run)
41
+ runMode: 1, // Retries for CI/headless runs (cy2 run, cypress run)
42
42
  openMode: 0 // Retries for interactive mode (cypress open)
43
43
  },
44
44
  env: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.442-IEI-6684-thinksphere-cypress-fixes-86535f5.0",
3
+ "version": "1.0.442-reduceNumberOfRetiresInConfigFile-301122a.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {