Cargando...
Cargando...
Cargando...
Preparando tu repositorio…
Llévalo a GitHub de verdad
Un repositorio público con tests de Playwright y GitHub Actions en verde es de lo mejor que puede llevar un QA junior a una entrevista.
En github.com crea una cuenta y un repositorio nuevo llamado tests-e2e-fruteria (público, para mostrarlo en tu CV).
En la carpeta del proyecto que creaste en el Paso 1:
git init git add . git commit -m "Proyecto inicial de Playwright" git branch -M main git remote add origin https://github.com/TU-USUARIO/tests-e2e-fruteria.git git push -u origin main
Crea .github/workflows/playwright.yml con este contenido y súbelo por pull request, igual que en la práctica:
name: Tests e2e
on: [push, pull_request]
jobs:
playwright:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npx playwright install --with-deps
- run: npx playwright test
Abre la pestaña Actions del repositorio. Verás el mismo resultado que en la práctica: el test del total falla por el bug hasta que lo marques con test.fail().
git switch -c agregar-pipeline git add .github/workflows/playwright.yml git commit -m "Agrega pipeline de Playwright en GitHub Actions" git push -u origin agregar-pipeline