Skip to content
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

Arreglos e2e #434

Merged
merged 7 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/images/sonarcloud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/tc_active_users.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/tc_requests.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/tc_response_time_distribution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/tc_response_time_percentiles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/tc_response_times.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/tc_responses.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/src/07_deployment_view.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ifndef::imagesdir[:imagesdir: ../images]

[[section-deployment-view]]

== Deployment View
== Vista de despliegue

=== Infrastructura Nivel 1

Expand Down
20 changes: 19 additions & 1 deletion docs/src/12_testing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,24 @@ Para lograr esto, seguimos los principios FIRST:
|===

=== E2E. Tests de integración
uscaremos garantizar que la aplicación sea fácil de usar para proporcionar una experiencia satisfactoria al usuario. Nos centraremos en verificar diversas funcionalidades, desde la jugabilidad hasta acciones como el registro, inicio de sesión y cambios en los ajustes. Simularemos interacciones que haría un usuario real para asegurar que la aplicación sea intuitiva y funcione correctamente.
Buscaremos garantizar que la aplicación sea fácil de usar para proporcionar una experiencia satisfactoria al usuario. Nos centraremos en verificar diversas funcionalidades, desde la jugabilidad hasta acciones como el registro, inicio de sesión y cambios en los ajustes. Simularemos interacciones que haría un usuario real para asegurar que la aplicación sea intuitiva y funcione correctamente.

=== Tests de carga
Hemos realizado pruebas con 120 usuarios llegado a una tasa de 2 usuarios por segundo. La prueba consiste en logearse, jugar una partida, consultar todos los apartados de la barra de navegación, cambiar los ajustes bajando el numero de preguntas y volviendo a jugar una partida.

image::tc_response_times.png["Tiempos de respuesta"]

image::tc_active_users.png["Usuarios activos a lo largo de la simulación"]

image::tc_response_time_distribution.png["Distribución de tiempos de respuesta"]

image::tc_response_time_distribution.png["Percentiles de tiempos de respuesta"]

image::tc_requests.png["Peticiones por segundo"]

image::tc_responses.png["Respuestas por segundo"]

=== SonarCloud
En la siguiente imagen podemos comprobar todos los analisis realizados por SonarCloud.

image::sonarcloud.png["SonarCloud"]
12 changes: 0 additions & 12 deletions webapp/e2e/features/play-game.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,3 @@ Scenario: Starts a new game
Given A logged user in play view
When I press "COMENZAR A JUGAR"
Then A new game starts
Scenario: Results are shown
Given A logged user in a game
When I choose an option
Then Show results
Scenario: Shows the next questions
Given A logged user in a game
When I choose an option
Then New Question appears
Scenario: Finish the game
Given A logged user in a game
When I play until the game ends
Then The game is finished