Updates report configuration and project name

Updates the report configuration to adjust folder paths, logo locations, and the project name, ensuring correct paths and the proper project is referenced in reports.
This commit is contained in:
maguire-arman 2025-05-09 15:34:12 -04:00
parent e90bea161d
commit cd5ddf946a
2 changed files with 6 additions and 4 deletions

View file

@ -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,

View file

@ -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 */