itemengine-cypress-automation 1.0.517-dependabot-npm-and-yarn-multi-c7c3a225fc-8224610.0 → 1.0.518
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.
- package/deploy/DNDIntoCategoriesQuestion/service.yaml +16 -3
- package/deploy/audioResponseQuestion/service.yaml +37 -2
- package/deploy/dataApi/service.yaml +16 -3
- package/deploy/e2e/service.yaml +17 -4
- package/deploy/essayQuestion/service.yaml +16 -4
- package/deploy/feedbackScaleQuestion/service.yaml +16 -4
- package/deploy/fillInTheGapsQuestion/service.yaml +16 -4
- package/deploy/graphingQuestion/service.yaml +16 -4
- package/deploy/imageHighlightQuestion/service.yaml +16 -4
- package/deploy/listOrderingQuestion/service.yaml +16 -4
- package/deploy/migration/service.yaml +16 -4
- package/deploy/multipleSelectionQuestion/service.yaml +16 -4
- package/deploy/resourcesAndToolsQuestion/service.yaml +16 -4
- package/deploy/smoke/service.yaml +16 -4
- package/deploy/textEntryMathQuestion/service.yaml +16 -4
- package/deploy/thinkSphere/service.yaml +16 -4
- package/il.yaml +1 -6
- package/package.json +3 -5
- package/scripts/sorry-cypress.mjs +6 -45
- package/deploy/test/run.sh +0 -6
- package/deploy/test/service.yaml +0 -47
- package/scripts/testcypress.mjs +0 -3
@@ -8,9 +8,6 @@ global:
|
|
8
8
|
deployment:
|
9
9
|
activeDeadlineSeconds: 28800
|
10
10
|
architecture: amd64
|
11
|
-
backoffLimit: 25
|
12
|
-
completions: 7
|
13
|
-
parallelism: 7
|
14
11
|
restartPolicy: Never
|
15
12
|
image:
|
16
13
|
cmd: /ie-e2e/deploy/DNDIntoCategoriesQuestion/run.sh
|
@@ -22,6 +19,22 @@ deployment:
|
|
22
19
|
requests:
|
23
20
|
memory: 4096Mi
|
24
21
|
cpu: 2000m
|
22
|
+
egress:
|
23
|
+
FQDNs:
|
24
|
+
- "*.content-nonprod.imaginelearning.com"
|
25
|
+
- "*.cloudflare.com"
|
26
|
+
- "*.googleapis.com"
|
27
|
+
- "www.desmos.com"
|
28
|
+
- "*.google.com"
|
29
|
+
- "*.*.google.com"
|
30
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
31
|
+
- "*.gstatic.com"
|
32
|
+
- "*.codecogs.com"
|
33
|
+
- "cypress-director.imaginelearning.tech"
|
34
|
+
- "cypress-api.imaginelearning.tech"
|
35
|
+
- "*.cypress.io"
|
36
|
+
- "*.*.mozilla.com"
|
37
|
+
- "*.*.*.mozilla.com"
|
25
38
|
|
26
39
|
namespaces:
|
27
40
|
dev:
|
@@ -12,7 +12,6 @@ global:
|
|
12
12
|
deployment:
|
13
13
|
activeDeadlineSeconds: 28800
|
14
14
|
architecture: amd64
|
15
|
-
backoffLimit: 1
|
16
15
|
restartPolicy: Never
|
17
16
|
image:
|
18
17
|
cmd: /ie-e2e/deploy/audioResponseQuestion/run.sh
|
@@ -24,24 +23,60 @@ deployment:
|
|
24
23
|
requests:
|
25
24
|
cpu: 6000m
|
26
25
|
memory: 8Gi
|
26
|
+
egress:
|
27
|
+
FQDNs:
|
28
|
+
- "*.content-nonprod.imaginelearning.com"
|
29
|
+
- "*.cloudflare.com"
|
30
|
+
- "*.googleapis.com"
|
31
|
+
- "www.desmos.com"
|
32
|
+
- "*.google.com"
|
33
|
+
- "*.*.google.com"
|
34
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
35
|
+
- "*.gstatic.com"
|
36
|
+
- "*.codecogs.com"
|
37
|
+
- "cypress-director.imaginelearning.tech"
|
38
|
+
- "cypress-api.imaginelearning.tech"
|
39
|
+
- "*.cypress.io"
|
40
|
+
- "*.*.mozilla.com"
|
41
|
+
- "*.*.*.mozilla.com"
|
27
42
|
env:
|
28
43
|
- name: OTK_VERSION
|
29
44
|
value: "2"
|
30
|
-
|
45
|
+
- name: CYPRESS_API_URL
|
46
|
+
value: "https://cypress-director.imaginelearning.tech/"
|
47
|
+
- name: THEME
|
48
|
+
value: "ilc"
|
49
|
+
- name: GREP_TAGS
|
50
|
+
value: ""
|
51
|
+
- name: GREP_UNTAGGED
|
52
|
+
value: ""
|
53
|
+
- name: SPEC_PATTERN
|
54
|
+
value: ""
|
55
|
+
- name: QUESTION_TYPE
|
56
|
+
value: "AudioResponseNew_VideoResponseNew_UploadResponse_ToolAudioPlayerNew"
|
57
|
+
|
31
58
|
namespaces:
|
32
59
|
dev:
|
33
60
|
env:
|
34
61
|
- name: STAGE
|
35
62
|
value: "dev"
|
63
|
+
- name: FILE_CONFIG
|
64
|
+
value: "dev"
|
36
65
|
qa:
|
37
66
|
env:
|
38
67
|
- name: STAGE
|
39
68
|
value: "qa"
|
69
|
+
- name: FILE_CONFIG
|
70
|
+
value: "qa"
|
40
71
|
staging:
|
41
72
|
env:
|
42
73
|
- name: STAGE
|
43
74
|
value: "stage"
|
75
|
+
- name: FILE_CONFIG
|
76
|
+
value: "stage"
|
44
77
|
prod:
|
45
78
|
env:
|
46
79
|
- name: STAGE
|
47
80
|
value: "prod"
|
81
|
+
- name: FILE_CONFIG
|
82
|
+
value: "prod"
|
@@ -8,9 +8,6 @@ global:
|
|
8
8
|
deployment:
|
9
9
|
activeDeadlineSeconds: 28800
|
10
10
|
architecture: amd64
|
11
|
-
backoffLimit: 25
|
12
|
-
completions: 7
|
13
|
-
parallelism: 7
|
14
11
|
restartPolicy: Never
|
15
12
|
image:
|
16
13
|
cmd: /ie-e2e/deploy/dataApi/run.sh
|
@@ -22,6 +19,22 @@ deployment:
|
|
22
19
|
requests:
|
23
20
|
memory: 4096Mi
|
24
21
|
cpu: 2000m
|
22
|
+
egress:
|
23
|
+
FQDNs:
|
24
|
+
- "*.content-nonprod.imaginelearning.com"
|
25
|
+
- "*.cloudflare.com"
|
26
|
+
- "*.googleapis.com"
|
27
|
+
- "www.desmos.com"
|
28
|
+
- "*.google.com"
|
29
|
+
- "*.*.google.com"
|
30
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
31
|
+
- "*.gstatic.com"
|
32
|
+
- "*.codecogs.com"
|
33
|
+
- "cypress-director.imaginelearning.tech"
|
34
|
+
- "cypress-api.imaginelearning.tech"
|
35
|
+
- "*.cypress.io"
|
36
|
+
- "*.*.mozilla.com"
|
37
|
+
- "*.*.*.mozilla.com"
|
25
38
|
|
26
39
|
namespaces:
|
27
40
|
dev:
|
package/deploy/e2e/service.yaml
CHANGED
@@ -8,9 +8,6 @@ global:
|
|
8
8
|
deployment:
|
9
9
|
activeDeadlineSeconds: 28800
|
10
10
|
architecture: amd64
|
11
|
-
backoffLimit: 25
|
12
|
-
completions: 7
|
13
|
-
parallelism: 7
|
14
11
|
restartPolicy: Never
|
15
12
|
image:
|
16
13
|
cmd: /ie-e2e/deploy/e2e/run.sh
|
@@ -22,7 +19,23 @@ deployment:
|
|
22
19
|
requests:
|
23
20
|
memory: 4096Mi
|
24
21
|
cpu: 2000m
|
25
|
-
|
22
|
+
egress:
|
23
|
+
FQDNs:
|
24
|
+
- "*.content-nonprod.imaginelearning.com"
|
25
|
+
- "*.cloudflare.com"
|
26
|
+
- "*.googleapis.com"
|
27
|
+
- "www.desmos.com"
|
28
|
+
- "*.google.com"
|
29
|
+
- "*.*.google.com"
|
30
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
31
|
+
- "*.gstatic.com"
|
32
|
+
- "*.codecogs.com"
|
33
|
+
- "cypress-director.imaginelearning.tech"
|
34
|
+
- "cypress-api.imaginelearning.tech"
|
35
|
+
- "*.cypress.io"
|
36
|
+
- "*.*.mozilla.com"
|
37
|
+
- "*.*.*.mozilla.com"
|
38
|
+
|
26
39
|
namespaces:
|
27
40
|
dev:
|
28
41
|
env:
|
@@ -8,9 +8,6 @@ global:
|
|
8
8
|
deployment:
|
9
9
|
activeDeadlineSeconds: 28800
|
10
10
|
architecture: amd64
|
11
|
-
backoffLimit: 25
|
12
|
-
completions: 7
|
13
|
-
parallelism: 7
|
14
11
|
restartPolicy: Never
|
15
12
|
image:
|
16
13
|
cmd: /ie-e2e/deploy/essayQuestion/run.sh
|
@@ -22,7 +19,22 @@ deployment:
|
|
22
19
|
requests:
|
23
20
|
memory: 4096Mi
|
24
21
|
cpu: 2000m
|
25
|
-
|
22
|
+
egress:
|
23
|
+
FQDNs:
|
24
|
+
- "*.content-nonprod.imaginelearning.com"
|
25
|
+
- "*.cloudflare.com"
|
26
|
+
- "*.googleapis.com"
|
27
|
+
- "www.desmos.com"
|
28
|
+
- "*.google.com"
|
29
|
+
- "*.*.google.com"
|
30
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
31
|
+
- "*.gstatic.com"
|
32
|
+
- "*.codecogs.com"
|
33
|
+
- "cypress-director.imaginelearning.tech"
|
34
|
+
- "cypress-api.imaginelearning.tech"
|
35
|
+
- "*.cypress.io"
|
36
|
+
- "*.*.mozilla.com"
|
37
|
+
- "*.*.*.mozilla.com"
|
26
38
|
namespaces:
|
27
39
|
dev:
|
28
40
|
env:
|
@@ -8,9 +8,6 @@ global:
|
|
8
8
|
deployment:
|
9
9
|
activeDeadlineSeconds: 28800
|
10
10
|
architecture: amd64
|
11
|
-
backoffLimit: 25
|
12
|
-
completions: 7
|
13
|
-
parallelism: 7
|
14
11
|
restartPolicy: Never
|
15
12
|
image:
|
16
13
|
cmd: /ie-e2e/deploy/feedbackScaleQuestion/run.sh
|
@@ -22,7 +19,22 @@ deployment:
|
|
22
19
|
requests:
|
23
20
|
memory: 4096Mi
|
24
21
|
cpu: 2000m
|
25
|
-
|
22
|
+
egress:
|
23
|
+
FQDNs:
|
24
|
+
- "*.content-nonprod.imaginelearning.com"
|
25
|
+
- "*.cloudflare.com"
|
26
|
+
- "*.googleapis.com"
|
27
|
+
- "www.desmos.com"
|
28
|
+
- "*.google.com"
|
29
|
+
- "*.*.google.com"
|
30
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
31
|
+
- "*.gstatic.com"
|
32
|
+
- "*.codecogs.com"
|
33
|
+
- "cypress-director.imaginelearning.tech"
|
34
|
+
- "cypress-api.imaginelearning.tech"
|
35
|
+
- "*.cypress.io"
|
36
|
+
- "*.*.mozilla.com"
|
37
|
+
- "*.*.*.mozilla.com"
|
26
38
|
namespaces:
|
27
39
|
dev:
|
28
40
|
env:
|
@@ -8,9 +8,6 @@ global:
|
|
8
8
|
deployment:
|
9
9
|
activeDeadlineSeconds: 28800
|
10
10
|
architecture: amd64
|
11
|
-
backoffLimit: 25
|
12
|
-
completions: 7
|
13
|
-
parallelism: 7
|
14
11
|
restartPolicy: Never
|
15
12
|
image:
|
16
13
|
cmd: /ie-e2e/deploy/fillInTheGapsQuestion/run.sh
|
@@ -22,7 +19,22 @@ deployment:
|
|
22
19
|
requests:
|
23
20
|
memory: 4096Mi
|
24
21
|
cpu: 2000m
|
25
|
-
|
22
|
+
egress:
|
23
|
+
FQDNs:
|
24
|
+
- "*.content-nonprod.imaginelearning.com"
|
25
|
+
- "*.cloudflare.com"
|
26
|
+
- "*.googleapis.com"
|
27
|
+
- "www.desmos.com"
|
28
|
+
- "*.google.com"
|
29
|
+
- "*.*.google.com"
|
30
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
31
|
+
- "*.gstatic.com"
|
32
|
+
- "*.codecogs.com"
|
33
|
+
- "cypress-director.imaginelearning.tech"
|
34
|
+
- "cypress-api.imaginelearning.tech"
|
35
|
+
- "*.cypress.io"
|
36
|
+
- "*.*.mozilla.com"
|
37
|
+
- "*.*.*.mozilla.com"
|
26
38
|
namespaces:
|
27
39
|
dev:
|
28
40
|
env:
|
@@ -8,9 +8,6 @@ global:
|
|
8
8
|
deployment:
|
9
9
|
activeDeadlineSeconds: 28800
|
10
10
|
architecture: amd64
|
11
|
-
backoffLimit: 25
|
12
|
-
completions: 7
|
13
|
-
parallelism: 7
|
14
11
|
restartPolicy: Never
|
15
12
|
image:
|
16
13
|
cmd: /ie-e2e/deploy/graphingQuestion/run.sh
|
@@ -22,7 +19,22 @@ deployment:
|
|
22
19
|
requests:
|
23
20
|
memory: 4096Mi
|
24
21
|
cpu: 2000m
|
25
|
-
|
22
|
+
egress:
|
23
|
+
FQDNs:
|
24
|
+
- "*.content-nonprod.imaginelearning.com"
|
25
|
+
- "*.cloudflare.com"
|
26
|
+
- "*.googleapis.com"
|
27
|
+
- "www.desmos.com"
|
28
|
+
- "*.google.com"
|
29
|
+
- "*.*.google.com"
|
30
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
31
|
+
- "*.gstatic.com"
|
32
|
+
- "*.codecogs.com"
|
33
|
+
- "cypress-director.imaginelearning.tech"
|
34
|
+
- "cypress-api.imaginelearning.tech"
|
35
|
+
- "*.cypress.io"
|
36
|
+
- "*.*.mozilla.com"
|
37
|
+
- "*.*.*.mozilla.com"
|
26
38
|
namespaces:
|
27
39
|
dev:
|
28
40
|
env:
|
@@ -8,9 +8,6 @@ global:
|
|
8
8
|
deployment:
|
9
9
|
activeDeadlineSeconds: 28800
|
10
10
|
architecture: amd64
|
11
|
-
backoffLimit: 25
|
12
|
-
completions: 7
|
13
|
-
parallelism: 7
|
14
11
|
restartPolicy: Never
|
15
12
|
image:
|
16
13
|
cmd: /ie-e2e/deploy/imageHighlightQuestion/run.sh
|
@@ -22,7 +19,22 @@ deployment:
|
|
22
19
|
requests:
|
23
20
|
memory: 4096Mi
|
24
21
|
cpu: 2000m
|
25
|
-
|
22
|
+
egress:
|
23
|
+
FQDNs:
|
24
|
+
- "*.content-nonprod.imaginelearning.com"
|
25
|
+
- "*.cloudflare.com"
|
26
|
+
- "*.googleapis.com"
|
27
|
+
- "www.desmos.com"
|
28
|
+
- "*.google.com"
|
29
|
+
- "*.*.google.com"
|
30
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
31
|
+
- "*.gstatic.com"
|
32
|
+
- "*.codecogs.com"
|
33
|
+
- "cypress-director.imaginelearning.tech"
|
34
|
+
- "cypress-api.imaginelearning.tech"
|
35
|
+
- "*.cypress.io"
|
36
|
+
- "*.*.mozilla.com"
|
37
|
+
- "*.*.*.mozilla.com"
|
26
38
|
namespaces:
|
27
39
|
dev:
|
28
40
|
env:
|
@@ -8,9 +8,6 @@ global:
|
|
8
8
|
deployment:
|
9
9
|
activeDeadlineSeconds: 28800
|
10
10
|
architecture: amd64
|
11
|
-
backoffLimit: 25
|
12
|
-
completions: 7
|
13
|
-
parallelism: 7
|
14
11
|
restartPolicy: Never
|
15
12
|
image:
|
16
13
|
cmd: /ie-e2e/deploy/listOrderingQuestion/run.sh
|
@@ -22,7 +19,22 @@ deployment:
|
|
22
19
|
requests:
|
23
20
|
memory: 4096Mi
|
24
21
|
cpu: 2000m
|
25
|
-
|
22
|
+
egress:
|
23
|
+
FQDNs:
|
24
|
+
- "*.content-nonprod.imaginelearning.com"
|
25
|
+
- "*.cloudflare.com"
|
26
|
+
- "*.googleapis.com"
|
27
|
+
- "www.desmos.com"
|
28
|
+
- "*.google.com"
|
29
|
+
- "*.*.google.com"
|
30
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
31
|
+
- "*.gstatic.com"
|
32
|
+
- "*.codecogs.com"
|
33
|
+
- "cypress-director.imaginelearning.tech"
|
34
|
+
- "cypress-api.imaginelearning.tech"
|
35
|
+
- "*.cypress.io"
|
36
|
+
- "*.*.mozilla.com"
|
37
|
+
- "*.*.*.mozilla.com"
|
26
38
|
namespaces:
|
27
39
|
dev:
|
28
40
|
env:
|
@@ -8,9 +8,6 @@ global:
|
|
8
8
|
deployment:
|
9
9
|
activeDeadlineSeconds: 28800
|
10
10
|
architecture: amd64
|
11
|
-
backoffLimit: 25
|
12
|
-
completions: 11
|
13
|
-
parallelism: 11
|
14
11
|
restartPolicy: Never
|
15
12
|
image:
|
16
13
|
cmd: /ie-e2e/deploy/migration/run.sh
|
@@ -22,7 +19,22 @@ deployment:
|
|
22
19
|
requests:
|
23
20
|
memory: 4096Mi
|
24
21
|
cpu: 2000m
|
25
|
-
|
22
|
+
egress:
|
23
|
+
FQDNs:
|
24
|
+
- "*.content-nonprod.imaginelearning.com"
|
25
|
+
- "*.cloudflare.com"
|
26
|
+
- "*.googleapis.com"
|
27
|
+
- "www.desmos.com"
|
28
|
+
- "*.google.com"
|
29
|
+
- "*.*.google.com"
|
30
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
31
|
+
- "*.gstatic.com"
|
32
|
+
- "*.codecogs.com"
|
33
|
+
- "cypress-director.imaginelearning.tech"
|
34
|
+
- "cypress-api.imaginelearning.tech"
|
35
|
+
- "*.cypress.io"
|
36
|
+
- "*.*.mozilla.com"
|
37
|
+
- "*.*.*.mozilla.com"
|
26
38
|
namespaces:
|
27
39
|
dev:
|
28
40
|
env:
|
@@ -8,9 +8,6 @@ global:
|
|
8
8
|
deployment:
|
9
9
|
activeDeadlineSeconds: 28800
|
10
10
|
architecture: amd64
|
11
|
-
backoffLimit: 25
|
12
|
-
completions: 7
|
13
|
-
parallelism: 7
|
14
11
|
restartPolicy: Never
|
15
12
|
image:
|
16
13
|
cmd: /ie-e2e/deploy/multipleSelectionQuestion/run.sh
|
@@ -22,7 +19,22 @@ deployment:
|
|
22
19
|
requests:
|
23
20
|
memory: 4096Mi
|
24
21
|
cpu: 2000m
|
25
|
-
|
22
|
+
egress:
|
23
|
+
FQDNs:
|
24
|
+
- "*.content-nonprod.imaginelearning.com"
|
25
|
+
- "*.cloudflare.com"
|
26
|
+
- "*.googleapis.com"
|
27
|
+
- "www.desmos.com"
|
28
|
+
- "*.google.com"
|
29
|
+
- "*.*.google.com"
|
30
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
31
|
+
- "*.gstatic.com"
|
32
|
+
- "*.codecogs.com"
|
33
|
+
- "cypress-director.imaginelearning.tech"
|
34
|
+
- "cypress-api.imaginelearning.tech"
|
35
|
+
- "*.cypress.io"
|
36
|
+
- "*.*.mozilla.com"
|
37
|
+
- "*.*.*.mozilla.com"
|
26
38
|
namespaces:
|
27
39
|
dev:
|
28
40
|
env:
|
@@ -8,9 +8,6 @@ global:
|
|
8
8
|
deployment:
|
9
9
|
activeDeadlineSeconds: 28800
|
10
10
|
architecture: amd64
|
11
|
-
backoffLimit: 1
|
12
|
-
completions: 7
|
13
|
-
parallelism: 7
|
14
11
|
restartPolicy: Never
|
15
12
|
image:
|
16
13
|
cmd: /ie-e2e/deploy/resourcesAndToolsQuestion/run.sh
|
@@ -22,7 +19,22 @@ deployment:
|
|
22
19
|
requests:
|
23
20
|
memory: 4096Mi
|
24
21
|
cpu: 2000m
|
25
|
-
|
22
|
+
egress:
|
23
|
+
FQDNs:
|
24
|
+
- "*.content-nonprod.imaginelearning.com"
|
25
|
+
- "*.cloudflare.com"
|
26
|
+
- "*.googleapis.com"
|
27
|
+
- "www.desmos.com"
|
28
|
+
- "*.google.com"
|
29
|
+
- "*.*.google.com"
|
30
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
31
|
+
- "*.gstatic.com"
|
32
|
+
- "*.codecogs.com"
|
33
|
+
- "cypress-director.imaginelearning.tech"
|
34
|
+
- "cypress-api.imaginelearning.tech"
|
35
|
+
- "*.cypress.io"
|
36
|
+
- "*.*.mozilla.com"
|
37
|
+
- "*.*.*.mozilla.com"
|
26
38
|
namespaces:
|
27
39
|
dev:
|
28
40
|
env:
|
@@ -8,9 +8,6 @@ global:
|
|
8
8
|
deployment:
|
9
9
|
activeDeadlineSeconds: 28800
|
10
10
|
architecture: amd64
|
11
|
-
backoffLimit: 25
|
12
|
-
completions: 15
|
13
|
-
parallelism: 15
|
14
11
|
restartPolicy: Never
|
15
12
|
image:
|
16
13
|
cmd: /ie-e2e/deploy/smoke/run.sh
|
@@ -22,7 +19,22 @@ deployment:
|
|
22
19
|
requests:
|
23
20
|
memory: 4096Mi
|
24
21
|
cpu: 2000m
|
25
|
-
|
22
|
+
egress:
|
23
|
+
FQDNs:
|
24
|
+
- "*.content-nonprod.imaginelearning.com"
|
25
|
+
- "*.cloudflare.com"
|
26
|
+
- "*.googleapis.com"
|
27
|
+
- "www.desmos.com"
|
28
|
+
- "*.google.com"
|
29
|
+
- "*.*.google.com"
|
30
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
31
|
+
- "*.gstatic.com"
|
32
|
+
- "*.codecogs.com"
|
33
|
+
- "cypress-director.imaginelearning.tech"
|
34
|
+
- "cypress-api.imaginelearning.tech"
|
35
|
+
- "*.cypress.io"
|
36
|
+
- "*.*.mozilla.com"
|
37
|
+
- "*.*.*.mozilla.com"
|
26
38
|
namespaces:
|
27
39
|
dev:
|
28
40
|
env:
|
@@ -8,9 +8,6 @@ global:
|
|
8
8
|
deployment:
|
9
9
|
activeDeadlineSeconds: 28800
|
10
10
|
architecture: amd64
|
11
|
-
backoffLimit: 25
|
12
|
-
completions: 7
|
13
|
-
parallelism: 7
|
14
11
|
restartPolicy: Never
|
15
12
|
image:
|
16
13
|
cmd: /ie-e2e/deploy/textEntryMathQuestion/run.sh
|
@@ -22,7 +19,22 @@ deployment:
|
|
22
19
|
requests:
|
23
20
|
memory: 4096Mi
|
24
21
|
cpu: 2000m
|
25
|
-
|
22
|
+
egress:
|
23
|
+
FQDNs:
|
24
|
+
- "*.content-nonprod.imaginelearning.com"
|
25
|
+
- "*.cloudflare.com"
|
26
|
+
- "*.googleapis.com"
|
27
|
+
- "www.desmos.com"
|
28
|
+
- "*.google.com"
|
29
|
+
- "*.*.google.com"
|
30
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
31
|
+
- "*.gstatic.com"
|
32
|
+
- "*.codecogs.com"
|
33
|
+
- "cypress-director.imaginelearning.tech"
|
34
|
+
- "cypress-api.imaginelearning.tech"
|
35
|
+
- "*.cypress.io"
|
36
|
+
- "*.*.mozilla.com"
|
37
|
+
- "*.*.*.mozilla.com"
|
26
38
|
namespaces:
|
27
39
|
dev:
|
28
40
|
env:
|
@@ -8,9 +8,6 @@ global:
|
|
8
8
|
deployment:
|
9
9
|
activeDeadlineSeconds: 28800
|
10
10
|
architecture: amd64
|
11
|
-
backoffLimit: 25
|
12
|
-
completions: 7
|
13
|
-
parallelism: 7
|
14
11
|
restartPolicy: Never
|
15
12
|
image:
|
16
13
|
cmd: /ie-e2e/deploy/thinkSphere/run.sh
|
@@ -22,7 +19,22 @@ deployment:
|
|
22
19
|
requests:
|
23
20
|
memory: 4096Mi
|
24
21
|
cpu: 2000m
|
25
|
-
|
22
|
+
egress:
|
23
|
+
FQDNs:
|
24
|
+
- "*.content-nonprod.imaginelearning.com"
|
25
|
+
- "*.cloudflare.com"
|
26
|
+
- "*.googleapis.com"
|
27
|
+
- "www.desmos.com"
|
28
|
+
- "*.google.com"
|
29
|
+
- "*.*.google.com"
|
30
|
+
- "google-ohttp-relay-safebrowsing.fastly-edge.com"
|
31
|
+
- "*.gstatic.com"
|
32
|
+
- "*.codecogs.com"
|
33
|
+
- "cypress-director.imaginelearning.tech"
|
34
|
+
- "cypress-api.imaginelearning.tech"
|
35
|
+
- "*.cypress.io"
|
36
|
+
- "*.*.mozilla.com"
|
37
|
+
- "*.*.*.mozilla.com"
|
26
38
|
namespaces:
|
27
39
|
dev:
|
28
40
|
env:
|
package/il.yaml
CHANGED
@@ -1,13 +1,9 @@
|
|
1
|
-
# yaml-language-server: $schema=https://schema-validator.imaginelearning.tech/il.yaml/v2.0.json
|
2
|
-
|
3
1
|
meta:
|
4
2
|
owner: itemengine
|
5
3
|
trackingId: 87b2338d-3ea4-45cc-bd63-73d1f4a73a6c
|
6
4
|
system: ngie
|
7
5
|
domain: content
|
8
6
|
|
9
|
-
# otk:
|
10
|
-
|
11
7
|
otk:
|
12
8
|
enabled: true
|
13
9
|
build:
|
@@ -16,7 +12,7 @@ otk:
|
|
16
12
|
language: node
|
17
13
|
languageVersion: "20"
|
18
14
|
deployables:
|
19
|
-
|
15
|
+
- ./deploy/audioResponseQuestion/service.yaml
|
20
16
|
# - ./deploy/DNDIntoCategoriesQuestion/service.yaml
|
21
17
|
# - ./deploy/dataApi/service.yaml
|
22
18
|
# - ./deploy/e2e/service.yaml
|
@@ -32,7 +28,6 @@ otk:
|
|
32
28
|
# - ./deploy/smoke/service.yaml
|
33
29
|
# - ./deploy/textEntryMathQuestion/service.yaml
|
34
30
|
# - ./deploy/thinkSphere/service.yaml
|
35
|
-
- ./deploy/test/service.yaml
|
36
31
|
deployConfig:
|
37
32
|
environments:
|
38
33
|
- dev
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "itemengine-cypress-automation",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.518",
|
4
4
|
"description": "",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -30,9 +30,7 @@
|
|
30
30
|
"spinnaker:audioResponse": "node scripts/questions.mjs --env theme=ilc,questionType=AudioResponseNew_VideoResponseNew_UploadResponse_ToolAudioPlayerNew,grepTags=-css+-a11y",
|
31
31
|
"spinnaker:feedbackScale": "node scripts/questions.mjs --env theme=ilc,questionType=FeedbackScaleNew_BrainingCampManipulative_EditItem_ToolSettings_CkEditorAudioPlayer_CkEditorEquationEditor_CkEditorInsertImage_CkEditorInsertTable_CkEditorInsertTable,grepTags=-css+-a11y",
|
32
32
|
"spinnaker:resourcesAndTools": "node scripts/questions.mjs --env theme=ilc,questionType=Compass_ContentBlocks_Protractor_ReadingRuler_SimpleCalculator_Ruler,grepTags=-css+-a11y",
|
33
|
-
"spinnaker:dataApiTest": "node scripts/dataApi.mjs --env theme=ilc,questionType=dataApi_Sessions,grepTags=-css+-a11y"
|
34
|
-
"spinnaker:test": "node scripts/testcypress.mjs --env theme=ilc,questionType=test_Sessions,grepTags=-css+-a11y",
|
35
|
-
"argo-v2": "node scripts/testcypress.mjs --env theme=ilc,questionType=test_Sessions,grepTags=-css+-a11y"
|
33
|
+
"spinnaker:dataApiTest": "node scripts/dataApi.mjs --env theme=ilc,questionType=dataApi_Sessions,grepTags=-css+-a11y"
|
36
34
|
},
|
37
35
|
"repository": {
|
38
36
|
"type": "git",
|
@@ -43,7 +41,7 @@
|
|
43
41
|
"axe-core": "^4.7.1",
|
44
42
|
"cy-verify-downloads": "^0.1.11",
|
45
43
|
"cy2": "^4.0.9",
|
46
|
-
"cypress": "^
|
44
|
+
"cypress": "^12.17.2",
|
47
45
|
"cypress-axe": "^1.4.0",
|
48
46
|
"cypress-file-upload": "^5.0.8",
|
49
47
|
"cypress-real-events": "^1.7.6",
|
@@ -244,35 +244,25 @@ export function runSorryCypressQuestions() {
|
|
244
244
|
const user = OS.userInfo().username;
|
245
245
|
startTime = Math.round(Date.now() / 1000000);
|
246
246
|
ciBuildId = setCiBuildId(user, startTime);
|
247
|
-
|
248
|
-
console.log("🚀 ~ runSorryCypressQuestions ~ isOtkv2:", isOtkv2);
|
247
|
+
|
249
248
|
let envArgs = setCommandLineEnvArgs();
|
250
|
-
console.log("🚀 ~ runSorryCypressQuestions ~ envArgs (before removing questionType):", envArgs);
|
251
249
|
|
252
250
|
// Extract and remove questionType from envArgs
|
253
251
|
const match = envArgs.match(/questionType=([^,]+)/);
|
254
252
|
const questionType = match ? match[1] : "**"; // Default to "**" if not found
|
255
|
-
console.log(
|
256
|
-
|
253
|
+
console.log('Question Type:', questionType);
|
257
254
|
envArgs = envArgs.replace(/questionType=[^,]+,?/, "").trim(); // Remove questionType from envArgs
|
258
|
-
console.log(
|
259
|
-
|
255
|
+
console.log('Env Args', envArgs);
|
260
256
|
// Handling multiple question types (underscore-separated)
|
261
257
|
const questionTypes = questionType.split("_");
|
262
|
-
console.log("🚀 ~ runSorryCypressQuestions ~ questionTypes:", questionTypes);
|
263
258
|
|
264
259
|
// Creating spec paths for Cypress
|
265
260
|
const specPaths = questionTypes.map(type => `cypress/e2e/ILC/${type}/**/*.js`).join(",");
|
266
|
-
console.log("
|
261
|
+
console.log("Spec Paths:", specPaths);
|
267
262
|
|
268
|
-
|
269
|
-
if (isOtkv2) {
|
270
|
-
command = `cy2 run --group --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "${specPaths}"`;
|
271
|
-
} else {
|
272
|
-
command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "${specPaths}"`;
|
273
|
-
}
|
263
|
+
const command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "${specPaths}"`;
|
274
264
|
|
275
|
-
console.log(`
|
265
|
+
console.log(`Running Command: ${command}`);
|
276
266
|
try {
|
277
267
|
execSync(command, {stdio: "inherit"});
|
278
268
|
} catch (error) {
|
@@ -302,32 +292,3 @@ export function runSorryCypressSpinnakerDataApi() {
|
|
302
292
|
console.log(`command: ${command}`);
|
303
293
|
execSync(command, { stdio: "inherit" });
|
304
294
|
}
|
305
|
-
|
306
|
-
export function runSorryCypressTest() {
|
307
|
-
console.log('Inside runSorryCypressSpinnaker');
|
308
|
-
process.env.CYPRESS_API_URL = "https://cypress-director.imaginelearning.tech/";
|
309
|
-
console.log('CYPRESS_API_URL:', process.env.CYPRESS_API_URL);
|
310
|
-
startTime = process.env.START_TIME;
|
311
|
-
console.log('START_TIME:', startTime);
|
312
|
-
ciBuildId = setCiBuildId("spinnaker", startTime);
|
313
|
-
console.log('ciBuildId:', ciBuildId);
|
314
|
-
const envArgs = setCommandLineEnvArgs()
|
315
|
-
console.log('envArgs:', envArgs);
|
316
|
-
let command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "cypress/e2e/ILC/test/**/*.js"`;
|
317
|
-
console.log(`command: ${command}`);
|
318
|
-
try {
|
319
|
-
execSync(command, { stdio: "inherit" });
|
320
|
-
} catch (error) {
|
321
|
-
console.error("One or more tests failed to pass, OR an error occurred during run");
|
322
|
-
console.error("Cypress run error details:", {
|
323
|
-
status: error.status,
|
324
|
-
message: error.message,
|
325
|
-
stack: error.stack
|
326
|
-
});
|
327
|
-
|
328
|
-
console.log("Exiting process with code: 1");
|
329
|
-
process.exit(1);
|
330
|
-
}
|
331
|
-
console.log("Cypress tests all passed successfully. Exiting process with code: 0");
|
332
|
-
process.exit(0);
|
333
|
-
}
|
package/deploy/test/run.sh
DELETED
package/deploy/test/service.yaml
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
global:
|
2
|
-
name: ie-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
|
-
image:
|
14
|
-
cmd: /ie-e2e/deploy/test/run.sh
|
15
|
-
buildContext: ../..
|
16
|
-
resources:
|
17
|
-
limits:
|
18
|
-
memory: 8446Mi
|
19
|
-
cpu: 5000m
|
20
|
-
requests:
|
21
|
-
memory: 4096Mi
|
22
|
-
cpu: 2000m
|
23
|
-
egress:
|
24
|
-
FQDNs:
|
25
|
-
- "google.com"
|
26
|
-
- "sandbox.itemengine-dev.il-apps.com"
|
27
|
-
- "sandbox.itemengine-qa.il-apps.com"
|
28
|
-
- "sandbox.itemengine-staging.il-apps.com"
|
29
|
-
- "sandbox.itemengine-prod.il-apps.com"
|
30
|
-
|
31
|
-
namespaces:
|
32
|
-
dev:
|
33
|
-
env:
|
34
|
-
- name: STAGE
|
35
|
-
value: "dev"
|
36
|
-
qa:
|
37
|
-
env:
|
38
|
-
- name: STAGE
|
39
|
-
value: "qa"
|
40
|
-
staging:
|
41
|
-
env:
|
42
|
-
- name: STAGE
|
43
|
-
value: "staging"
|
44
|
-
prod:
|
45
|
-
env:
|
46
|
-
- name: STAGE
|
47
|
-
value: "prod"
|
package/scripts/testcypress.mjs
DELETED