feat(e2e): implement authentication setup for Playwright tests using Keycloak tokens

This commit is contained in:
2026-05-20 12:27:27 -05:00
parent f18532087f
commit 844c8c4c6b
3 changed files with 195 additions and 28 deletions

29
backend/setup.cfg Normal file
View File

@@ -0,0 +1,29 @@
[coverage:run]
# Medir solo código fuente de la aplicación, no alembic, tests, ni artefactos
source =
api
core
omit =
*/alembic/*
*/tests/*
*/uploads/*
*/layouts/*
*/celerybeat-schedule*
main.py
*/__init__.py
[coverage:report]
omit =
*/alembic/*
*/tests/*
*/uploads/*
*/layouts/*
*/celerybeat-schedule*
main.py
*/__init__.py
# Excluir líneas de defensa estándar que no son alcanzables en tests
exclude_lines =
pragma: no cover
if __name__ == .__main__.:
raise NotImplementedError