mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 17:15:41 -04:00
build(deps): bump playwright from 1.49.1 to 1.50.1
This commit is contained in:
14
node_modules/playwright/lib/isomorphic/teleReceiver.js
generated
vendored
14
node_modules/playwright/lib/isomorphic/teleReceiver.js
generated
vendored
@@ -137,7 +137,7 @@ class TeleReporterReceiver {
|
||||
const result = test.results.find(r => r._id === resultId);
|
||||
const parentStep = payload.parentStepId ? result._stepMap.get(payload.parentStepId) : undefined;
|
||||
const location = this._absoluteLocation(payload.location);
|
||||
const step = new TeleTestStep(payload, parentStep, location);
|
||||
const step = new TeleTestStep(payload, parentStep, location, result);
|
||||
if (parentStep) parentStep.steps.push(step);else result.steps.push(step);
|
||||
result._stepMap.set(payload.id, step);
|
||||
(_this$_reporter$onSte = (_this$_reporter5 = this._reporter).onStepBegin) === null || _this$_reporter$onSte === void 0 || _this$_reporter$onSte.call(_this$_reporter5, test, result, step);
|
||||
@@ -147,6 +147,7 @@ class TeleReporterReceiver {
|
||||
const test = this._tests.get(testId);
|
||||
const result = test.results.find(r => r._id === resultId);
|
||||
const step = result._stepMap.get(payload.id);
|
||||
step._endPayload = payload;
|
||||
step.duration = payload.duration;
|
||||
step.error = payload.error;
|
||||
(_this$_reporter$onSte2 = (_this$_reporter6 = this._reporter).onStepEnd) === null || _this$_reporter$onSte2 === void 0 || _this$_reporter$onSte2.call(_this$_reporter6, test, result, step);
|
||||
@@ -360,19 +361,23 @@ class TeleTestCase {
|
||||
}
|
||||
exports.TeleTestCase = TeleTestCase;
|
||||
class TeleTestStep {
|
||||
constructor(payload, parentStep, location) {
|
||||
constructor(payload, parentStep, location, result) {
|
||||
this.title = void 0;
|
||||
this.category = void 0;
|
||||
this.location = void 0;
|
||||
this.parent = void 0;
|
||||
this.duration = -1;
|
||||
this.steps = [];
|
||||
this.error = void 0;
|
||||
this._result = void 0;
|
||||
this._endPayload = void 0;
|
||||
this._startTime = 0;
|
||||
this.title = payload.title;
|
||||
this.category = payload.category;
|
||||
this.location = location;
|
||||
this.parent = parentStep;
|
||||
this._startTime = payload.startTime;
|
||||
this._result = result;
|
||||
}
|
||||
titlePath() {
|
||||
var _this$parent2;
|
||||
@@ -385,6 +390,10 @@ class TeleTestStep {
|
||||
set startTime(value) {
|
||||
this._startTime = +value;
|
||||
}
|
||||
get attachments() {
|
||||
var _this$_endPayload$att, _this$_endPayload;
|
||||
return (_this$_endPayload$att = (_this$_endPayload = this._endPayload) === null || _this$_endPayload === void 0 || (_this$_endPayload = _this$_endPayload.attachments) === null || _this$_endPayload === void 0 ? void 0 : _this$_endPayload.map(index => this._result.attachments[index])) !== null && _this$_endPayload$att !== void 0 ? _this$_endPayload$att : [];
|
||||
}
|
||||
}
|
||||
class TeleTestResult {
|
||||
constructor(retry, id) {
|
||||
@@ -438,6 +447,7 @@ const baseFullConfig = exports.baseFullConfig = {
|
||||
quiet: false,
|
||||
shard: null,
|
||||
updateSnapshots: 'missing',
|
||||
updateSourceMethod: 'patch',
|
||||
version: '',
|
||||
workers: 0,
|
||||
webServer: null
|
||||
|
||||
Reference in New Issue
Block a user