testit-adapter-playwright 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 +2 -1
- package/dist/converter.js +1 -0
- package/dist/labels.d.ts +2 -0
- package/dist/labels.js +5 -0
- package/dist/reporter.js +3 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -125,7 +125,8 @@ Description of metadata methods:
|
|
|
125
125
|
- `testit.externalId` - ID of the autotest within the project in the Test IT System
|
|
126
126
|
- `testit.title` - title in the autotest card
|
|
127
127
|
- `testit.description` - description in the autotest card
|
|
128
|
-
- `testit.labels` -
|
|
128
|
+
- `testit.labels` - labels in the autotest card
|
|
129
|
+
- `testit.tags` - tags in the autotest card
|
|
129
130
|
- `testit.links` - links in the autotest card
|
|
130
131
|
- `testit.namespace` - directory in the TMS system (default - directory's name of test)
|
|
131
132
|
- `testit.classname` - subdirectory in the TMS system (default - file's name of test)
|
package/dist/converter.js
CHANGED
package/dist/labels.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export interface MetadataMessage {
|
|
|
6
6
|
title?: string;
|
|
7
7
|
description?: string;
|
|
8
8
|
labels?: Label[];
|
|
9
|
+
tags?: string[];
|
|
9
10
|
links?: Link[];
|
|
10
11
|
namespace?: string;
|
|
11
12
|
classname?: string;
|
|
@@ -54,6 +55,7 @@ export declare class testit {
|
|
|
54
55
|
static title(value: string): Promise<void>;
|
|
55
56
|
static description(value: string): Promise<void>;
|
|
56
57
|
static labels(value: string[]): Promise<void>;
|
|
58
|
+
static tags(value: string[]): Promise<void>;
|
|
57
59
|
static links(value: Link[]): Promise<void>;
|
|
58
60
|
static namespace(value: string): Promise<void>;
|
|
59
61
|
static classname(value: string): Promise<void>;
|
package/dist/labels.js
CHANGED
|
@@ -98,6 +98,11 @@ class testit {
|
|
|
98
98
|
labels: value.map((label) => ({ name: label })),
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
|
+
static async tags(value) {
|
|
102
|
+
await this.addMetadataAttachment({
|
|
103
|
+
tags: value,
|
|
104
|
+
});
|
|
105
|
+
}
|
|
101
106
|
static async links(value) {
|
|
102
107
|
await this.addMetadataAttachment({
|
|
103
108
|
links: value,
|
package/dist/reporter.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testit-adapter-playwright",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.2",
|
|
4
4
|
"description": "Playwright adapter for Test IT",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"prettier": "^3.0.1"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"testit-js-commons": "3.7.
|
|
43
|
+
"testit-js-commons": "3.7.2"
|
|
44
44
|
},
|
|
45
45
|
"files": [
|
|
46
46
|
"dist"
|