diff --git a/playwright-tests/playwright.config.ts b/playwright-tests/playwright.config.ts index 90a7183eb..5d3be4118 100644 --- a/playwright-tests/playwright.config.ts +++ b/playwright-tests/playwright.config.ts @@ -37,7 +37,7 @@ if (!process.env.CI) { // Ortoni config const ortoniReportConfig: OrtoniReportConfig = { open: "never", - folderPath: 'playwright-tests/test-results', + folderPath: process.env.CI? 'ortoni-report': 'test-results', title: "Test Report", filename: `ortoni_report_${formatDateForFilename(new Date())}.html`, showProject: false, @@ -61,8 +61,8 @@ const jiraReportConfig: JiraReporterConfig = { jiraBoardId: process.env.JIRA_BOARD_ID || '' }, jiraCreationPermissions: { - isCreateTestSubtasks: false, - isCreateBugs: false + isCreateTestSubtasks: false, // TODO: Change back to process.env.IS_REGRESSION !== 'true', + isCreateBugs: false // TODO: Change back to process.env.IS_REGRESSION !== 'true' }, // Wrapped ortoni config ...ortoniReportConfig