-
Notifications
You must be signed in to change notification settings - Fork 0
Add comprehensive Docker testing infrastructure for cross-platform Playwright UI testing #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: RHV044 <[email protected]>
Co-authored-by: RHV044 <[email protected]>
Co-authored-by: RHV044 <[email protected]>
|
@copilot No veo como estos tests resuelven el hecho de testear en ambos escenarios (localhost y gh pages) Ademas, no detecto algunos errores que se que estan actualmente presentes en ghpages yd eberia haberlo detectado (por ejemplo el logo de novit que no carga bien en ghpages) Ademas, el workflow de gh actions esta trabajando sobre main y develop pero nosotros usamos master como rama principal. |
Co-authored-by: RHV044 <[email protected]>
He implementado mejoras significativas para abordar todos los puntos mencionados: 1. Testeo dual de ambos entornos:
2. Detección real de errores 404:
3. Branches corregidas:
4. Arquitectura de testing mejorada:
Los tests ahora construyen el proyecto con la configuración exacta de GitHub Pages y sirven los archivos estáticos con el base path correcto, lo que permitirá detectar problemas como el logo de Novit que mencionaste. Commit: 3cae4c5 Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: RHV044 <[email protected]>
|
@copilot los test no los puedo ejecutar en local (mi pc es windows) por lo que no mr sirve para probarlo en desarrollo. sin embargo es importantisisimo que tambien corraan en gh actions con linux. por lo que te pido que agregues docker para poder correrlos independeintemente desde cualqueir entorno. |
…aywright testing Co-authored-by: RHV044 <[email protected]>
He implementado una solución completa de Docker para ejecutar las pruebas de Playwright en cualquier plataforma (Windows, macOS, Linux). 🐳 Comandos principales:
✅ Beneficios:
📋 Archivos agregados:
La documentación completa está en Commit: 22d108e |
…ive documentation Co-authored-by: RHV044 <[email protected]>
This PR implements a complete Docker-based testing solution to address the critical issue where Playwright UI tests could not be executed on Windows machines, blocking development workflow for Windows users.
Problem Solved
Previously, the dual-environment UI testing (development + GitHub Pages simulation) only worked on Linux/macOS systems. Windows developers were unable to run the comprehensive test suite locally, creating inconsistencies between local development and CI/CD environments.
Solution Overview
🐳 Docker Testing Infrastructure
🚀 Enhanced NPM Scripts
🎯 Cross-Platform Compatibility
Technical Implementation
Dual Environment Testing Preserved
localhost:3000(Next.js dev server)localhost:8000(static build with/web-novitbase path)Docker Volume Strategy
.dockerignoreDocumentation and Validation
Comprehensive Documentation
Benefits for Development Workflow
This implementation ensures that all team members can execute the full UI test suite locally, regardless of their operating system, while preserving the existing dual-environment testing that validates both development and production GitHub Pages scenarios.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.