mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-06 03:16:17 +03:00
fix: remove unused TestInfo.stdout/stderr (#29076)
https://github.com/microsoft/playwright/issues/29062
This commit is contained in:
parent
4e877f270d
commit
db00aa7305
@ -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]>
|
||||
|
@ -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;
|
||||
|
10
packages/playwright/types/test.d.ts
vendored
10
packages/playwright/types/test.d.ts
vendored
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user