mirror of
https://github.com/blackboxprogramming/alexa-amundson-portfolio.git
synced 2026-03-18 06:34:00 -05:00
- Express server with Stripe Checkout sessions, webhooks, and service catalog - Frontend checkout page wired to Stripe API (consultation, audit, retainer) - Playwright E2E tests covering health, services, checkout flow, and portfolio - deploy-to-pi.sh: rsync + systemd deployment to Raspberry Pi(s) - GitHub Actions workflow: run E2E tests then auto-deploy to Pi on merge - Replace BlackRoad proprietary license with MIT - Remove 11 bloated marketing/verification docs and fake metrics - Clean up BlackRoad branding from homepage and workflows https://claude.ai/code/session_01FmCd6rGDd2jS8JNzyL4e5G
26 lines
661 B
JavaScript
26 lines
661 B
JavaScript
const { defineConfig } = require('@playwright/test');
|
|
|
|
module.exports = defineConfig({
|
|
testDir: './tests/e2e',
|
|
timeout: 30000,
|
|
retries: 1,
|
|
reporter: [['html', { open: 'never' }], ['list']],
|
|
use: {
|
|
baseURL: 'http://localhost:3000',
|
|
headless: true,
|
|
screenshot: 'only-on-failure',
|
|
},
|
|
webServer: {
|
|
command: 'node server.js',
|
|
port: 3000,
|
|
timeout: 10000,
|
|
reuseExistingServer: true,
|
|
env: {
|
|
PORT: '3000',
|
|
STRIPE_SECRET_KEY: process.env.STRIPE_SECRET_KEY || 'sk_test_placeholder',
|
|
STRIPE_PUBLISHABLE_KEY: process.env.STRIPE_PUBLISHABLE_KEY || 'pk_test_placeholder',
|
|
NODE_ENV: 'test',
|
|
},
|
|
},
|
|
});
|