@stanterprise/playwright-reporter 0.0.12 → 0.0.13
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.
|
@@ -8,7 +8,11 @@ const utils_1 = require("../utils");
|
|
|
8
8
|
const common_1 = require("@stanterprise/protobuf/testsystem/v1/common");
|
|
9
9
|
function handleOnBeginEvent(config, suite, name, runId, client, options) {
|
|
10
10
|
// Report root suite and all child suites recursively
|
|
11
|
-
|
|
11
|
+
// Convert all metadata values to strings for protobuf compatibility
|
|
12
|
+
const metadataMap = new Map(Object.entries(config.metadata || {}).map(([key, value]) => [
|
|
13
|
+
key,
|
|
14
|
+
String(value),
|
|
15
|
+
]));
|
|
12
16
|
const variables = (0, utils_1.getEnvVariables)();
|
|
13
17
|
// Merge environment variables into metadata
|
|
14
18
|
variables.forEach((value, key) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stanterprise/playwright-reporter",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "Custom Playwright test reporter that sends test results to Stanterprise via gRPC",
|
|
5
5
|
"homepage": "https://github.com/stanterprise/stanterprise-playwright-reporter#readme",
|
|
6
6
|
"bugs": {
|