efd1c0e975
Release / release (push) Failing after 10s
- Added rankings.feature with 3 scenarios (page loads, columns, public access) - Added home-page.feature with 4 scenarios (top players, club info, tournament, sign in) - Added step definitions for rankings page and public access testing - All 27 Cucumber scenarios passing
24 lines
814 B
Gherkin
24 lines
814 B
Gherkin
Feature: Rankings Page
|
|
As a visitor
|
|
I want to view player rankings
|
|
So that I can see top players and their statistics
|
|
|
|
@happy-path @public @rankings
|
|
Scenario: Rankings page loads and displays rankings table
|
|
When I go to the rankings page
|
|
Then I should see "Player Rankings" in the page heading
|
|
And I should see a rankings table
|
|
|
|
@happy-path @public @rankings
|
|
Scenario: Rankings table displays player columns
|
|
When I go to the rankings page
|
|
Then I should see a rankings table with columns
|
|
And the table should have column headers
|
|
|
|
@happy-path @public @rankings
|
|
Scenario: Rankings page is publicly accessible (no login required)
|
|
Given I am not logged in
|
|
When I go to the rankings page
|
|
Then I should be on the rankings page
|
|
And I should see the rankings table
|