Skip to content

Commit

Permalink
fix directory naming
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbo committed Nov 7, 2023
1 parent fe3a810 commit e8d558f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ci/pipeline-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,10 @@ resources:
secret_access_key: ((test-results-secret-access-key))
bucket: ((test-results-bucket))
region: us-gov-west-1
change_dir_to: src
options:
- "--exclude '*'"
- "--include 'src/playwright-report/*'"
- "--include 'playwright-report/*'"

############################
# RESOURCE TYPES
Expand Down
6 changes: 5 additions & 1 deletion playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ const { defineConfig, devices } = require('@playwright/test');
/**
* @see https://playwright.dev/docs/test-configuration
*/

const APP_ENV = process.env.APP_ENV || 'local';
const GIT_BRANCH = process.env.GIT_BRANCH || 'local';

module.exports = defineConfig({
testDir: './e2e',
/* Run tests in files in parallel */
Expand All @@ -22,7 +26,7 @@ module.exports = defineConfig({
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: [
['html', { host: '0.0.0.0', outputDir: `playwright-report/${process.env.APP_ENV}/${process.env.GIT_BRANCH}` }],
['html', { host: '0.0.0.0', outputFolder: `playwright-report/${APP_ENV}/${GIT_BRANCH}` }],
],
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
Expand Down

0 comments on commit e8d558f

Please sign in to comment.