fix: remove unused TestInfo.stdout/stderr (#29076)

https://github.com/microsoft/playwright/issues/29062
This commit is contained in:
Max Schmitt 2024-01-22 19:22:31 +01:00 committed by GitHub
parent 4e877f270d
commit db00aa7305
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 24 deletions

View File

@ -416,18 +416,6 @@ test.afterEach(async ({}, testInfo) => {
});
```
## property: TestInfo.stderr
* since: v1.10
- type: <[Array]<[string]|[Buffer]>>
Output written to `process.stderr` or `console.error` during the test execution.
## property: TestInfo.stdout
* since: v1.10
- type: <[Array]<[string]|[Buffer]>>
Output written to `process.stdout` or `console.log` during the test execution.
## property: TestInfo.timeout
* since: v1.10
- type: <[int]>

View File

@ -88,8 +88,6 @@ export class TestInfoImpl implements TestInfo {
readonly annotations: Annotation[] = [];
readonly attachments: TestInfo['attachments'] = [];
status: TestStatus = 'passed';
readonly stdout: TestInfo['stdout'] = [];
readonly stderr: TestInfo['stderr'] = [];
snapshotSuffix: string = '';
readonly outputDir: string;
readonly snapshotDir: string;

View File

@ -2307,16 +2307,6 @@ export interface TestInfo {
*/
status?: "passed"|"failed"|"timedOut"|"skipped"|"interrupted";
/**
* Output written to `process.stderr` or `console.error` during the test execution.
*/
stderr: Array<string|Buffer>;
/**
* Output written to `process.stdout` or `console.log` during the test execution.
*/
stdout: Array<string|Buffer>;
/**
* Test id matching the test case id in the reporter API.
*/