Files
euchre_camp/e2e/cucumber/features/wordmark-navigation.feature
T
david 39d3250114 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
2026-04-25 21:13:35 -07:00

27 lines
1017 B
Gherkin

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"