mirror of
https://github.com/nasa/openmct.git
synced 2025-06-23 17:53:28 +00:00
fix(e2e): specify .nyc_output
path as custom config setting (#7658)
* fix: specify .nyc_output path as custom config setting * fix: coverage for mobile suite * fix: pathing in playwright configs
This commit is contained in:
@ -14,7 +14,7 @@ const config = {
|
||||
timeout: 30 * 1000,
|
||||
webServer: {
|
||||
command: 'npm run start:coverage',
|
||||
cwd: '../', // Provide cwd for the root of the project
|
||||
cwd: fileURLToPath(new URL('../', import.meta.url)), // Provide cwd for the root of the project
|
||||
url: 'http://localhost:8080/#',
|
||||
timeout: 200 * 1000,
|
||||
reuseExistingServer: true //This was originally disabled to prevent differences in local debugging vs. CI. However, it significantly speeds up local debugging.
|
||||
@ -28,7 +28,9 @@ const config = {
|
||||
ignoreHTTPSErrors: true,
|
||||
screenshot: 'only-on-failure',
|
||||
trace: 'on-first-retry',
|
||||
video: 'off'
|
||||
video: 'off',
|
||||
// @ts-ignore - custom configuration option for nyc codecoverage output path
|
||||
coveragePath: fileURLToPath(new URL('../.nyc_output', import.meta.url))
|
||||
},
|
||||
projects: [
|
||||
{
|
||||
|
Reference in New Issue
Block a user