Compare commits

...

2 Commits

Author SHA1 Message Date
10c6fa33c9 Fixing the e2e tests.
Some checks failed
Tests / Build and Push CICD Image (push) Failing after 1h14m58s
Tests / Trailing Whitespace Check (push) Has been skipped
Tests / End of File Check (push) Has been skipped
Tests / YAML Syntax Check (push) Has been skipped
Tests / TOML Syntax Check (push) Has been skipped
Tests / Mixed Line Ending Check (push) Has been skipped
Tests / TOML Formatting Check (push) Has been skipped
Tests / Ruff Linting (push) Has been skipped
Tests / Ruff Format Check (push) Has been skipped
Tests / Pyright Type Check (push) Has been skipped
Tests / Darglint Docstring Check (push) Has been skipped
Tests / No Docstring Types Check (push) Has been skipped
Tests / ESLint Check (push) Has been skipped
Tests / Prettier Format Check (push) Has been skipped
Tests / TypeScript Type Check (push) Has been skipped
Tests / TSDoc Lint Check (push) Has been skipped
Tests / Backend Tests (push) Has been skipped
Tests / Frontend Tests (push) Has been skipped
Tests / Backend Doctests (push) Has been skipped
Tests / Integration Tests (push) Has been skipped
Tests / End-to-End Tests (push) Has been skipped
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-10-30 16:24:21 -04:00
f29cd0f633 Documentation updates.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-10-30 16:21:02 -04:00
3 changed files with 16 additions and 1 deletions

View File

@@ -408,7 +408,8 @@ jobs:
docker run --rm dogar.darkhelm.org/darkhelm.org/plex-playlist/cicd:${GITHUB_SHA:-latest} bash -c "
cd /workspace/frontend &&
if [ -d 'tests/e2e' ] || grep -q 'playwright' package.json; then
yarn test:e2e || echo 'E2E tests failed or not configured yet'
echo 'Running E2E tests with Playwright...' &&
yarn test:e2e
else
echo ' No E2E tests found'
fi

View File

@@ -177,6 +177,15 @@ RUN export NODE_OPTIONS="--max-old-space-size=1024 --max-semi-space-size=64" &&
swapoff /tmp/swapfile 2>/dev/null || true && \
rm -f /tmp/swapfile
# Install Playwright browsers for E2E testing
RUN if grep -q '@playwright/test' package.json; then \
echo "Installing Playwright browsers..." && \
yarn playwright install --with-deps && \
echo "Playwright browsers installed successfully"; \
else \
echo "Playwright not found in package.json, skipping browser installation"; \
fi
# Verify all tools are working with the project
RUN cd /workspace/backend && \
echo "=== Backend Tools Verification ===" && \

View File

@@ -196,6 +196,11 @@ npm run dev
## Documentation
### Development & Workflow
- **[Development Environment Setup](docs/DEVELOPMENT.md)** - Comprehensive guide for setting up your development environment, git workflow, pre-commit hooks, manual tool usage, and CI/CD pipeline understanding
### Operations & Troubleshooting
- **[Gitea Actions Troubleshooting](docs/GITEA_ACTIONS_TROUBLESHOOTING.md)** - Solutions for CI/CD pipeline issues, including the critical "jobs waiting forever" problem
- **[Secure Docker CI/CD](docs/SECURE_DOCKER_CICD.md)** - Security considerations and setup for Docker-based CI/CD pipelines
See the `backend/` and `frontend/` folders for more details.