WMR | player-stats
7 Scenarios
Iteration #1
Givenindividual player statistics have been published for the tournament showing goals, assists, and match appearances for each player
WhenI open WMR FBL player-stats
Theneach player row displays the same goals total as in the published tournament statistics for that player
Andeach player row displays the same assists total as in the published tournament statistics for that player
Andeach player row displays the same match appearances count as in the published tournament statistics for that player
Givenenough player rows that the statistics table extends beyond the viewport height
WhenI open WMR FBL player-stats
AndI scroll down through the player statistics table
Thenthe column header row remains fixed at the top of the visible area
Andall statistical data remains accessible through scrolling
Givena player's tournament record includes yellow card and red card disciplinary actions from match data
WhenI open WMR FBL player-stats
Thenthat player's row shows the correct count of yellow cards received
Andthat player's row shows the correct count of red cards received
Andcard indicators are visually distinct from other statistics
Givena player has been disqualified from the tournament but their prior statistics should be retained
WhenI open WMR FBL player-stats
Thenthe disqualified player appears at the bottom of the statistics table
Andthe disqualified player's row shows a disqualification indicator
Andthe player's accumulated statistics up to the point of disqualification remain visible
Givenplayer statistics data includes the printed name and team affiliation for each player in the tournament
WhenI open WMR FBL player-stats
Theneach row shows the same printed name as appears in the tournament participant data for that player
Andeach row shows the same team code or name as appears in the tournament participant data for that player
Givenno individual player statistics have been published for the tournament yet
WhenI open WMR FBL player-stats
Thenthe component shows an appropriate empty state message
Andno player data rows are displayed
Givenplayer statistics are available for multiple statistical categories like goals scored and assists
WhenI open WMR FBL player-stats
AndI select goals as the sorting criterion
Thenrows appear ordered from highest to lowest goals scored
Andplayers with the same goal count appear in the same relative position per the tournament tie-breaking rules
SCD AI Application