itemengine-cypress-automation 1.0.554-IEI-5835-LIVE-9ad00b0.0 → 1.0.554

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.554-IEI-5835-LIVE-9ad00b0.0",
3
+ "version": "1.0.554",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -214,8 +214,29 @@ export async function runSorryCypressSpinnakerSmoke() {
214
214
  startTime = process.env.START_TIME;
215
215
  ciBuildId = setCiBuildId("spinnaker", startTime);
216
216
  const envArgs = setCommandLineEnvArgs()
217
- let command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "cypress/e2e/ILC/**/*.smoke.js"`;
217
+
218
+ // Define specific folders to run smoke tests from (subset of tests - approximately 60%)
219
+ const testFolders = [
220
+ "cypress/e2e/ILC/EssayResponse/**/*.smoke.js",
221
+ "cypress/e2e/ILC/MultipleSelection/**/*.smoke.js",
222
+ "cypress/e2e/ILC/DragAndDropIntoCategoriesNew/**/*.smoke.js",
223
+ "cypress/e2e/ILC/FillInTheGapsTextNew/**/*.smoke.js",
224
+ "cypress/e2e/ILC/FillInTheGapsDropdownNew/**/*.smoke.js",
225
+ "cypress/e2e/ILC/FillInTheGapsDragAndDropNew/**/*.smoke.js",
226
+ "cypress/e2e/ILC/UploadResponse/**/*.smoke.js",
227
+ "cypress/e2e/ILC/Matching/**/*.smoke.js",
228
+ "cypress/e2e/ILC/ShortTextResponseNew/**/*.smoke.js",
229
+ "cypress/e2e/ILC/ListOrderingNew/**/*.smoke.js",
230
+ "cypress/e2e/ILC/AudioResponseNew/**/*.smoke.js",
231
+ "cypress/e2e/ILC/SingleSelection/**/*.smoke.js",
232
+ "cypress/e2e/ILC/ThinkSphere/**/*.smoke.js",
233
+ "cypress/e2e/ILC/DrawingResponse/**/*.smoke.js",
234
+ "cypress/e2e/ILC/ContentBlocks/**/*.smoke.js"
235
+ ].join(",");
236
+
237
+ let command = `cy2 run --parallel --browser chrome --record --key imaginelearning/itemengine-cypress-automation --ci-build-id ${ciBuildId} ${envArgs} --spec "${testFolders}"`;
218
238
  console.log(`command: ${command}`);
239
+ console.log(`Running smoke tests from selected folders (subset)`);
219
240
  const isOtkv2 = process.env.OTK_VERSION === '2';
220
241
  try {
221
242
  execSync(command, { stdio: "inherit" });