Update npm packages (73 packages including @jqhtml 2.3.36)
Update npm registry domain from privatenpm.hanson.xyz to npm.internal.hanson.xyz 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
17
node_modules/playwright/lib/isomorphic/teleReceiver.js
generated
vendored
17
node_modules/playwright/lib/isomorphic/teleReceiver.js
generated
vendored
@@ -58,6 +58,10 @@ class TeleReporterReceiver {
|
||||
this._onTestBegin(params.testId, params.result);
|
||||
return;
|
||||
}
|
||||
if (method === "onTestPaused") {
|
||||
this._onTestPaused(params.testId, params.resultId, params.errors);
|
||||
return;
|
||||
}
|
||||
if (method === "onTestEnd") {
|
||||
this._onTestEnd(params.test, params.result);
|
||||
return;
|
||||
@@ -116,6 +120,13 @@ class TeleReporterReceiver {
|
||||
testResult.setStartTimeNumber(payload.startTime);
|
||||
this._reporter.onTestBegin?.(test, testResult);
|
||||
}
|
||||
_onTestPaused(testId, resultId, errors) {
|
||||
const test = this._tests.get(testId);
|
||||
const result = test.results.find((r) => r._id === resultId);
|
||||
result.errors.push(...errors);
|
||||
result.error = result.errors[0];
|
||||
void this._reporter.onTestPaused?.(test, result);
|
||||
}
|
||||
_onTestEnd(testEndPayload, payload) {
|
||||
const test = this._tests.get(testEndPayload.testId);
|
||||
test.timeout = testEndPayload.timeout;
|
||||
@@ -123,8 +134,8 @@ class TeleReporterReceiver {
|
||||
const result = test.results.find((r) => r._id === payload.id);
|
||||
result.duration = payload.duration;
|
||||
result.status = payload.status;
|
||||
result.errors = payload.errors;
|
||||
result.error = result.errors?.[0];
|
||||
result.errors.push(...payload.errors ?? []);
|
||||
result.error = result.errors[0];
|
||||
if (!!payload.attachments)
|
||||
result.attachments = this._parseAttachments(payload.attachments);
|
||||
if (payload.annotations) {
|
||||
@@ -448,6 +459,8 @@ const baseFullConfig = {
|
||||
tags: [],
|
||||
updateSnapshots: "missing",
|
||||
updateSourceMethod: "patch",
|
||||
// @ts-expect-error runAgents is hidden
|
||||
runAgents: "none",
|
||||
version: "",
|
||||
workers: 0,
|
||||
webServer: null
|
||||
|
||||
Reference in New Issue
Block a user