@dev-blinq/cucumber_client 1.0.1198-dev → 1.0.1200-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.
@@ -947,7 +947,7 @@ class BVTRecorder {
947
947
  value: el.value,
948
948
  tagName: el.tagName,
949
949
  text: el.textContent,
950
- type: el.getAttribute("type"),
950
+ type: el.type, // el.getAttribute("type"),
951
951
  disabled: el.disabled,
952
952
  readOnly: el.readOnly,
953
953
  required: el.required,
@@ -5,7 +5,7 @@ import { parseStepTextParameters, toCucumberExpression, unEscapeNonPrintables }
5
5
  import { AstBuilder, GherkinClassicTokenMatcher, Parser, compile } from "@cucumber/gherkin";
6
6
  import { IdGenerator } from "@cucumber/messages";
7
7
  import { testStringForRegex } from "../recorderv3/update_feature.js";
8
-
8
+ import path from 'path';
9
9
  class DataTable {
10
10
  constructor(dataTableDocument) {
11
11
  if (!dataTableDocument) {
@@ -322,7 +322,7 @@ class Feature {
322
322
  const fileContent = fs.readFileSync(failedFile, "utf8");
323
323
  if (fileContent.includes(stepName)) {
324
324
  stepInfo.implemented = true;
325
- stepInfo.mjsFile = failedFile;
325
+ stepInfo.mjsFile = failedFile.slice(path.normalize(failedFile).indexOf("features/step_definitions"));
326
326
  stepInfo.functionName = stepName;
327
327
  stepInfo.error = errorsInParsing[k].error;
328
328
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1198-dev",
3
+ "version": "1.0.1200-dev",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",