- 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.
24 lines
No EOL
754 B
TypeScript
24 lines
No EOL
754 B
TypeScript
import { TestEnvironment } from '../../types';
|
|
|
|
export const testEnvironment: TestEnvironment = {
|
|
baseUrl: 'https://wordpress-974670-5399585.cloudwaysapps.com',
|
|
adminUser: {
|
|
username: 'admin',
|
|
password: process.env.ADMIN_PASSWORD || 'default_admin_password'
|
|
},
|
|
stagingConfig: {
|
|
ip: '146.190.76.204',
|
|
sshUser: 'roodev',
|
|
path: '/home/974670.cloudwaysapps.com/uberrxmprk/public_html'
|
|
}
|
|
};
|
|
|
|
export const TEST_TIMEOUT = 30000; // 30 seconds
|
|
export const SETUP_TIMEOUT = 60000; // 60 seconds
|
|
export const TEARDOWN_TIMEOUT = 45000; // 45 seconds
|
|
|
|
export const API_ENDPOINTS = {
|
|
users: '/wp-json/wp/v2/users',
|
|
events: '/wp-json/tribe/events/v1/events',
|
|
auth: '/wp-json/jwt-auth/v1/token'
|
|
}; |