test: update test files and documentation

This commit is contained in:
2026-04-26 16:37:39 -07:00
parent e61e020d9d
commit 36e273e2a1
10 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ Scenario: Successful registration with valid data
Given I am on the registration page
When I fill in "name" with "Test User"
And I fill in "email" with "test@example.com"
And I fill in "password" with "TestPassword123!"
And I fill in "password" with "TestPassword1234!"
And I click the "Create Account" button
Then I should be redirected to my profile page
And my user account should exist
+1 -1
View File
@@ -97,7 +97,7 @@ Feature: User Registration
Scenario: Successful registration with valid data
When I fill in "name" with "Test User"
And I fill in "email" with "test@example.com"
And I fill in "password" with "TestPassword123!"
And I fill in "password" with "TestPassword1234!"
And I click the "Create Account" button
Then I should be redirected to my profile page
And my user account should exist
+1 -1
View File
@@ -25,7 +25,7 @@ Feature: User Authentication
@happy-path @authentication
Scenario: Navigate to login page
Given I am on the home page
When I click the "Log in" link
When I click the "Sign in" link
Then I should be on the login page
@happy-path @authentication
@@ -17,6 +17,7 @@ Feature: Player Schedule
Then I should see "Upcoming Matches"
And I should see the match date
And I should see my opponent's name
And I should see my partner's name
And I should see the tournament name
@happy-path @player-features @issue-9 @wip
@@ -9,8 +9,8 @@ Feature: User Registration
@happy-path @authentication
Scenario: Successful registration with valid data
When I fill in "name" with "Test User"
And I fill in "email" with "test-user@example.com"
And I fill in "password" with "TestPassword123!"
And I fill in "email" with the generated unique email
And I fill in "password" with "TestPassword1234!"
And I click the "Create Account" button
Then I should be redirected to my profile page
And my user account should exist
@@ -18,8 +18,8 @@ Feature: User Registration
@happy-path @authentication
Scenario: Auto-created player profile is linked to user
When I fill in "name" with "Profile Test User"
And I fill in "email" with "profile-test@example.com"
And I fill in "password" with "ProfilePass123!"
And I fill in "email" with the generated unique email
And I fill in "password" with "ProfilePass1234!"
And I click the "Create Account" button
Then I should be redirected to my profile page
And I should see "Welcome, Profile Test User"
@@ -30,14 +30,14 @@ Feature: User Registration
When I navigate to the registration page
And I fill in "name" with "Duplicate User"
And I fill in "email" with the same email
And I fill in "password" with "TestPassword123!"
And I fill in "password" with "TestPassword1234!"
And I click the "Create Account" button
Then I should see a registration error
@negative-test @authentication
Scenario: Registration with weak password fails
When I fill in "name" with "Weak Password User"
And I fill in "email" with "weak@example.com"
And I fill in "email" with the generated unique email
And I fill in "password" with "weak"
And I click the "Create Account" button
Then I should see "password" validation error
@@ -54,6 +54,6 @@ Feature: User Registration
Scenario: Registration with email verification (placeholder)
When I fill in "name" with "Email Verify User"
And I fill in "email" with "verify@example.com"
And I fill in "password" with "TestPassword123!"
And I fill in "password" with "TestPassword1234!"
And I click the "Create Account" button
Then I should see "Please check your email to verify your account"