- Add HVAC_Test_User_Factory class with: * User creation with specific roles * Multiple role support * Persona management system * Account cleanup integration - Create comprehensive test suite in HVAC_Test_User_Factory_Test.php - Update testing improvement plan documentation - Add implementation decisions to project memory bank - Restructure .gitignore with: * Whitelist approach for better file management * Explicit backup exclusions * Specific bin directory inclusions Part of the Account Management component from the testing framework improvement plan.
33 lines
No EOL
800 B
TypeScript
33 lines
No EOL
800 B
TypeScript
import type { PlaywrightTestConfig } from '@playwright/test';
|
|
|
|
import * as path from 'path';
|
|
|
|
const config: PlaywrightTestConfig = {
|
|
testDir: './tests',
|
|
globalSetup: require.resolve('./global-setup'), // Add global setup script
|
|
timeout: 30000,
|
|
forbidOnly: !!process.env.CI,
|
|
retries: process.env.CI ? 2 : 0,
|
|
workers: process.env.CI ? 1 : undefined,
|
|
reporter: [
|
|
['list'],
|
|
['html', { open: 'never' }],
|
|
['junit', { outputFile: '../test-results/e2e-results.xml' }]
|
|
],
|
|
use: {
|
|
baseURL: process.env.UPSKILL_STAGING_URL || 'http://localhost:8080',
|
|
trace: 'on-first-retry',
|
|
video: 'on-first-retry',
|
|
screenshot: 'only-on-failure'
|
|
},
|
|
projects: [
|
|
{
|
|
name: 'chromium',
|
|
use: {
|
|
browserName: 'chromium',
|
|
},
|
|
},
|
|
],
|
|
};
|
|
|
|
export default config; |