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:
parent
e90bea161d
commit
cd5ddf946a
2 changed files with 6 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue