WMR | wmr-hoc-match-widget

11 Scenarios

Iteration #1
SCENARIO-1

AC2. Main score reflects the current official match score

Giventhe match has live scoring data with goals recorded for each team
WhenI open WMR HOC wmr-hoc-match-widget
Thenthe central score display shows the current goal total for the left team
Andthe central score display shows the current goal total for the right team
Andthe score format matches the published match result data
SCENARIO-2

AC7. Penalty shoot-out results appear when the match reaches that stage

Giventhe match data indicates a penalty shoot-out was conducted to determine the winner
WhenI open WMR HOC wmr-hoc-match-widget
Thenthe period breakdown shows a penalty shoot-out section with the shoot-out score
Andthe main score reflects the final result including the shoot-out outcome
Andthe match status indicates the match was decided by penalty shoot-out
SCENARIO-3

AC11. Long team names truncate appropriately without breaking layout

Givenone or both teams have long official names that exceed the normal display width
WhenI open WMR HOC wmr-hoc-match-widget
Thenlong team names are truncated with ellipsis to fit the designated team name areas
Andthe overall widget layout remains balanced regardless of name length
Andteam flags remain fully visible alongside the truncated names
SCENARIO-4

AC4. Individual goal scorers appear with timing and team association

Giventhe match data includes individual goal events with scorer names and time stamps
WhenI open WMR HOC wmr-hoc-match-widget
Theneach goal scorer appears in the scorers list for their respective team
Andeach scorer entry shows the time the goal was scored
Andpuck icons appear next to each scorer entry as specified in the design
SCENARIO-5

AC9. Match statistics bar displays key match metrics when available

Giventhe match data includes statistical information such as possession or shots
WhenI open WMR HOC wmr-hoc-match-widget
Thenthe match statistics bar shows the statistical categories from the match data
Andeach statistic displays the current values for both teams
Andstatistics are formatted according to their type in the live match feed
SCENARIO-6

AC5. Per-period score breakdown shows goals by period

Giventhe match data includes goals scored in different periods including regular periods
WhenI open WMR HOC wmr-hoc-match-widget
Thenthe period breakdown shows the score for each completed regular period
Andeach period score reflects the goals actually scored in that period according to the match data
Andperiod labels match the standard format for the discipline
SCENARIO-7

AC6. Overtime period scores display when match extends beyond regulation

Giventhe match data shows the game went to overtime with additional periods played
WhenI open WMR HOC wmr-hoc-match-widget
Thenthe period breakdown includes overtime period scores labeled appropriately
Andovertime goals are attributed to the correct overtime period in the display
Andthe main score includes all goals from regulation and overtime periods
SCENARIO-8

AC1. Team names and flags display match the published match data

Giventhe match unit data includes two competing teams with their official names and country flags
WhenI open WMR HOC wmr-hoc-match-widget
Thenthe left team area shows the correct team name and country flag from the match data
Andthe right team area shows the correct opposing team name and country flag from the match data
SCENARIO-9

AC10. Tied score scenarios display equal scores without winner indication

Giventhe match data shows both teams have scored the same number of goals
WhenI open WMR HOC wmr-hoc-match-widget
Thenthe main score display shows identical goal totals for both teams
Andno team is visually emphasized as the leader when scores are tied
Andthe match status reflects the current state without declaring a winner
SCENARIO-10

AC3. Match status shows in progress with current period information

Giventhe match is currently active in the second period according to the live match data
WhenI open WMR HOC wmr-hoc-match-widget
Thenthe status indicator shows "In progress"
Andthe period display shows the current period number from the match timing data
Andthe match clock shows the elapsed time for the current period
SCENARIO-11

AC8. Pre-match state shows teams without scores or timing information

Giventhe match is scheduled but has not yet started according to the match status
WhenI open WMR HOC wmr-hoc-match-widget
Thenboth team names and flags are displayed correctly
Andthe score shows as 0-0 or no score indication
Andno individual scorers are listed since the match has not begun
Andthe status does not show "In progress"

SCD AI Application