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
- 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>
40 lines
No EOL
936 B
Text
40 lines
No EOL
936 B
Text
# Playwright Test Runner Dockerfile
|
|
# Optimized container for running HVAC testing framework
|
|
|
|
FROM mcr.microsoft.com/playwright:v1.40.0-focal
|
|
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
# Install Node.js dependencies
|
|
COPY package.json package-lock.json* ./
|
|
RUN npm ci --only=production && npm cache clean --force
|
|
|
|
# Install additional utilities
|
|
RUN apt-get update && apt-get install -y \
|
|
curl \
|
|
jq \
|
|
git \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Create evidence directory
|
|
RUN mkdir -p /app/evidence/{screenshots,videos,reports,logs}
|
|
|
|
# Copy test framework
|
|
COPY . .
|
|
|
|
# Set permissions
|
|
RUN chmod +x /app/scripts/*.sh
|
|
|
|
# Set environment variables for testing
|
|
ENV NODE_ENV=test
|
|
ENV HEADLESS=true
|
|
ENV CI=true
|
|
ENV PLAYWRIGHT_BROWSERS_PATH=/ms/playwright
|
|
|
|
# Default command
|
|
CMD ["npm", "test"]
|
|
|
|
# Health check
|
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
|
|
CMD curl -f http://localhost:3000/health || exit 1 |