_result
This commit is contained in:
parent
f40782d9ac
commit
0fcbabc9c4
|
|
@ -516,7 +516,7 @@ class TeleTestStep implements reporterTypes.TestStep {
|
||||||
steps: reporterTypes.TestStep[] = [];
|
steps: reporterTypes.TestStep[] = [];
|
||||||
error: reporterTypes.TestError | undefined;
|
error: reporterTypes.TestError | undefined;
|
||||||
|
|
||||||
private result: TeleTestResult;
|
private _result: TeleTestResult;
|
||||||
_endPayload?: JsonTestStepEnd;
|
_endPayload?: JsonTestStepEnd;
|
||||||
|
|
||||||
private _startTime: number = 0;
|
private _startTime: number = 0;
|
||||||
|
|
@ -527,7 +527,7 @@ class TeleTestStep implements reporterTypes.TestStep {
|
||||||
this.location = location;
|
this.location = location;
|
||||||
this.parent = parentStep;
|
this.parent = parentStep;
|
||||||
this._startTime = payload.startTime;
|
this._startTime = payload.startTime;
|
||||||
this.result = result;
|
this._result = result;
|
||||||
}
|
}
|
||||||
|
|
||||||
titlePath() {
|
titlePath() {
|
||||||
|
|
@ -544,7 +544,7 @@ class TeleTestStep implements reporterTypes.TestStep {
|
||||||
}
|
}
|
||||||
|
|
||||||
get attachments() {
|
get attachments() {
|
||||||
return this._endPayload?.attachments?.map(index => this.result.attachments[index]) ?? [];
|
return this._endPayload?.attachments?.map(index => this._result.attachments[index]) ?? [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue