From 85cd6843aa30f94001a648fea893d3db32593a87 Mon Sep 17 00:00:00 2001 From: uo287545 Date: Thu, 4 Apr 2024 19:06:47 +0200 Subject: [PATCH 01/27] Added cucumber scenarios --- src/test/resources/features/home_page.feature | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/test/resources/features/home_page.feature b/src/test/resources/features/home_page.feature index 0c9f5a92..1993d72d 100644 --- a/src/test/resources/features/home_page.feature +++ b/src/test/resources/features/home_page.feature @@ -1,10 +1,30 @@ -Feature: I enter the webpage +Feature: I enter the webpage without being logged in Scenario: I see the title Given I am in the home page + Given I am not logged in Then I should see the title "Wikigame" Scenario: I click register Given I am in the home page + Given I am not logged in When I click the register button - Then I should see the register page \ No newline at end of file + Then I should see the register page + + Scenario: I click login + Given I am in the home page + Given I am not logged in + When I click the login button + Then I should see the login page + + Scenario: I click play + Given I am in the home page + Given I am not logged in + When I click the play button + Then I should see the login page + + Scenario: I click global ranking + Given I am in the home page + Given I am not logged in + When I click the global ranking button + Then I should see the global ranking page From 00efa0a399196a35ec352939912f1655f5950b9c Mon Sep 17 00:00:00 2001 From: uo287545 Date: Thu, 4 Apr 2024 19:17:51 +0200 Subject: [PATCH 02/27] Fixed some deprecated Thymeleaf properties --- src/main/resources/templates/player/signup.html | 2 +- src/main/resources/templates/ranking/globalRanking.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/player/signup.html b/src/main/resources/templates/player/signup.html index 93525fdd..af9c659e 100644 --- a/src/main/resources/templates/player/signup.html +++ b/src/main/resources/templates/player/signup.html @@ -54,6 +54,6 @@

-