itemengine-cypress-automation 1.0.73 → 1.0.75

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/Dockerfile CHANGED
@@ -16,4 +16,4 @@ RUN chmod +x ./run.sh
16
16
 
17
17
  RUN npm ci
18
18
 
19
- RUN $(npm bin)/cypress verify
19
+ #RUN $(npm bin)/cypress verify
package/cypress.config.js CHANGED
@@ -2,7 +2,7 @@ const { defineConfig } = require('cypress')
2
2
  const fs = require('fs-extra');
3
3
  const path = require('path');
4
4
  const { isFileExist } = require('cy-verify-downloads');
5
- const { cloudPlugin } = require("cypress-cloud/plugin");
5
+ //const { cloudPlugin } = require("cypress-cloud/plugin");
6
6
 
7
7
  async function getConfigurationByFile(file, theme) {
8
8
  const pathToConfigFile = path.resolve(
@@ -28,6 +28,7 @@ module.exports = defineConfig({
28
28
  html: true,
29
29
  json: false,
30
30
  },
31
+ projectId: "ImagineLearning/itemengine-cypress-automation",
31
32
  screenshotOnRunFailure: true,
32
33
  screenshotsFolder: 'cypress/assets',
33
34
  requestTimeout: 20000,
@@ -63,7 +64,7 @@ module.exports = defineConfig({
63
64
  isFileExist
64
65
  });
65
66
  require('@cypress/grep/src/plugin')()
66
- return cloudPlugin(on, config), getConfigurationByFile(file, theme);
67
+ return config, getConfigurationByFile(file, theme);
67
68
  },
68
69
  excludeSpecPattern: ['**/__snapshots__/*', '**/__image_snapshots__/*'],
69
70
  specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.73",
3
+ "version": "1.0.75",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -8,7 +8,7 @@
8
8
  "test": "echo 'success'",
9
9
  "spinnaker": "node scripts/spinnaker.mjs --env theme=ilc",
10
10
  "spinnaker:untagged": "node scripts/spinnaker.mjs --env theme=ilc,grepUntagged=true",
11
- "local": "node scripts/local.mjs --env fileConfig=ilqa",
11
+ "local": "node scripts/local.mjs --env fileConfig=ilqa,theme=ilc",
12
12
  "cy:ildev": "cypress open --env fileConfig=ildev",
13
13
  "cy:ilprod": "cypress open --env fileConfig=ilprod",
14
14
  "cy:ilqa": "cypress open --env fileConfig=ilqa",
@@ -24,9 +24,8 @@
24
24
  "cy-verify-downloads": "^0.1.13",
25
25
  "cypress": "^12.17.4",
26
26
  "cypress-axe": "^1.5.0",
27
- "cypress-cloud": "^1.9.6",
28
27
  "cypress-file-upload": "^5.0.8",
29
28
  "cypress-real-events": "^1.7.6",
30
29
  "react-uuid": "^2.0.0"
31
30
  }
32
- }
31
+ }
@@ -67,7 +67,7 @@ function setCommandLineEnvArgs() {
67
67
  */
68
68
  function runSorryCypress(ciBuildId, envArgs) {
69
69
  // let command = `cypress-cloud run --parallel --browser chrome --record --key ImagineLearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs}`;
70
- let command = `cypress-cloud run --parallel --browser chrome --record --key ImagineLearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "cypress\\e2e\\ILC\\ShortTextResponse\\*.js"`;
70
+ let command = `cypress run --parallel --browser chrome --record --key ImagineLearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "cypress\\e2e\\ILC\\ShortTextResponse\\*.js"`;
71
71
  execSync(command, { stdio: "inherit" });
72
72
  }
73
73