@dev-blinq/cucumber_client 1.0.1611-dev → 1.0.1612-dev

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.
@@ -200,7 +200,7 @@ export class BVTRecorder {
200
200
  this.workspaceService = new PublishService(this.TOKEN);
201
201
  this.pageSet = new Set();
202
202
  this.lastKnownUrlPath = "";
203
- this.world = { attach: () => {} };
203
+ this.world = { attach: () => { } };
204
204
  this.shouldTakeScreenshot = true;
205
205
  this.watcher = null;
206
206
  this.networkEventsFolder = path.join(tmpdir(), "blinq_network_events");
@@ -322,7 +322,7 @@ export class BVTRecorder {
322
322
  }
323
323
 
324
324
  // this.stepRunner.setRemoteDebugPort(this.#remoteDebuggerPort);
325
- this.world = { attach: () => {} };
325
+ this.world = { attach: () => { } };
326
326
 
327
327
  const ai_config_file = path.join(this.projectDir, "ai_config.json");
328
328
  let ai_config = {};
@@ -824,7 +824,7 @@ export class BVTRecorder {
824
824
  }
825
825
  async closeBrowser() {
826
826
  delete process.env.TEMP_RUN;
827
- await this.watcher.close().then(() => {});
827
+ await this.watcher.close().then(() => { });
828
828
  this.watcher = null;
829
829
  this.previousIndex = null;
830
830
  this.previousHistoryLength = null;
@@ -978,7 +978,7 @@ export class BVTRecorder {
978
978
  this.bvtContext.navigate = false;
979
979
  }
980
980
  }
981
- async saveScenario({ scenario, featureName, override, isSingleStep, branch, isEditing }) {
981
+ async saveScenario({ scenario, featureName, override, isSingleStep, branch, isEditing, env }) {
982
982
  // await updateStepDefinitions({ scenario, featureName, projectDir: this.projectDir }); // updates mjs files
983
983
  // if (!isSingleStep) await updateFeatureFile({ featureName, scenario, override, projectDir: this.projectDir }); // updates gherkin files
984
984
  const res = await this.workspaceService.saveScenario({
@@ -989,6 +989,7 @@ export class BVTRecorder {
989
989
  branch,
990
990
  isEditing,
991
991
  projectId: path.basename(this.projectDir),
992
+ env,
992
993
  });
993
994
  if (res.success) {
994
995
  await this.cleanup({ tags: scenario.tags });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1611-dev",
3
+ "version": "1.0.1612-dev",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",