itemengine-cypress-automation 1.0.81 → 1.0.82
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "itemengine-cypress-automation",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.82",
|
4
4
|
"description": "",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -26,7 +26,7 @@
|
|
26
26
|
"axe-core": "^4.7.1",
|
27
27
|
"cy-verify-downloads": "^0.1.11",
|
28
28
|
"cy2": "^4.0.9",
|
29
|
-
"cypress": "12.17.2",
|
29
|
+
"cypress": "^12.17.2",
|
30
30
|
"cypress-axe": "^1.4.0",
|
31
31
|
"cypress-file-upload": "^5.0.8",
|
32
32
|
"cypress-real-events": "^1.7.6",
|
@@ -70,18 +70,18 @@ export function runSorryCypressLocal() {
|
|
70
70
|
startTime = Math.round(Date.now() / 1000000);
|
71
71
|
ciBuildId = setCiBuildId(user, startTime);
|
72
72
|
const envArgs = setCommandLineEnvArgs()
|
73
|
-
let command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "cypress/e2e/ILC
|
73
|
+
let command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "cypress/e2e/ILC/**/*.smoke.js"`;
|
74
74
|
execSync(command, { stdio: "inherit" });
|
75
75
|
}
|
76
76
|
|
77
77
|
/**
|
78
78
|
* @method runSorryCypressSpinnaker
|
79
79
|
*/
|
80
|
-
|
80
|
+
export function runSorryCypressSpinnaker() {
|
81
81
|
process.env.CYPRESS_API_URL = "https://cypress-director.imaginelearning.engineering/";
|
82
82
|
startTime = process.env.START_TIME;
|
83
83
|
ciBuildId = setCiBuildId("spinnaker", startTime);
|
84
84
|
const envArgs = setCommandLineEnvArgs()
|
85
|
-
let command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "cypress/e2e/ILC
|
85
|
+
let command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "cypress/e2e/ILC/**/*.smoke.js"`;
|
86
86
|
execSync(command, { stdio: "inherit" });
|
87
87
|
}
|