itemengine-cypress-automation 1.0.91 → 1.0.93

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.91",
3
+ "version": "1.0.93",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -40,12 +40,12 @@ function setCommandLineEnvArgs() {
40
40
 
41
41
  if (env === 'dev') {
42
42
  fileConfig = 'fileConfig=ildev'
43
- } else if (env === 'stage') {
43
+ } else if (env === 'staging') {
44
44
  fileConfig = 'fileConfig=ilstage'
45
45
  } else if (env === 'qa') {
46
46
  fileConfig = 'fileConfig=ilqa'
47
47
  } else if (env === 'prod') {
48
- fileConfig = 'fileConfig=prod'
48
+ fileConfig = 'fileConfig=ilprod'
49
49
  } else {
50
50
  fileConfig = `fileConfig=${env}`
51
51
  }
@@ -82,6 +82,6 @@ export function runSorryCypressSpinnaker() {
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},grepTags=-css+-a11y --spec "cypress/e2e/ILC/**/*.js"`;
85
+ let command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs},grepTags=-css+-a11y --spec "cypress/e2e/ILC/**/*.smoke.js"`;
86
86
  execSync(command, { stdio: "inherit" });
87
87
  }