Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AmsterGet committed Nov 15, 2023
1 parent 16ef835 commit e6c2ffe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ The full list of available options presented below.
| launchUuidPrintOutput | Optional | 'STDOUT' | Launch UUID printing output. Possible values: 'STDOUT', 'STDERR'. Works only if `launchUuidPrint` set to `true`. |
| includeTestSteps | Optional | false | Allows you to see the test steps at the log level. |
| includePlaywrightProjectNameToCodeReference | Optional | false | Includes Playwright project name to code reference. See [`testCaseId and codeRef calculation`](#setTestCaseId). It may be useful when you want to see the different history for the same test cases within different playwright projects. |
| extendTestDescriptionWithLastError | Optional | true | If set to `true` the last error log will be attached to the test case description and reported on the `error` log level |
| uploadVideo | Optional | true | Whether to attach the Playwright's [video](https://playwright.dev/docs/api/class-testoptions#test-options-video) to the test case. |
| uploadTrace | Optional | true | Whether to attach the Playwright's [trace](https://playwright.dev/docs/api/class-testoptions#test-options-trace) to the test case. |
| token | Deprecated | Not set | Use `apiKey` instead. |
| extendTestDescriptionWithLastError | Optional | true | If set to `true` the last error log will be attached to the test case description and reported on the `error` log level |

The following options can be overridden using ENVIRONMENT variables:

| Option | ENV variable |
Expand Down
4 changes: 3 additions & 1 deletion src/models/configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,17 @@ export interface AttachmentsConfig {
}

export interface ReportPortalConfig extends ClientConfig, AttachmentsConfig {
// common options
launchId?: string;
attributes?: Array<Attribute>;
description?: string;
rerun?: boolean;
rerunOf?: string;
mode?: LAUNCH_MODES;
extendTestDescriptionWithLastError?: boolean;

// agent specific options
skippedIssue?: boolean;
includeTestSteps?: boolean;
includePlaywrightProjectNameToCodeReference?: boolean;
extendTestDescriptionWithLastError?: boolean;
}

0 comments on commit e6c2ffe

Please sign in to comment.