Skip to content

Commit

Permalink
Merge pull request #434 from Arquisoft/dev
Browse files Browse the repository at this point in the history
Arreglos e2e
  • Loading branch information
uo277310 authored May 1, 2024
2 parents d74db27 + 7f726af commit cdeb3b7
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 14 deletions.
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

0 comments on commit cdeb3b7

Please sign in to comment.