@empiricalrun/reporter
Advanced tools
Comparing version 0.13.0 to 0.13.1
# @empiricalrun/reporter | ||
## 0.13.1 | ||
### Patch Changes | ||
- a1bdd4c: fix: missing messages in dashboard while creating test | ||
## 0.13.0 | ||
@@ -4,0 +10,0 @@ |
@@ -11,2 +11,3 @@ import { MessageBuilder } from "./types"; | ||
testCaseName: string; | ||
testGroup: string; | ||
} | undefined); | ||
@@ -13,0 +14,0 @@ report(messageBuilder: MessageBuilder): Promise<void>; |
@@ -29,3 +29,3 @@ "use strict"; | ||
this.sinks = [ | ||
new dashboard_1.DashboardSink(config?.testSessionId, config?.projectRepoName, config?.testCaseName), | ||
new dashboard_1.DashboardSink(config?.testSessionId, config?.projectRepoName, config?.testCaseName, config?.testGroup), | ||
]; | ||
@@ -32,0 +32,0 @@ } |
@@ -6,3 +6,4 @@ import { DashboardMessagePayload, MessageBuilder, Sink } from "../../types"; | ||
private testCaseName?; | ||
constructor(testSessionId?: number | undefined, projectRepoName?: string | undefined, testCaseName?: string | undefined); | ||
private testGroup?; | ||
constructor(testSessionId?: number | undefined, projectRepoName?: string | undefined, testCaseName?: string | undefined, testGroup?: string | undefined); | ||
sendUsingMessageBuilder(messageBuilder: MessageBuilder): Promise<void>; | ||
@@ -9,0 +10,0 @@ send(message: DashboardMessagePayload): Promise<void>; |
@@ -9,6 +9,8 @@ "use strict"; | ||
testCaseName; | ||
constructor(testSessionId, projectRepoName, testCaseName) { | ||
testGroup; | ||
constructor(testSessionId, projectRepoName, testCaseName, testGroup) { | ||
this.testSessionId = testSessionId; | ||
this.projectRepoName = projectRepoName; | ||
this.testCaseName = testCaseName; | ||
this.testGroup = testGroup; | ||
} | ||
@@ -21,2 +23,3 @@ async sendUsingMessageBuilder(messageBuilder) { | ||
testCaseName: this.testCaseName, | ||
testGroup: this.testGroup, | ||
}, | ||
@@ -23,0 +26,0 @@ }); |
@@ -36,2 +36,3 @@ export declare enum WorkflowType { | ||
testSessionId?: number; | ||
testGroup?: string; | ||
}; | ||
@@ -38,0 +39,0 @@ export interface MessageBuilder { |
{ | ||
"name": "@empiricalrun/reporter", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "registry": "https://registry.npmjs.org/", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
68533
1495