itemengine-cypress-automation 1.0.507-dependabot-npm-and-yarn-multi-c7c3a225fc-14033f2.0 → 1.0.508-IEI-6793-v4-7a95ae8.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.
- package/deploy/test/run.sh +5 -6
- package/deploy/test/service.yaml +1 -3
- package/il.yaml +2 -2
- package/package.json +4 -3
- package/scripts/sorry-cypress.mjs +7 -3
package/deploy/test/run.sh
CHANGED
@@ -1,6 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
echo
|
5
|
-
|
6
|
-
npm run spinnaker:test
|
1
|
+
npm run argo-v2
|
2
|
+
result=$?
|
3
|
+
message="Exiting shell script with exit code: "
|
4
|
+
echo $message$result
|
5
|
+
exit $result
|
package/deploy/test/service.yaml
CHANGED
package/il.yaml
CHANGED
@@ -28,11 +28,11 @@ otk:
|
|
28
28
|
# - ./deploy/listOrderingQuestion/service.yaml
|
29
29
|
# - ./deploy/migration/service.yaml
|
30
30
|
# - ./deploy/multipleSelectionQuestion/service.yaml
|
31
|
-
- ./deploy/resourcesAndToolsQuestion/service.yaml
|
31
|
+
# - ./deploy/resourcesAndToolsQuestion/service.yaml
|
32
32
|
# - ./deploy/smoke/service.yaml
|
33
33
|
# - ./deploy/textEntryMathQuestion/service.yaml
|
34
34
|
# - ./deploy/thinkSphere/service.yaml
|
35
|
-
|
35
|
+
- ./deploy/test/service.yaml
|
36
36
|
deployConfig:
|
37
37
|
environments:
|
38
38
|
- 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.508-IEI-6793-v4-7a95ae8.0",
|
4
4
|
"description": "",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -31,7 +31,8 @@
|
|
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
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"
|
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"
|
35
36
|
},
|
36
37
|
"repository": {
|
37
38
|
"type": "git",
|
@@ -42,7 +43,7 @@
|
|
42
43
|
"axe-core": "^4.7.1",
|
43
44
|
"cy-verify-downloads": "^0.1.11",
|
44
45
|
"cy2": "^4.0.9",
|
45
|
-
"cypress": "^
|
46
|
+
"cypress": "^12.17.2",
|
46
47
|
"cypress-axe": "^1.4.0",
|
47
48
|
"cypress-file-upload": "^5.0.8",
|
48
49
|
"cypress-real-events": "^1.7.6",
|
@@ -304,11 +304,15 @@ export function runSorryCypressSpinnakerDataApi() {
|
|
304
304
|
}
|
305
305
|
|
306
306
|
export function runSorryCypressTest() {
|
307
|
+
console.log('Inside runSorryCypressSpinnaker');
|
307
308
|
process.env.CYPRESS_API_URL = "https://cypress-director.imaginelearning.tech/";
|
308
|
-
|
309
|
-
startTime =
|
310
|
-
|
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);
|
311
314
|
const envArgs = setCommandLineEnvArgs()
|
315
|
+
console.log('envArgs:', envArgs);
|
312
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"`;
|
313
317
|
console.log(`command: ${command}`);
|
314
318
|
execSync(command, { stdio: "inherit" });
|