itemengine-cypress-automation 1.0.496-dependabot-npm-and-yarn-multi-c7c3a225fc-6f9218f.0 → 1.0.498-update-service-a924f49.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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "itemengine-cypress-automation",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.498-update-service-a924f49.0",
|
4
4
|
"description": "",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"axe-core": "^4.7.1",
|
42
42
|
"cy-verify-downloads": "^0.1.11",
|
43
43
|
"cy2": "^4.0.9",
|
44
|
-
"cypress": "^
|
44
|
+
"cypress": "^12.17.2",
|
45
45
|
"cypress-axe": "^1.4.0",
|
46
46
|
"cypress-file-upload": "^5.0.8",
|
47
47
|
"cypress-real-events": "^1.7.6",
|
@@ -265,7 +265,20 @@ export function runSorryCypressQuestions() {
|
|
265
265
|
|
266
266
|
let command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "${specPaths}"`;
|
267
267
|
console.log(`command: ${command}`);
|
268
|
-
|
268
|
+
try {
|
269
|
+
execSync(command, {stdio: "inherit"});
|
270
|
+
} catch (error) {
|
271
|
+
console.error("One or more tests failed to pass, OR an error occurred during run");
|
272
|
+
console.error("Cypress run error details:", {
|
273
|
+
status: error.status,
|
274
|
+
message: error.message,
|
275
|
+
stack: error.stack
|
276
|
+
});
|
277
|
+
|
278
|
+
console.log("Exiting process with code: 1");
|
279
|
+
process.exit(1);
|
280
|
+
}
|
281
|
+
console.log("Cypress tests all passed successfully. Exiting process with code: 0");
|
269
282
|
process.exit(0);
|
270
283
|
}
|
271
284
|
|