testit-adapter-codecept 5.0.4 → 5.0.6

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
@@ -146,6 +146,7 @@ Description of metadata methods:
146
146
  - `title` - autotest name specified in the autotest card. If not specified, the name from the displayName method is used
147
147
  - `description` - autotest description specified in the autotest card
148
148
  - `labels` - labels listed in the autotest card
149
+ - `layer` - test pyramid layer in the autotest card (source **Run**). Use `TestLayers` from `testit-js-commons` for recommended values, or any custom string
149
150
  - `tags` - tags listed in the autotest card
150
151
  - `link` - links listed in the autotest card
151
152
  - `namespace` - directory in the TMS system
@@ -170,6 +171,7 @@ Scenario(
170
171
  title: 'Title',
171
172
  description: 'Description',
172
173
  labels: ['Custom label'],
174
+ layer: 'API',
173
175
  links: [
174
176
  {
175
177
  title: 'Google about this error',
@@ -15,6 +15,7 @@ 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
+ layer: config === null || config === void 0 ? void 0 : config.layer,
18
19
  tags: (_c = config === null || config === void 0 ? void 0 : config.tags) !== null && _c !== void 0 ? _c : [],
19
20
  description: (_d = config === null || config === void 0 ? void 0 : config.description) !== null && _d !== void 0 ? _d : "",
20
21
  steps: this.buildManySteps(test.steps),
@@ -7,6 +7,7 @@ export declare namespace Origin {
7
7
  externalId?: string;
8
8
  links: Link[];
9
9
  labels?: string[];
10
+ layer?: string;
10
11
  tags?: string[];
11
12
  workItemIds?: [];
12
13
  classname?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testit-adapter-codecept",
3
- "version": "5.0.4",
3
+ "version": "5.0.6",
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": "5.0.4"
18
+ "testit-js-commons": "5.0.6"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@codeceptjs/configure": "^0.10.0",