@dev-blinq/cucumber_client 1.0.1415-dev → 1.0.1416-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.
@@ -129,10 +129,14 @@ export function getExamplesContent(parametersMap) {
129
129
  function getTagsContent(scenario, featureFileObject) {
130
130
  let oldTags = featureFileObject?.scenarios?.find((s) => s.name === scenario.name)?.tags ?? [];
131
131
  for (const tag of scenario.tags) {
132
- if (oldTags.includes(tag)) {
133
- oldTags = oldTags.filter((t) => t !== tag);
134
- } else {
135
- oldTags.push(tag);
132
+ if (tag === "global_test_data") {
133
+ if (!oldTags.includes("global_test_data")) {
134
+ oldTags.push("global_test_data");
135
+ }
136
+ }
137
+
138
+ if (tag === "remove_global_test_data") {
139
+ oldTags = oldTags.filter((t) => t !== "global_test_data");
136
140
  }
137
141
  }
138
142
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1415-dev",
3
+ "version": "1.0.1416-dev",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",