@allurereport/plugin-testops 3.10.0 → 3.12.0
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/dist/client.js +2 -1
- package/dist/model.d.ts +1 -0
- package/dist/utils/launches.d.ts +3 -0
- package/dist/utils/launches.js +4 -0
- package/package.json +6 -6
package/dist/client.js
CHANGED
|
@@ -17,6 +17,7 @@ import { chunk } from "lodash-es";
|
|
|
17
17
|
import pLimit from "p-limit";
|
|
18
18
|
import { bold } from "yoctocolors";
|
|
19
19
|
import { Logger } from "./logger.js";
|
|
20
|
+
import { testStatusToLaunchStatus } from "./utils/launches.js";
|
|
20
21
|
import { toUploadFixturesResultsDto, toUploadResultsDto } from "./utils/uploaderDto.js";
|
|
21
22
|
class TestOpsClientError extends AxiosError {
|
|
22
23
|
}
|
|
@@ -146,7 +147,7 @@ export class TestOpsClient {
|
|
|
146
147
|
jobRunUid: ci.jobRunUid,
|
|
147
148
|
jobUid: ci.jobUid,
|
|
148
149
|
projectId: __classPrivateFieldGet(this, _TestOpsClient_projectId, "f"),
|
|
149
|
-
status,
|
|
150
|
+
status: testStatusToLaunchStatus(status),
|
|
150
151
|
},
|
|
151
152
|
});
|
|
152
153
|
__classPrivateFieldSet(this, _TestOpsClient_uploadInProgress, false, "f");
|
package/dist/model.d.ts
CHANGED
|
@@ -221,6 +221,7 @@ export type TestOpsLaunch = {
|
|
|
221
221
|
createdDate: number;
|
|
222
222
|
lastModifiedDate: number;
|
|
223
223
|
};
|
|
224
|
+
export type TestOpsLaunchStatus = "passed" | "cancelled" | "unknown" | "failed";
|
|
224
225
|
export interface TestResultWithAttachments extends TestResult {
|
|
225
226
|
attachments: AttachmentLink[];
|
|
226
227
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allurereport/plugin-testops",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.12.0",
|
|
4
4
|
"description": "Allure Plugin TestOps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"allure",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"lint:fix": "oxlint --import-plugin --fix src test features stories"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@allurereport/ci": "3.
|
|
36
|
-
"@allurereport/core-api": "3.
|
|
37
|
-
"@allurereport/plugin-api": "3.
|
|
38
|
-
"@allurereport/reader-api": "3.
|
|
39
|
-
"@allurereport/service": "3.
|
|
35
|
+
"@allurereport/ci": "3.12.0",
|
|
36
|
+
"@allurereport/core-api": "3.12.0",
|
|
37
|
+
"@allurereport/plugin-api": "3.12.0",
|
|
38
|
+
"@allurereport/reader-api": "3.12.0",
|
|
39
|
+
"@allurereport/service": "3.12.0",
|
|
40
40
|
"axios": "^1.15.2",
|
|
41
41
|
"form-data": "^4.0.5",
|
|
42
42
|
"lodash-es": "^4.18.1",
|