Files
david 493ae0cf71
Pull Request / e2e-tests (pull_request) Has been cancelled
Pull Request / analyze-bump-type (pull_request) Has been cancelled
Pull Request / unit-tests (pull_request) Has been cancelled
test: enable player schedule tests with match data setup
Related to #9

- Implemented 'I have upcoming matches in my schedule' step to create
  tournament, players, and match with future date
- Added step definitions for schedule content verification
- 2 player schedule scenarios now active (empty schedule, upcoming matches)
- 'Click on match' scenario remains @wip (page lacks match detail links)

Player schedule page at /players/[id]/schedule shows upcoming matches
with tournament name, player names, and dates.
2026-04-26 20:50:05 -07:00

30 lines
1.0 KiB
Gherkin

Feature: Player Schedule
As a player
I want to see my upcoming matches
So that I can prepare for and attend my games
@happy-path @player-features @issue-9
Scenario: Player views empty schedule when no matches
Given I am logged in as a player
When I go to my schedule page
Then I should see "No upcoming matches"
@happy-path @player-features @issue-9
Scenario: Player views schedule with upcoming matches
Given I am logged in as a player
And I have upcoming matches in my schedule
When I go to my schedule page
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
Scenario: Player can navigate to match details from schedule
Given I am logged in as a player
And I have upcoming matches in my schedule
When I go to my schedule page
And I click on a match
Then I should be on the match detail page