New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@empiricalrun/reporter

Package Overview
Dependencies
Maintainers
0
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@empiricalrun/reporter - npm Package Compare versions

Comparing version 0.17.5 to 0.17.7

12

CHANGELOG.md
# @empiricalrun/reporter
## 0.17.7
### Patch Changes
- 6d954fd: feat: use custom playwright reporter
## 0.17.6
### Patch Changes
- d1068e6: fix: multiple session details call and missing generation id in requests
## 0.17.5

@@ -4,0 +16,0 @@

1

dist/index.d.ts

@@ -11,2 +11,3 @@ import { MessageBuilder } from "./types";

testCaseName: string;
generationId: number;
testGroup: string;

@@ -13,0 +14,0 @@ } | undefined);

2

dist/index.js

@@ -29,3 +29,3 @@ "use strict";

this.sinks = [
new dashboard_1.DashboardSink(config?.testSessionId, config?.projectRepoName, config?.testCaseName, config?.testGroup),
new dashboard_1.DashboardSink(config?.testSessionId, config?.projectRepoName, config?.testCaseName, config?.testGroup, config?.generationId),
];

@@ -32,0 +32,0 @@ }

@@ -18,2 +18,3 @@ "use strict";

message: this.props.message,
messageType: "message",
};

@@ -36,2 +37,3 @@ }

message: this.props.message,
messageType: "message",
};

@@ -38,0 +40,0 @@ }

@@ -7,3 +7,4 @@ import { DashboardMessagePayload, MessageBuilder, Sink } from "../../types";

private testGroup?;
constructor(testSessionId?: number | undefined, projectRepoName?: string | undefined, testCaseName?: string | undefined, testGroup?: string | undefined);
private generationId?;
constructor(testSessionId?: number | undefined, projectRepoName?: string | undefined, testCaseName?: string | undefined, testGroup?: string | undefined, generationId?: number | undefined);
sendUsingMessageBuilder(messageBuilder: MessageBuilder): Promise<void>;

@@ -10,0 +11,0 @@ send(message: DashboardMessagePayload): Promise<void>;

@@ -10,3 +10,4 @@ "use strict";

testGroup;
constructor(testSessionId, projectRepoName, testCaseName, testGroup) {
generationId;
constructor(testSessionId, projectRepoName, testCaseName, testGroup, generationId) {
this.testSessionId = testSessionId;

@@ -16,2 +17,3 @@ this.projectRepoName = projectRepoName;

this.testGroup = testGroup;
this.generationId = generationId;
}

@@ -25,2 +27,3 @@ async sendUsingMessageBuilder(messageBuilder) {

testGroup: this.testGroup,
generationId: this.generationId,
},

@@ -27,0 +30,0 @@ });

@@ -43,2 +43,3 @@ "use strict";

pull_request: this.prLink,
messageType: "message",
};

@@ -58,2 +59,3 @@ await this.send(payload);

pull_request: this.prLink,
messageType: "message",
};

@@ -68,2 +70,3 @@ await this.send(payload);

pull_request: this.prLink,
messageType: "message",
};

@@ -79,2 +82,3 @@ await this.send(payload);

pull_request: this.prLink,
messageType: "message",
};

@@ -89,2 +93,3 @@ await this.send(payload);

pull_request: this.prLink,
messageType: "message",
};

@@ -91,0 +96,0 @@ await this.send(payload);

@@ -12,3 +12,3 @@ "use strict";

const base_1 = require("./base");
const defaultLocation = path_1.default.join(process.cwd(), "test-results", "summary.json");
const defaultLocation = path_1.default.join(process.cwd(), "playwright-report", "summary.json");
class PlaywrightReportSource {

@@ -27,3 +27,3 @@ projectName;

getSummaryReportUrl() {
return `https://reports.empirical.run/${this.projectName}/${this.runId}/test-results/summary.json`;
return `https://reports.empirical.run/${this.projectName}/${this.runId}/summary.json`;
}

@@ -30,0 +30,0 @@ async reportExists() {

@@ -34,2 +34,3 @@ export declare enum WorkflowType {

message: string;
messageType: "message" | "gen:trace" | "gen:image" | "gen:video";
pull_request?: string;

@@ -39,2 +40,3 @@ testCaseName?: string;

testSessionId?: number;
generationId?: number;
testGroup?: string;

@@ -41,0 +43,0 @@ };

{
"name": "@empiricalrun/reporter",
"version": "0.17.5",
"version": "0.17.7",
"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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc