From 5b2b5e29ac50dc70df3a34c59223ac67e79f38e8 Mon Sep 17 00:00:00 2001 From: Sonia Moro Lauda Date: Thu, 25 Apr 2024 09:25:47 +0200 Subject: [PATCH] =?UTF-8?q?a=C3=B1adido=20otra=20vez=20el=20test=20e2e=20b?= =?UTF-8?q?asicButtons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/e2e/features/basicButtons-form.feature | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 webapp/e2e/features/basicButtons-form.feature diff --git a/webapp/e2e/features/basicButtons-form.feature b/webapp/e2e/features/basicButtons-form.feature new file mode 100644 index 00000000..a9ee0c6e --- /dev/null +++ b/webapp/e2e/features/basicButtons-form.feature @@ -0,0 +1,34 @@ +Feature: Basic Buttons + +Scenario: The user is not registered in the site + Given An unregistered user + When I fill the data in the form and press submit + Then The user is logged + +Scenario: User checks game play history + When I navigate to user section and press the history + Then I should see a list of past games played + +Scenario: User checks ranking history + When I navigate to the user section and press the ranking section + Then I should see a list of users ranked by their scores + +Scenario: User switches to dark mode + When I toggle the dark mode switch + Then The interface should switch to dark mode + +Scenario: User switches to light mode + When I toggle the light mode switch + Then The interface should switch to light mode + +Scenario: User switches to english + When I navigate to the settings section and press english from the language dropdown + Then The interface should switch to english + +Scenario: User switches to spanish + When I navigate to the settings section and press spanish from the language dropdown + Then The interface should switch to spanish + +Scenario: User logout + When I navigate to the user section and press logout + Then The user should logout \ No newline at end of file