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 = {
|
const reportConfig: OrtoniReportConfig = {
|
||||||
port: 1994,
|
port: 1994,
|
||||||
open: "never",
|
open: "never",
|
||||||
folderPath: "artifacts/test-results",
|
folderPath: "ortoni-report",
|
||||||
filename: reportName,
|
filename: reportName,
|
||||||
logo: 'playwright-tests/business-logic/data/logo.png',
|
logo: 'playwright-tests/business-logic/data/logo.png',
|
||||||
title: "Test Report",
|
title: "Test Report",
|
||||||
showProject: false,
|
showProject: false,
|
||||||
projectName: "FMG-Nextgen-Playwright-Report",
|
projectName: "ISS-Nextgen-Playwright-Report",
|
||||||
testType: `E2E- Environment: ${process.env.NODE_ENV} `,
|
testType: `E2E- Environment: ${process.env.NODE_ENV} `,
|
||||||
preferredTheme: "light",
|
preferredTheme: "light",
|
||||||
base64Image: true,
|
base64Image: true,
|
||||||
|
|
|
||||||
|
|
@ -32,12 +32,13 @@ if (!process.env.CI) {
|
||||||
/**
|
/**
|
||||||
* See https://playwright.dev/docs/test-configuration.
|
* See https://playwright.dev/docs/test-configuration.
|
||||||
*/
|
*/
|
||||||
|
// Ortoni config
|
||||||
const reportConfig: OrtoniReportConfig = {
|
const reportConfig: OrtoniReportConfig = {
|
||||||
port: 1994,
|
port: 1994,
|
||||||
open: "never",
|
open: "never",
|
||||||
folderPath: "artifacts/test-results",
|
folderPath: "test-results",
|
||||||
filename: "index.html",
|
filename: "index.html",
|
||||||
logo: "../data/logo.png",
|
logo: "../business-logic/data/logo.png",
|
||||||
title: "Test Report",
|
title: "Test Report",
|
||||||
showProject: false,
|
showProject: false,
|
||||||
projectName: "FMG-Nextgen-Playwright-Report",
|
projectName: "FMG-Nextgen-Playwright-Report",
|
||||||
|
|
@ -46,6 +47,7 @@ const reportConfig: OrtoniReportConfig = {
|
||||||
base64Image: true,
|
base64Image: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
testDir: './tests',
|
testDir: './tests',
|
||||||
/* Run tests in files in parallel */
|
/* Run tests in files in parallel */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue