@testomatio/reporter 2.3.7-beta.2-xml-import → 2.3.7-beta.3-xml-import

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.
@@ -19,9 +19,9 @@ class CSharpAdapter extends adapter_js_1.default {
19
19
  });
20
20
  }
21
21
  }
22
- // For runs: keep full title with parameters for display
22
+ // Remove parameters from title to avoid duplicates in Test Suite
23
23
  // The example field will be used for grouping on import
24
- // Do NOT remove parameters from title
24
+ t.title = t.title.replace(/\(.*?\)/, '').trim();
25
25
  const suite = t.suite_title.split('.');
26
26
  t.suite_title = suite.pop();
27
27
  t.file = namespaceToFileName(t.file);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "2.3.7-beta.2-xml-import",
3
+ "version": "2.3.7-beta.3-xml-import",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "engines": {
6
6
  "node": ">=18"
@@ -16,9 +16,9 @@ class CSharpAdapter extends Adapter {
16
16
  }
17
17
  }
18
18
 
19
- // For runs: keep full title with parameters for display
19
+ // Remove parameters from title to avoid duplicates in Test Suite
20
20
  // The example field will be used for grouping on import
21
- // Do NOT remove parameters from title
21
+ t.title = t.title.replace(/\(.*?\)/, '').trim();
22
22
 
23
23
  const suite = t.suite_title.split('.');
24
24
  t.suite_title = suite.pop();