diff --git a/README.md b/README.md index 927ffea..6ccbca2 100644 --- a/README.md +++ b/README.md @@ -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 | diff --git a/src/models/configs.ts b/src/models/configs.ts index 2031534..7c7066a 100644 --- a/src/models/configs.ts +++ b/src/models/configs.ts @@ -43,15 +43,17 @@ export interface AttachmentsConfig { } export interface ReportPortalConfig extends ClientConfig, AttachmentsConfig { + // common options launchId?: string; attributes?: Array; description?: string; rerun?: boolean; rerunOf?: string; mode?: LAUNCH_MODES; - extendTestDescriptionWithLastError?: boolean; + // agent specific options skippedIssue?: boolean; includeTestSteps?: boolean; includePlaywrightProjectNameToCodeReference?: boolean; + extendTestDescriptionWithLastError?: boolean; }