Fixing playright again
Some checks failed
Tests / Mixed Line Ending Check (push) Successful in 44s
Tests / End of File Check (push) Successful in 49m19s
Tests / TOML Formatting Check (push) Failing after 44s
Tests / Ruff Format Check (push) Successful in 46s
Tests / Integration Tests (push) Successful in 27m42s
Tests / Pyright Type Check (push) Successful in 1m14s
Tests / End-to-End Tests (push) Failing after 1h11m2s
Tests / Darglint Docstring Check (push) Successful in 54s
Tests / No Docstring Types Check (push) Successful in 36s
Tests / ESLint Check (push) Successful in 1m14s
Tests / Prettier Format Check (push) Successful in 1m10s
Tests / TypeScript Type Check (push) Successful in 1m39s
Tests / TSDoc Lint Check (push) Successful in 1m12s
Tests / Backend Tests (push) Successful in 1m0s
Tests / Build and Push CICD Base Image (push) Successful in 1m8s
Tests / Ruff Linting (push) Failing after 11m0s
Tests / Build and Push CICD Complete Image (push) Successful in 12m16s
Tests / Frontend Tests (push) Successful in 1m48s
Tests / Trailing Whitespace Check (push) Successful in 25m24s
Tests / YAML Syntax Check (push) Successful in 47s
Tests / TOML Syntax Check (push) Successful in 36s
Tests / Backend Doctests (push) Successful in 1m0s
Some checks failed
Tests / Mixed Line Ending Check (push) Successful in 44s
Tests / End of File Check (push) Successful in 49m19s
Tests / TOML Formatting Check (push) Failing after 44s
Tests / Ruff Format Check (push) Successful in 46s
Tests / Integration Tests (push) Successful in 27m42s
Tests / Pyright Type Check (push) Successful in 1m14s
Tests / End-to-End Tests (push) Failing after 1h11m2s
Tests / Darglint Docstring Check (push) Successful in 54s
Tests / No Docstring Types Check (push) Successful in 36s
Tests / ESLint Check (push) Successful in 1m14s
Tests / Prettier Format Check (push) Successful in 1m10s
Tests / TypeScript Type Check (push) Successful in 1m39s
Tests / TSDoc Lint Check (push) Successful in 1m12s
Tests / Backend Tests (push) Successful in 1m0s
Tests / Build and Push CICD Base Image (push) Successful in 1m8s
Tests / Ruff Linting (push) Failing after 11m0s
Tests / Build and Push CICD Complete Image (push) Successful in 12m16s
Tests / Frontend Tests (push) Successful in 1m48s
Tests / Trailing Whitespace Check (push) Successful in 25m24s
Tests / YAML Syntax Check (push) Successful in 47s
Tests / TOML Syntax Check (push) Successful in 36s
Tests / Backend Doctests (push) Successful in 1m0s
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
@@ -115,21 +115,26 @@ RUN export NODE_OPTIONS="--max-old-space-size=1024 --max-semi-space-size=64" &&
|
||||
echo "✓ Frontend dependencies installed (leveraging global tools)"; \
|
||||
fi
|
||||
|
||||
# Playwright browsers are pre-installed in the base image for performance
|
||||
# Just verify they're available and compatible with project dependencies
|
||||
# Playwright browsers optimization check (may be pre-installed in base image)
|
||||
RUN if [ -f ".frontend-deps-failed" ]; then \
|
||||
echo "Frontend dependencies failed - Playwright E2E tests will be skipped"; \
|
||||
elif grep -q '@playwright/test' package.json && [ -d "node_modules" ]; then \
|
||||
echo "Verifying Playwright browsers from base image..." && \
|
||||
# Verify global Playwright CLI is working (installed via npm globally)
|
||||
playwright --version && \
|
||||
# Verify browsers are installed (they should be from base image)
|
||||
playwright install --dry-run chromium firefox webkit || \
|
||||
echo "Note: Using globally installed browsers from base image" && \
|
||||
echo "✓ Playwright browsers available from base image"; \
|
||||
echo "Checking Playwright browser optimization status..." && \
|
||||
# Check if Playwright CLI is available via yarn (from project dependencies)
|
||||
if yarn playwright --version >/dev/null 2>&1; then \
|
||||
echo "✓ Playwright CLI available via yarn" && \
|
||||
# Check if browsers are pre-installed from base image
|
||||
if yarn playwright install --dry-run >/dev/null 2>&1; then \
|
||||
echo "✓ Playwright browsers available from base image optimization"; \
|
||||
else \
|
||||
echo "⚠ Playwright browsers not pre-installed - will install on demand in CI"; \
|
||||
fi; \
|
||||
else \
|
||||
echo "⚠ Playwright CLI not available - E2E setup will be handled in CI"; \
|
||||
fi && \
|
||||
echo "✓ Playwright environment checked"; \
|
||||
else \
|
||||
echo "Playwright not found in package.json or node_modules missing"; \
|
||||
echo "E2E tests will be skipped but browsers remain available from base image"; \
|
||||
echo "ℹ No Playwright tests configured in this project"; \
|
||||
fi
|
||||
|
||||
# Verify all tools are working with the project
|
||||
|
||||
Reference in New Issue
Block a user