testit-adapter-codecept 3.7.0 → 3.7.2

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/README.md CHANGED
@@ -135,7 +135,8 @@ Description of metadata methods:
135
135
  - `externalId` - unique internal autotest ID (used in Test IT)
136
136
  - `title` - autotest name specified in the autotest card. If not specified, the name from the displayName method is used
137
137
  - `description` - autotest description specified in the autotest card
138
- - `labels` - tags listed in the autotest card
138
+ - `labels` - labels listed in the autotest card
139
+ - `tags` - tags listed in the autotest card
139
140
  - `link` - links listed in the autotest card
140
141
  - `namespace` - directory in the TMS system
141
142
  - `classname` - subdirectory in the TMS system
@@ -4,7 +4,7 @@ exports.TestsBuilder = void 0;
4
4
  const utils_1 = require("../common/utils");
5
5
  class TestsBuilder {
6
6
  static build(test) {
7
- var _a, _b, _c, _d, _e;
7
+ var _a, _b, _c, _d, _e, _f;
8
8
  const config = (0, utils_1.useConfig)(test);
9
9
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
10
10
  // @ts-ignore
@@ -15,12 +15,13 @@ class TestsBuilder {
15
15
  title: config === null || config === void 0 ? void 0 : config.title,
16
16
  name: (_a = config === null || config === void 0 ? void 0 : config.displayName) !== null && _a !== void 0 ? _a : test.title,
17
17
  labels: ((_b = config === null || config === void 0 ? void 0 : config.labels) !== null && _b !== void 0 ? _b : []).map((label) => ({ name: label })),
18
- description: (_c = config === null || config === void 0 ? void 0 : config.description) !== null && _c !== void 0 ? _c : "",
18
+ tags: (_c = config === null || config === void 0 ? void 0 : config.tags) !== null && _c !== void 0 ? _c : [],
19
+ description: (_d = config === null || config === void 0 ? void 0 : config.description) !== null && _d !== void 0 ? _d : "",
19
20
  steps: this.buildManySteps(test.steps),
20
21
  setup,
21
- links: (_d = config === null || config === void 0 ? void 0 : config.links) !== null && _d !== void 0 ? _d : [],
22
+ links: (_e = config === null || config === void 0 ? void 0 : config.links) !== null && _e !== void 0 ? _e : [],
22
23
  teardown,
23
- externalId: (_e = (0, utils_1.useDefaultHash)(test)) !== null && _e !== void 0 ? _e : (0, utils_1.useCompositeHash)(test),
24
+ externalId: (_f = (0, utils_1.useDefaultHash)(test)) !== null && _f !== void 0 ? _f : (0, utils_1.useCompositeHash)(test),
24
25
  namespace: config === null || config === void 0 ? void 0 : config.nameSpace,
25
26
  classname: config === null || config === void 0 ? void 0 : config.className,
26
27
  externalKey: test.title,
@@ -7,6 +7,7 @@ export declare namespace Origin {
7
7
  externalId?: string;
8
8
  links: Link[];
9
9
  labels?: string[];
10
+ tags?: string[];
10
11
  workItemIds?: [];
11
12
  classname?: string;
12
13
  namespace?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testit-adapter-codecept",
3
- "version": "3.7.0",
3
+ "version": "3.7.2",
4
4
  "description": "Codecept adapter for Test IT",
5
5
  "keywords": [],
6
6
  "author": {
@@ -15,7 +15,7 @@
15
15
  "watch": "tsc -p tsconfig.json -w"
16
16
  },
17
17
  "dependencies": {
18
- "testit-js-commons": "3.7.0"
18
+ "testit-js-commons": "3.7.2"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@codeceptjs/configure": "^0.10.0",