Skip to content

feat: expand Playwright P0 with portal do aluno and inscrição pública - #11

Merged
luizengdev merged 4 commits into
mainfrom
develop
Oct 13, 2026
Merged

luizengdev merged 4 commits into
mainfrom
develop

Conversation

@luizengdev

@luizengdev luizengdev commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Cobertura E2E P0 do portal do aluno (QA-PORTAL-01, QA-PORTAL-04, QA-DOC-01 / QA-DOC-04): dashboard, boletim com situação oficial EM_ABERTO e emissão de declaração.
  • Cobertura E2E da inscrição pública isenta (QA-FIN-INS-01): catálogo → ficha → sucesso com RA, sem Stripe; matrícula PRE_MATRICULADO verificada na secretaria.
  • Mock estendido (GET /api/catalogo, POST /api/inscricao, persistência + __e2e/reset), page objects e warmup de portas no WSL para o health check do Playwright não travar em silêncio.
  • Reset do mock no beforeEach do portal do aluno para não herdar semestre fechado da jornada no mesmo shard do CI.

Test plan

  • CI=true npx playwright test e2e/portal-aluno.spec.ts e2e/inscricao.spec.ts --reporter=list --retries=0
  • CI=true npx playwright test e2e/jornada.spec.ts e2e/portal-aluno.spec.ts --reporter=list --retries=0 (isolamento após fechar semestre)
  • Workflow E2E no GitHub Actions verde nos 2 shards
  • Confirmar que inscrição isenta não redireciona para checkout.stripe.com

luizengdev and others added 4 commits October 13, 2026 10:10
Cover login, dashboard, official boletim status, and document emission with mock portal endpoints aligned to QA-PORTAL/QA-DOC scenarios.

Co-authored-by: Cursor <cursoragent@cursor.com>
Cover QA-FIN-INS-01 with mock catalog/inscrição stubs, page objects, and WSL port warmup so Playwright health checks do not hang silently.

Co-authored-by: Cursor <cursoragent@cursor.com>
QA-PORTAL-04 failed on shard 2 after jornada closed the semester in shared mock state.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Oct 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
opensga-frontend Ready Ready Preview Oct 13, 2026 3:33pm UTC

@luizengdev
luizengdev merged commit 059449d into main Oct 13, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — c4614997 Deployed Oct 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant