upskill-event-manager/tests/package.json
Ben 7c9ca65cf2
Some checks are pending
HVAC Plugin CI/CD Pipeline / Security Analysis (push) Waiting to run
HVAC Plugin CI/CD Pipeline / Code Quality & Standards (push) Waiting to run
HVAC Plugin CI/CD Pipeline / Unit Tests (push) Waiting to run
HVAC Plugin CI/CD Pipeline / Integration Tests (push) Waiting to run
HVAC Plugin CI/CD Pipeline / Deploy to Staging (push) Blocked by required conditions
HVAC Plugin CI/CD Pipeline / Deploy to Production (push) Blocked by required conditions
HVAC Plugin CI/CD Pipeline / Notification (push) Blocked by required conditions
Security Monitoring & Compliance / Dependency Vulnerability Scan (push) Waiting to run
Security Monitoring & Compliance / Secrets & Credential Scan (push) Waiting to run
Security Monitoring & Compliance / WordPress Security Analysis (push) Waiting to run
Security Monitoring & Compliance / Static Code Security Analysis (push) Waiting to run
Security Monitoring & Compliance / Security Compliance Validation (push) Waiting to run
Security Monitoring & Compliance / Security Summary Report (push) Blocked by required conditions
Security Monitoring & Compliance / Security Team Notification (push) Blocked by required conditions
feat: add comprehensive test framework and test files
- Add 90+ test files including E2E, unit, and integration tests
- Implement Page Object Model (POM) architecture
- Add Docker testing environment with comprehensive services
- Include modernized test framework with error recovery
- Add specialized test suites for master trainer and trainer workflows
- Update .gitignore to properly track test infrastructure

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-29 23:23:26 -03:00

109 lines
No EOL
3.4 KiB
JSON

{
"name": "hvac-testing-framework",
"version": "2.0.0",
"description": "Comprehensive WordPress testing framework for HVAC Community Events plugin",
"main": "framework/index.js",
"scripts": {
"test": "playwright test",
"test:headed": "playwright test --headed",
"test:debug": "playwright test --debug",
"test:auth": "playwright test tests/migrated/auth/",
"test:dashboard": "playwright test tests/migrated/dashboard/",
"test:staging": "HVAC_TEST_ENV=staging playwright test",
"test:local": "HVAC_TEST_ENV=local playwright test",
"test:parallel": "playwright test --workers=4",
"test:serial": "playwright test --workers=1",
"setup:auth": "node scripts/setup-auth-states.js",
"setup:docker": "docker-compose -f environments/docker-compose.yml up -d",
"teardown:docker": "docker-compose -f environments/docker-compose.yml down",
"clean:screenshots": "node scripts/clean-screenshots.js",
"clean:auth-states": "node scripts/clean-auth-states.js",
"report": "playwright show-report",
"report:open": "open-cli test-results/reports/index.html",
"migrate:test": "node scripts/migrate-test.js",
"health:check": "node scripts/health-check.js",
"dev:setup": "npm run setup:docker && npm run setup:auth",
"ci:test": "npm run health:check && npm run test -- --reporter=html,json,junit",
"framework:init": "node scripts/init-framework.js",
"test:master-trainer": "playwright test e2e/master-trainer-comprehensive.test.js",
"test:master-trainer-headed": "playwright test e2e/master-trainer-comprehensive.test.js --headed --config=playwright-master-trainer.config.js",
"test:master-trainer-comprehensive": "node scripts/run-master-trainer-comprehensive.js",
"test:master-trainer-debug": "playwright test e2e/master-trainer-comprehensive.test.js --debug --config=playwright-master-trainer.config.js"
},
"keywords": [
"wordpress",
"testing",
"playwright",
"hvac",
"community-events",
"e2e",
"automation"
],
"author": "HVAC Development Team",
"license": "MIT",
"dependencies": {
"@playwright/test": "^1.40.0",
"playwright": "^1.40.0"
},
"devDependencies": {
"dotenv": "^16.3.1",
"fs-extra": "^11.1.1",
"mysql2": "^3.6.5",
"open-cli": "^7.2.0",
"chalk": "^4.1.2",
"yargs": "^17.7.2",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"uuid": "^9.0.1",
"csv-parser": "^3.0.0",
"json2csv": "^5.0.7",
"inquirer": "^8.2.6"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/your-org/hvac-community-events"
},
"bugs": {
"url": "https://github.com/your-org/hvac-community-events/issues"
},
"homepage": "https://github.com/your-org/hvac-community-events#readme",
"playwright": {
"globalSetup": "framework/setup/global-setup.js",
"globalTeardown": "framework/setup/global-teardown.js"
},
"config": {
"framework": {
"version": "2.0.0",
"wordpress": {
"minVersion": "6.0",
"maxVersion": "6.4"
},
"php": {
"minVersion": "8.0",
"maxVersion": "8.2"
},
"mysql": {
"minVersion": "5.7",
"maxVersion": "8.0"
}
}
},
"directories": {
"test": "tests",
"lib": "framework"
},
"files": [
"framework/",
"environments/",
"fixtures/",
"scripts/",
"migrated/",
"README.md",
"CHANGELOG.md",
"playwright.config.js"
]
}