feat: add wordmark navigation feature test (issue #24)

- Add wordmark-navigation.feature with 3 scenarios
- Add step definitions for clicking wordmark and page assertions
- Test unauthenticated, player, and admin navigation paths
This commit is contained in:
2026-04-25 21:13:35 -07:00
committed by david
parent c3090236dd
commit b4dd40da27
2 changed files with 47 additions and 0 deletions
@@ -0,0 +1,26 @@
Feature: Wordmark Navigation
As a user
I want the EuchreCamp wordmark to navigate to my appropriate homepage
So that I can quickly access my relevant content
@happy-path @navigation @issue-24
Scenario: Unauthenticated user clicks wordmark goes to public homepage
Given I am on the home page
When I click the "EuchreCamp" wordmark
Then I should be on the home page
And I should see "Top 10 Players"
And I should see "Sign In"
@happy-path @navigation @authenticated @issue-24
Scenario: Authenticated player clicks wordmark goes to their profile
Given I am logged in as a player
When I click the "EuchreCamp" wordmark
Then I should be redirected to my profile page
And I should see "Welcome"
@happy-path @navigation @authenticated @issue-24
Scenario: Authenticated admin clicks wordmark goes to admin dashboard
Given I am logged in as a club admin
When I click the "EuchreCamp" wordmark
Then I should be on the admin page
And I should see "Admin"