itemengine-cypress-automation 1.0.526-IEI-6793-v-8a29b23.0 → 1.0.526-dependabot-npm-and-yarn-multi-92087b3b2d-a8ff4c7.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.
Files changed (28) hide show
  1. package/cypress/pages/audioPlayerPage.js +2 -2
  2. package/cypress/pages/components/additionalSettingsPanel.js +3 -3
  3. package/cypress/pages/components/essayResponseCommonComponents.js +2 -2
  4. package/cypress/pages/components/gridQuestionCommonComponent.js +2 -2
  5. package/cypress/pages/components/questionInputFieldComponent.js +1 -1
  6. package/cypress/pages/components/questionInstructionsComponent.js +1 -1
  7. package/cypress/pages/contentBlocksPage.js +1 -1
  8. package/cypress/pages/essayResponsePage.js +1 -1
  9. package/cypress/pages/textSelectionPage.js +1 -1
  10. package/deploy/DNDIntoCategoriesQuestion/service.yaml +58 -0
  11. package/deploy/audioResponseQuestion/service.yaml +81 -0
  12. package/deploy/dataApi/service.yaml +58 -0
  13. package/deploy/e2e/service.yaml +58 -0
  14. package/deploy/essayQuestion/service.yaml +57 -0
  15. package/deploy/feedbackScaleQuestion/service.yaml +57 -0
  16. package/deploy/fillInTheGapsQuestion/service.yaml +57 -0
  17. package/deploy/graphingQuestion/service.yaml +57 -0
  18. package/deploy/imageHighlightQuestion/service.yaml +57 -0
  19. package/deploy/listOrderingQuestion/service.yaml +57 -0
  20. package/deploy/migration/service.yaml +57 -0
  21. package/deploy/multipleSelectionQuestion/service.yaml +57 -0
  22. package/deploy/resourcesAndToolsQuestion/service.yaml +57 -0
  23. package/deploy/smoke/service.yaml +57 -0
  24. package/deploy/textEntryMathQuestion/service.yaml +57 -0
  25. package/deploy/thinkSphere/service.yaml +57 -0
  26. package/package.json +2 -2
  27. package/scripts/sorry-cypress.mjs +5 -62
  28. package/service.yaml +1 -2
@@ -61,7 +61,7 @@ const selectors = {
61
61
  playAttemptsLimitInputField: () => cy.get('.freeResponseAudioFormTextInput input'),
62
62
  studentViewSettingsLabel: () => cy.get('[class*="AudioPlayerstyles__TranscriptLabelWrapper"]').eq(0),
63
63
  audioOverviewLabel: () => cy.get('.additional-settings-label'),
64
- audioOverviewInputField: () => cy.get('[title="Description"]'),
64
+ audioOverviewInputField: () => cy.get('[aria-label="Description"]'),
65
65
  transcriptLabel: () => cy.get('[class*="TranscriptWrapper"] [class*="AudioPlayerstyles__TranscriptLabelWrapper"]'),
66
66
  uploadTranscriptUploadLabel: () => cy.get('[class*="AudioPlayerstyles__AudioLabel"]').eq(2),
67
67
  uploadTranscriptFileNameLabel: () => cy.get('[class*="AudioPlayerstyles__AudioLabel"]').eq(3),
@@ -72,7 +72,7 @@ const selectors = {
72
72
  transcriptFileUploadProgressBar: () => cy.get('.audio-player-form-progressbar'),
73
73
  transcriptInputFieldLabel: () => cy.get('.additional-settings-label').eq(1),
74
74
  deleteTranscriptButton: () => cy.get('[aria-label*="Delete"]'),
75
- transcriptCKeditorInputField: () => cy.get('div[contenteditable="true"][aria-label="Transcript"][title="Transcript"]'),
75
+ transcriptCKeditorInputField: () => cy.get('div[contenteditable="true"][aria-label="Transcript"]'),
76
76
  //Preview tab
77
77
  volumeControlButton: () => cy.get('.audio-player-volume-wrapper .audio-player-icon'),
78
78
  playbackPlayButton: () => cy.get('.audio-resource-preview-wrapper-without-print button[aria-label="Play"]'),
@@ -10,9 +10,9 @@ const selectors = {
10
10
  additionalSettingsTeacherGuidelinesLabel: () => cy.get('.additional-settings-detail-wrapper .additional-settings-label').eq(0),
11
11
  additionalSettingsSampleAnswerLabel: () => cy.get('.additional-settings-detail-wrapper .additional-settings-label').eq(1),
12
12
  additionalSettingsAcknowledgementsLabel: () => cy.get('.additional-settings-detail-wrapper .additional-settings-label').eq(2),
13
- additionalSettingsTeacherGuidelinesInputField: () => cy.get('[title="Teacher Scoring Guidelines"]'),
14
- additionalSettingsSampleAnswerInputField: () => cy.get('[title="Sample Answer"]'),
15
- additionalSettingsAcknowledgementsInputField: () => cy.get('[title="acknowledgements and references"]'),
13
+ additionalSettingsTeacherGuidelinesInputField: () => cy.get('[aria-label="Teacher Scoring Guidelines"]'),
14
+ additionalSettingsSampleAnswerInputField: () => cy.get('[aria-label="Sample Answer"]'),
15
+ additionalSettingsAcknowledgementsInputField: () => cy.get('[aria-label="acknowledgements and references"]'),
16
16
  //Font-size dropdown
17
17
  fontSizeLabel: () => cy.get('#Font-Size-dropdown-label'),
18
18
  fontSizeDropdown: () => cy.get('#Font-Size-select'),
@@ -72,7 +72,7 @@ const selectors = {
72
72
  wordCountWrapper: () => cy.get('[class*="indexstyle__WordCharCountWrapper"]'),
73
73
 
74
74
  //Preview tab
75
- responseField: () => cy.get('[title="Enter your response to the question here."]'),
75
+ responseField: () => cy.get('[aria-label="Answer"]'),
76
76
  responseFieldWordCount: () => cy.get('[class*="InputLimitLabelWrapper"]'),
77
77
  responseFieldEquation: () => cy.get('.cke_widget_element'),
78
78
  responseFieldText: () => cy.get('[class*="EssayResponseGradingViewstyle__GradingViewWrapper"] .question-text-wrapper'),
@@ -82,7 +82,7 @@ const selectors = {
82
82
  //Additional settings, These are old selectors. Need to update them along with additional settings file revamp
83
83
  studentResponseAndLayoutLabel: () => cy.get('.layout-text'),
84
84
  predefinedTextLabel: () => cy.get('[class*="EssayResponsestyles__PropertyLabel"]'),
85
- predefinedTextInputField: () => cy.get('[title="Predefined Text"]'),
85
+ predefinedTextInputField: () => cy.get('[aria-label="Predefined Text"]'),
86
86
  placeholderTextLabel: () => cy.get('.place-holder-text .text-label'),
87
87
  placeholderTextInputField: () => cy.get('[aria-label="Placeholder Text"]'),
88
88
  minHeightLabel: () => cy.get('.size-wrapper .text-label').eq(0),
@@ -34,8 +34,8 @@ const selectors = {
34
34
  editCellPropertyRow: () => gridQuestionCommonComponent.editCellPropertyTableWrapper().find('[class*="wrapper-row"]'),
35
35
  editCellPropertyTableLeftPaginationButton: () => cy.get('.authoring-selection-grid [class*="SelectionGridstyles__PaginationLeftControl"]'),
36
36
  editCellPropertyTableRightPaginationButton: () => cy.get('.authoring-selection-grid [class*="SelectionGridstyles__PaginationRightControl"]'),
37
- cellPropertyInputField: () => cy.get('[title*="text"], [class*="SelectionGridstyles__AuthoringHeadingWrapper"] input, [class*="SelectionGridstyles"] input'),
38
- optionCellPropertyInputField: () => cy.get('[title="Option text or image..."],[placeholder="Option text or image..."]'),
37
+ cellPropertyInputField: () => cy.get('[aria-label*="text"], [class*="SelectionGridstyles__AuthoringHeadingWrapper"] input, [class*="SelectionGridstyles"] input'),
38
+ optionCellPropertyInputField: () => cy.get('[aria-label="Option text or image..."],[placeholder="Option text or image..."]'),
39
39
  tableRowSpecifyCorrectAnswerSection: () => cy.get('.correct-answer-accordion [class*="wrapper-row"]'),
40
40
  tableRowPreviewTab: () => cy.get('[class*="question-preview-wrapper"] [class*="wrapper-row"]'),
41
41
  tableRowHeadersSpecifyCorrectAnswerSection: () => cy.get('.set-correct-ans-selection-grid .cell-content-text'),
@@ -3,7 +3,7 @@ import { commonComponents } from "./commonComponents";
3
3
 
4
4
  const selectors = {
5
5
  questionLabel: () => cy.get('.cloze-with-text-question-wrapper .title-casing'),
6
- questionInputField: () => cy.get('.cloze-with-text-question-wrapper [title="question"]'),
6
+ questionInputField: () => cy.get('.cloze-with-text-question-wrapper [aria-label="question"]'),
7
7
  responseArea: () => cy.get('.cke_widget_wrapper_add_response_element'),
8
8
  responseAreaCloseButton: () => cy.get('.add_response_close'),
9
9
  addResponseAreaButton: () => cy.get('.add-response-token-wrapper-cls button'),
@@ -5,7 +5,7 @@ const css = Cypress.env('css');
5
5
 
6
6
  const selectors = {
7
7
  questionInstructionsLabelEditTab: () => cy.get('.edit-question-instruction-label'),
8
- questionInstructionsInputField: () => cy.get('[title="Question Instructions"]'),
8
+ questionInstructionsInputField: () => cy.get('[aria-label="Question Instructions"]'),
9
9
  questionInstructionsText: () => cy.get('.question-instruction'),
10
10
  questionInstructionsWrapper: () => cy.get('.edit-question-instruction-wrapper'),
11
11
  questionInstructionsTextPreviewTab: () => cy.get('.question-instruction:visible'),
@@ -15,7 +15,7 @@ const selectors = {
15
15
  groupDividerWrapper: () => cy.get('.body-group-divider'),
16
16
  textBlockWrapper: () => cy.get('.body-text-block'),
17
17
  textBlockLabel: () => cy.get('.body-section-header'),
18
- textBlockInputField: () => cy.get('[title="Enter text block"]'),
18
+ textBlockInputField: () => cy.get('[aria-label="Enter text block"]'),
19
19
  bodyLabel: () => cy.get('.options-label'),
20
20
  bodyWrapper: () => cy.get('.edit-mcq-options-wrapper'),
21
21
  bodySubTitleLabel: () => cy.get('.body-section-header'),
@@ -129,7 +129,7 @@ const hyperlinkDialogBox = {
129
129
  hyperlinkDialogboxURLInputField: () => essayResponsePage.hyperlinkDialogBox().find('input[class*="cke_dialog_ui_input_text"]').eq(1),
130
130
  hyperlinkDialogboxButtonOk: () => cy.get('.action-button-wrapper [role="button"]').eq(1),
131
131
  hyperlinkDialogboxButtonCancel: () => cy.get('.action-button-wrapper [role="button"]').eq(0),
132
- previewInputFieldHyperlinkText: () => cy.get('div[title="Enter your response to the question here."] a'),
132
+ previewInputFieldHyperlinkText: () => cy.get('div[aria-label="Answer"] a'),
133
133
  }
134
134
 
135
135
  const steps = {
@@ -25,7 +25,7 @@ const selectors = {
25
25
  ...showAvailableOptionsToStudents,
26
26
  ...showStudentMaximumNumberOfPossibleSelections,
27
27
  questionLabel: () => cy.get('[class*="Highlightstyles__QuestionComponentWrapper"] .title-casing'),
28
- questionInputField: () => cy.get('[class*="Highlightstyles__QuestionComponentWrapper"] [title="Question"]'),
28
+ questionInputField: () => cy.get('[class*="Highlightstyles__QuestionComponentWrapper"] [aria-label="Question"]'),
29
29
  specifyPossibleOptionsTextFieldWrapper: () => cy.get('[class*="Highlightstyles__HighLightWrapper"] .question-text-wrapper'),
30
30
  textSelectionStyleLabel: () => cy.get('.text-selection-style .options-label'),
31
31
  textSelectionStyleButtonLabel: (ariaLabel = null) => {
@@ -0,0 +1,58 @@
1
+ global:
2
+ name: ie-dnd-categories
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/DNDIntoCategoriesQuestion/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ memory: 8446Mi
21
+ cpu: 5000m
22
+ requests:
23
+ memory: 4096Mi
24
+ cpu: 2000m
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+
42
+ namespaces:
43
+ dev:
44
+ env:
45
+ - name: STAGE
46
+ value: "dev"
47
+ qa:
48
+ env:
49
+ - name: STAGE
50
+ value: "qa"
51
+ staging:
52
+ env:
53
+ - name: STAGE
54
+ value: "stage"
55
+ prod:
56
+ env:
57
+ - name: STAGE
58
+ value: "prod"
@@ -0,0 +1,81 @@
1
+ global:
2
+ name: ie-audio-response
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/audioResponseQuestion/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ cpu: 6000m
21
+ memory: 8Gi
22
+ requests:
23
+ cpu: 6000m
24
+ memory: 8Gi
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+ env:
42
+ - name: OTK_VERSION
43
+ value: "2"
44
+ - name: CYPRESS_API_URL
45
+ value: "https://cypress-director.imaginelearning.tech/"
46
+ - name: THEME
47
+ value: "ilc"
48
+ - name: GREP_TAGS
49
+ value: ""
50
+ - name: GREP_UNTAGGED
51
+ value: ""
52
+ - name: SPEC_PATTERN
53
+ value: ""
54
+ - name: QUESTION_TYPE
55
+ value: "AudioResponseNew_VideoResponseNew_UploadResponse_ToolAudioPlayerNew"
56
+
57
+ namespaces:
58
+ dev:
59
+ env:
60
+ - name: STAGE
61
+ value: "dev"
62
+ - name: FILE_CONFIG
63
+ value: "dev"
64
+ qa:
65
+ env:
66
+ - name: STAGE
67
+ value: "qa"
68
+ - name: FILE_CONFIG
69
+ value: "qa"
70
+ staging:
71
+ env:
72
+ - name: STAGE
73
+ value: "stage"
74
+ - name: FILE_CONFIG
75
+ value: "stage"
76
+ prod:
77
+ env:
78
+ - name: STAGE
79
+ value: "prod"
80
+ - name: FILE_CONFIG
81
+ value: "prod"
@@ -0,0 +1,58 @@
1
+ global:
2
+ name: ie-data-api
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/dataApi/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ memory: 8446Mi
21
+ cpu: 5000m
22
+ requests:
23
+ memory: 4096Mi
24
+ cpu: 2000m
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+
42
+ namespaces:
43
+ dev:
44
+ env:
45
+ - name: STAGE
46
+ value: "dev"
47
+ qa:
48
+ env:
49
+ - name: STAGE
50
+ value: "qa"
51
+ staging:
52
+ env:
53
+ - name: STAGE
54
+ value: "stage"
55
+ prod:
56
+ env:
57
+ - name: STAGE
58
+ value: "prod"
@@ -0,0 +1,58 @@
1
+ global:
2
+ name: ie-cypress-automation
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/e2e/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ memory: 8446Mi
21
+ cpu: 5000m
22
+ requests:
23
+ memory: 4096Mi
24
+ cpu: 2000m
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+
42
+ namespaces:
43
+ dev:
44
+ env:
45
+ - name: STAGE
46
+ value: "dev"
47
+ qa:
48
+ env:
49
+ - name: STAGE
50
+ value: "qa"
51
+ staging:
52
+ env:
53
+ - name: STAGE
54
+ value: "stage"
55
+ prod:
56
+ env:
57
+ - name: STAGE
58
+ value: "prod"
@@ -0,0 +1,57 @@
1
+ global:
2
+ name: ie-essay-response
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/essayQuestion/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ memory: 8446Mi
21
+ cpu: 5000m
22
+ requests:
23
+ memory: 4096Mi
24
+ cpu: 2000m
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+ namespaces:
42
+ dev:
43
+ env:
44
+ - name: STAGE
45
+ value: "dev"
46
+ qa:
47
+ env:
48
+ - name: STAGE
49
+ value: "qa"
50
+ staging:
51
+ env:
52
+ - name: STAGE
53
+ value: "stage"
54
+ prod:
55
+ env:
56
+ - name: STAGE
57
+ value: "prod"
@@ -0,0 +1,57 @@
1
+ global:
2
+ name: ie-feedback-scale
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/feedbackScaleQuestion/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ memory: 8446Mi
21
+ cpu: 5000m
22
+ requests:
23
+ memory: 4096Mi
24
+ cpu: 2000m
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+ namespaces:
42
+ dev:
43
+ env:
44
+ - name: STAGE
45
+ value: "dev"
46
+ qa:
47
+ env:
48
+ - name: STAGE
49
+ value: "qa"
50
+ staging:
51
+ env:
52
+ - name: STAGE
53
+ value: "stage"
54
+ prod:
55
+ env:
56
+ - name: STAGE
57
+ value: "prod"
@@ -0,0 +1,57 @@
1
+ global:
2
+ name: ie-fig-text
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/fillInTheGapsQuestion/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ memory: 8446Mi
21
+ cpu: 5000m
22
+ requests:
23
+ memory: 4096Mi
24
+ cpu: 2000m
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+ namespaces:
42
+ dev:
43
+ env:
44
+ - name: STAGE
45
+ value: "dev"
46
+ qa:
47
+ env:
48
+ - name: STAGE
49
+ value: "qa"
50
+ staging:
51
+ env:
52
+ - name: STAGE
53
+ value: "stage"
54
+ prod:
55
+ env:
56
+ - name: STAGE
57
+ value: "prod"
@@ -0,0 +1,57 @@
1
+ global:
2
+ name: ie-graphing
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/graphingQuestion/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ memory: 8446Mi
21
+ cpu: 5000m
22
+ requests:
23
+ memory: 4096Mi
24
+ cpu: 2000m
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+ namespaces:
42
+ dev:
43
+ env:
44
+ - name: STAGE
45
+ value: "dev"
46
+ qa:
47
+ env:
48
+ - name: STAGE
49
+ value: "qa"
50
+ staging:
51
+ env:
52
+ - name: STAGE
53
+ value: "stage"
54
+ prod:
55
+ env:
56
+ - name: STAGE
57
+ value: "prod"
@@ -0,0 +1,57 @@
1
+ global:
2
+ name: ie-image-highlight
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/imageHighlightQuestion/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ memory: 8446Mi
21
+ cpu: 5000m
22
+ requests:
23
+ memory: 4096Mi
24
+ cpu: 2000m
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+ namespaces:
42
+ dev:
43
+ env:
44
+ - name: STAGE
45
+ value: "dev"
46
+ qa:
47
+ env:
48
+ - name: STAGE
49
+ value: "qa"
50
+ staging:
51
+ env:
52
+ - name: STAGE
53
+ value: "stage"
54
+ prod:
55
+ env:
56
+ - name: STAGE
57
+ value: "prod"
@@ -0,0 +1,57 @@
1
+ global:
2
+ name: ie-list-ordering
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/listOrderingQuestion/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ memory: 8446Mi
21
+ cpu: 5000m
22
+ requests:
23
+ memory: 4096Mi
24
+ cpu: 2000m
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+ namespaces:
42
+ dev:
43
+ env:
44
+ - name: STAGE
45
+ value: "dev"
46
+ qa:
47
+ env:
48
+ - name: STAGE
49
+ value: "qa"
50
+ staging:
51
+ env:
52
+ - name: STAGE
53
+ value: "stage"
54
+ prod:
55
+ env:
56
+ - name: STAGE
57
+ value: "prod"
@@ -0,0 +1,57 @@
1
+ global:
2
+ name: ie-migration-test
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/migration/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ memory: 8446Mi
21
+ cpu: 5000m
22
+ requests:
23
+ memory: 4096Mi
24
+ cpu: 2000m
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+ namespaces:
42
+ dev:
43
+ env:
44
+ - name: STAGE
45
+ value: "dev"
46
+ qa:
47
+ env:
48
+ - name: STAGE
49
+ value: "qa"
50
+ staging:
51
+ env:
52
+ - name: STAGE
53
+ value: "stage"
54
+ prod:
55
+ env:
56
+ - name: STAGE
57
+ value: "prod"
@@ -0,0 +1,57 @@
1
+ global:
2
+ name: ie-multiple-selection
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/multipleSelectionQuestion/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ memory: 8446Mi
21
+ cpu: 5000m
22
+ requests:
23
+ memory: 4096Mi
24
+ cpu: 2000m
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+ namespaces:
42
+ dev:
43
+ env:
44
+ - name: STAGE
45
+ value: "dev"
46
+ qa:
47
+ env:
48
+ - name: STAGE
49
+ value: "qa"
50
+ staging:
51
+ env:
52
+ - name: STAGE
53
+ value: "stage"
54
+ prod:
55
+ env:
56
+ - name: STAGE
57
+ value: "prod"
@@ -0,0 +1,57 @@
1
+ global:
2
+ name: ie-reading-ruler
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/resourcesAndToolsQuestion/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ memory: 8446Mi
21
+ cpu: 5000m
22
+ requests:
23
+ memory: 4096Mi
24
+ cpu: 2000m
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+ namespaces:
42
+ dev:
43
+ env:
44
+ - name: STAGE
45
+ value: "dev"
46
+ qa:
47
+ env:
48
+ - name: STAGE
49
+ value: "qa"
50
+ staging:
51
+ env:
52
+ - name: STAGE
53
+ value: "staging"
54
+ prod:
55
+ env:
56
+ - name: STAGE
57
+ value: "prod"
@@ -0,0 +1,57 @@
1
+ global:
2
+ name: ie-smoke-test
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/smoke/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ memory: 8446Mi
21
+ cpu: 5000m
22
+ requests:
23
+ memory: 4096Mi
24
+ cpu: 2000m
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+ namespaces:
42
+ dev:
43
+ env:
44
+ - name: STAGE
45
+ value: "dev"
46
+ qa:
47
+ env:
48
+ - name: STAGE
49
+ value: "qa"
50
+ staging:
51
+ env:
52
+ - name: STAGE
53
+ value: "stage"
54
+ prod:
55
+ env:
56
+ - name: STAGE
57
+ value: "prod"
@@ -0,0 +1,57 @@
1
+ global:
2
+ name: ie-text-entry-math
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/textEntryMathQuestion/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ memory: 8446Mi
21
+ cpu: 5000m
22
+ requests:
23
+ memory: 4096Mi
24
+ cpu: 2000m
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+ namespaces:
42
+ dev:
43
+ env:
44
+ - name: STAGE
45
+ value: "dev"
46
+ qa:
47
+ env:
48
+ - name: STAGE
49
+ value: "qa"
50
+ staging:
51
+ env:
52
+ - name: STAGE
53
+ value: "stage"
54
+ prod:
55
+ env:
56
+ - name: STAGE
57
+ value: "prod"
@@ -0,0 +1,57 @@
1
+ global:
2
+ name: ie-think-sphere
3
+ type: test
4
+ autoDeploy:
5
+ enabled: true
6
+ highestEnvironment: dev
7
+
8
+ deployment:
9
+ activeDeadlineSeconds: 28800
10
+ architecture: amd64
11
+ restartPolicy: Never
12
+ backoffLimit: 0
13
+ parallelism: 7
14
+ completions: 7
15
+ image:
16
+ cmd: /ie-e2e/deploy/thinkSphere/run.sh
17
+ buildContext: ../..
18
+ resources:
19
+ limits:
20
+ memory: 8446Mi
21
+ cpu: 5000m
22
+ requests:
23
+ memory: 4096Mi
24
+ cpu: 2000m
25
+ egress:
26
+ FQDNs:
27
+ - "*.content-nonprod.imaginelearning.com"
28
+ - "*.cloudflare.com"
29
+ - "*.googleapis.com"
30
+ - "www.desmos.com"
31
+ - "*.google.com"
32
+ - "*.*.google.com"
33
+ - "google-ohttp-relay-safebrowsing.fastly-edge.com"
34
+ - "*.gstatic.com"
35
+ - "*.codecogs.com"
36
+ - "cypress-director.imaginelearning.tech"
37
+ - "cypress-api.imaginelearning.tech"
38
+ - "*.cypress.io"
39
+ - "*.*.mozilla.com"
40
+ - "*.*.*.mozilla.com"
41
+ namespaces:
42
+ dev:
43
+ env:
44
+ - name: STAGE
45
+ value: "dev"
46
+ qa:
47
+ env:
48
+ - name: STAGE
49
+ value: "qa"
50
+ staging:
51
+ env:
52
+ - name: STAGE
53
+ value: "stage"
54
+ prod:
55
+ env:
56
+ - name: STAGE
57
+ value: "prod"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.526-IEI-6793-v-8a29b23.0",
3
+ "version": "1.0.526-dependabot-npm-and-yarn-multi-92087b3b2d-a8ff4c7.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -42,7 +42,7 @@
42
42
  "axios": "^1.12.2",
43
43
  "cy-verify-downloads": "^0.1.11",
44
44
  "cy2": "^4.0.9",
45
- "cypress": "^12.17.2",
45
+ "cypress": "^15.2.0",
46
46
  "cypress-axe": "^1.4.0",
47
47
  "cypress-file-upload": "^5.0.8",
48
48
  "cypress-real-events": "^1.7.6",
@@ -209,33 +209,14 @@ export function runSorryCypressLocalSmoke() {
209
209
  /**
210
210
  * @method runSorryCypressSpinnakerSmoke
211
211
  */
212
- export async function runSorryCypressSpinnakerSmoke() {
212
+ export function runSorryCypressSpinnakerSmoke() {
213
213
  process.env.CYPRESS_API_URL = "https://cypress-director.imaginelearning.tech/";
214
214
  startTime = process.env.START_TIME;
215
215
  ciBuildId = setCiBuildId("spinnaker", startTime);
216
216
  const envArgs = setCommandLineEnvArgs()
217
217
  let command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "cypress/e2e/ILC/**/*.smoke.js"`;
218
218
  console.log(`command: ${command}`);
219
- const isOtkv2 = process.env.OTK_VERSION === '2';
220
- try {
221
- execSync(command, { stdio: "inherit" });
222
- if (isOtkv2) {
223
- const status = await checkRunStatus(ciBuildId);
224
- process.exit(status);
225
- }
226
- } catch (error) {
227
- console.error("One or more tests failed to pass, OR an error occurred during run");
228
- console.error("Cypress run error details:", {
229
- status: error.status,
230
- message: error.message,
231
- stack: error.stack
232
- });
233
-
234
- console.log("Exiting process with code: 1");
235
- process.exit(1);
236
- }
237
- console.log("Cypress tests all passed successfully. Exiting process with code: 0");
238
- process.exit(0);
219
+ execSync(command, { stdio: "inherit" });
239
220
  }
240
221
 
241
222
  /**
@@ -254,26 +235,7 @@ export async function runSorryCypressSpinnakerMigration() {
254
235
  const envArgs = setCommandLineEnvArgs()
255
236
  let command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs},migrationQuestionTypes=${questionTypes} --spec "cypress/e2e/migration/*.js"`;
256
237
  console.log(`command: ${command}`);
257
- const isOtkv2 = process.env.OTK_VERSION === '2';
258
- try {
259
- execSync(command, { stdio: "inherit" });
260
- if (isOtkv2) {
261
- const status = await checkRunStatus(ciBuildId);
262
- process.exit(status);
263
- }
264
- } catch (error) {
265
- console.error("One or more tests failed to pass, OR an error occurred during run");
266
- console.error("Cypress run error details:", {
267
- status: error.status,
268
- message: error.message,
269
- stack: error.stack
270
- });
271
-
272
- console.log("Exiting process with code: 1");
273
- process.exit(1);
274
- }
275
- console.log("Cypress tests all passed successfully. Exiting process with code: 0");
276
- process.exit(0);
238
+ execSync(command, { stdio: "inherit" });
277
239
  }
278
240
 
279
241
  /**
@@ -346,31 +308,12 @@ export async function runSorryCypressQuestions() {
346
308
  /**
347
309
  * @method runSorryCypressSpinnakerDataApi
348
310
  */
349
- export async function runSorryCypressSpinnakerDataApi() {
311
+ export function runSorryCypressSpinnakerDataApi() {
350
312
  process.env.CYPRESS_API_URL = "https://cypress-director.imaginelearning.tech/";
351
313
  startTime = process.env.START_TIME;
352
314
  ciBuildId = setCiBuildId("spinnaker", startTime);
353
315
  const envArgs = setCommandLineEnvArgs()
354
316
  let command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "cypress/e2e/ILC/dataApi/**/*.js,cypress/e2e/Sessions/**/*.js"`;
355
317
  console.log(`command: ${command}`);
356
- const isOtkv2 = process.env.OTK_VERSION === '2';
357
- try {
358
- execSync(command, { stdio: "inherit" });
359
- if (isOtkv2) {
360
- const status = await checkRunStatus(ciBuildId);
361
- process.exit(status);
362
- }
363
- } catch (error) {
364
- console.error("One or more tests failed to pass, OR an error occurred during run");
365
- console.error("Cypress run error details:", {
366
- status: error.status,
367
- message: error.message,
368
- stack: error.stack
369
- });
370
-
371
- console.log("Exiting process with code: 1");
372
- process.exit(1);
373
- }
374
- console.log("Cypress tests all passed successfully. Exiting process with code: 0");
375
- process.exit(0);
318
+ execSync(command, { stdio: "inherit" });
376
319
  }
package/service.yaml CHANGED
@@ -3,7 +3,7 @@ global:
3
3
  type: test
4
4
  autoDeploy:
5
5
  enabled: true
6
- highestEnvironment: qa
6
+ highestEnvironment: staging
7
7
 
8
8
  deployment:
9
9
  activeDeadlineSeconds: 28800
@@ -37,7 +37,6 @@ deployment:
37
37
  - "*.cypress.io"
38
38
  - "*.*.mozilla.com"
39
39
  - "*.*.*.mozilla.com"
40
- - "cdn.jsdelivr.net"
41
40
  env:
42
41
  - name: OTK_VERSION
43
42
  value: "2"