diff --git a/e2e/account-acceptance-api.test.ts b/e2e/account-acceptance-api.test.ts index 84872bf..c1139ad 100644 --- a/e2e/account-acceptance-api.test.ts +++ b/e2e/account-acceptance-api.test.ts @@ -16,7 +16,7 @@ function getTestCredentials() { const random = Math.random().toString(36).substring(7); return { email: `test-api-${timestamp}-${random}@example.com`, - password: 'TestPassword123!', + password: 'TestPassword1234!', name: `Test API User ${timestamp}` }; } diff --git a/e2e/account-acceptance.test.ts b/e2e/account-acceptance.test.ts index 45933fb..47adefb 100644 --- a/e2e/account-acceptance.test.ts +++ b/e2e/account-acceptance.test.ts @@ -15,7 +15,7 @@ function getTestCredentials() { const timestamp = Date.now(); return { email: `test-${timestamp}@example.com`, - password: 'TestPassword123!', + password: 'TestPassword1234!', name: `Test User ${timestamp}` }; } diff --git a/e2e/cucumber/FEATURE_SUMMARY.md b/e2e/cucumber/FEATURE_SUMMARY.md index 203df7e..090c744 100644 --- a/e2e/cucumber/FEATURE_SUMMARY.md +++ b/e2e/cucumber/FEATURE_SUMMARY.md @@ -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 diff --git a/e2e/cucumber/README.md b/e2e/cucumber/README.md index 1071e9d..dab5081 100644 --- a/e2e/cucumber/README.md +++ b/e2e/cucumber/README.md @@ -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 diff --git a/e2e/cucumber/features/authentication.feature b/e2e/cucumber/features/authentication.feature index 8d33bba..129faf3 100644 --- a/e2e/cucumber/features/authentication.feature +++ b/e2e/cucumber/features/authentication.feature @@ -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 diff --git a/e2e/cucumber/features/player-schedule.feature b/e2e/cucumber/features/player-schedule.feature index 164e7bb..1152cc3 100644 --- a/e2e/cucumber/features/player-schedule.feature +++ b/e2e/cucumber/features/player-schedule.feature @@ -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 diff --git a/e2e/cucumber/features/user-registration.feature b/e2e/cucumber/features/user-registration.feature index 3e63d30..e5fe994 100644 --- a/e2e/cucumber/features/user-registration.feature +++ b/e2e/cucumber/features/user-registration.feature @@ -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" diff --git a/e2e/epic1-auth-logout.test.ts b/e2e/epic1-auth-logout.test.ts index 353ec3a..1d3d707 100644 --- a/e2e/epic1-auth-logout.test.ts +++ b/e2e/epic1-auth-logout.test.ts @@ -18,7 +18,7 @@ function getTestCredentials() { const timestamp = Date.now(); return { email: `logout-test-${timestamp}@example.com`, - password: 'TestPassword123!', + password: 'TestPassword1234!', name: `Logout Test User ${timestamp}` }; } diff --git a/e2e/epic1-auth-registration.test.ts b/e2e/epic1-auth-registration.test.ts index 8abedaa..bdc8134 100644 --- a/e2e/epic1-auth-registration.test.ts +++ b/e2e/epic1-auth-registration.test.ts @@ -20,7 +20,7 @@ function getTestCredentials() { const timestamp = Date.now(); return { email: `register-test-${timestamp}@example.com`, - password: 'TestPassword123!', + password: 'TestPassword1234!', name: `Register Test User ${timestamp}` }; } diff --git a/e2e/global.setup.ts b/e2e/global.setup.ts index 1419a62..5b9f270 100644 --- a/e2e/global.setup.ts +++ b/e2e/global.setup.ts @@ -80,7 +80,7 @@ export default async function globalSetup(config: FullConfig) { // Generate unique test credentials const timestamp = Date.now(); const testEmail = `setup-user-${timestamp}@example.com`; - const testPassword = 'TestPassword123!'; + const testPassword = 'TestPassword1234!'; const testName = 'Setup User'; try {