39d3250114
- Add wordmark-navigation.feature with 3 scenarios - Add step definitions for clicking wordmark and page assertions - Test unauthenticated, player, and admin navigation paths
27 lines
1017 B
Gherkin
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"
|