diff --git a/playwright-tests/impl/reporter/JiraWritebackReporter.ts b/playwright-tests/impl/reporter/JiraWritebackReporter.ts index b94d2315e..6f228be00 100644 --- a/playwright-tests/impl/reporter/JiraWritebackReporter.ts +++ b/playwright-tests/impl/reporter/JiraWritebackReporter.ts @@ -18,12 +18,12 @@ const reportName = `ortoni_report_${currentDate}.html`; const reportConfig: OrtoniReportConfig = { port: 1994, open: "never", - folderPath: "artifacts/test-results", + folderPath: "ortoni-report", filename: reportName, logo: 'playwright-tests/business-logic/data/logo.png', title: "Test Report", showProject: false, - projectName: "FMG-Nextgen-Playwright-Report", + projectName: "ISS-Nextgen-Playwright-Report", testType: `E2E- Environment: ${process.env.NODE_ENV} `, preferredTheme: "light", base64Image: true, diff --git a/playwright-tests/playwright.config.ts b/playwright-tests/playwright.config.ts index 93de9ce98..10bde4030 100644 --- a/playwright-tests/playwright.config.ts +++ b/playwright-tests/playwright.config.ts @@ -32,12 +32,13 @@ if (!process.env.CI) { /** * See https://playwright.dev/docs/test-configuration. */ +// Ortoni config const reportConfig: OrtoniReportConfig = { port: 1994, open: "never", - folderPath: "artifacts/test-results", + folderPath: "test-results", filename: "index.html", - logo: "../data/logo.png", + logo: "../business-logic/data/logo.png", title: "Test Report", showProject: false, projectName: "FMG-Nextgen-Playwright-Report", @@ -46,6 +47,7 @@ const reportConfig: OrtoniReportConfig = { base64Image: true, }; + export default defineConfig({ testDir: './tests', /* Run tests in files in parallel */