Feature: Statements
  In order to sanity check the accounting run
  As a Workstation end user
  I need the statements page to look correct

# Final "downloadable" expectation fails until we have a dedicated consumer machine for the QA env
Scenario: GBP currency, US number format, Monthly label (19405)
  Given I am logged in as label 19405
  When I visit the StatementsPage
  Then the statement for the current period should be visible
  When I request the report for the current period
  # Then it should eventually be downloadable
  And the Revenue listed should match that of the BreakdownPage

# NOTE: we don't actually have any indication in the UI for a QUARTERLY label that a new month has been processed

Scenario: USD currency, Quarterly label (17901)
  Given I am logged in as label 17901
  When I visit the StatementsPage
  Then the statement for the current period should be visible
  When I request the report for the current period
  # Then it should eventually be downloadable
  And the Revenue listed should match that of the BreakdownPage

Scenario: Euro currency, European number format (21109)
  Given I am logged in as label 21109
  When I visit the StatementsPage
  Then the statement for the current period should be visible
  When I request the report for the current period
  # Then it should eventually be downloadable
  And the Revenue listed should match that of the BreakdownPage

Scenario: Euro currency, European number format, French language (20329)
  Given I am logged in as label 20329
  When I visit the StatementsPage
  Then the statement for the current period should be visible
  When I request the report for the current period
  # Then it should eventually be downloadable
  And the Revenue listed should match that of the BreakdownPage

Scenario: Distributor (18072)
  Given I am logged in as label 18072
  When I visit the StatementsPage
  Then the statement for the current period should be visible
  When I request the report for the current period
  # Then it should eventually be downloadable
  And the Revenue listed should match that of the BreakdownPage

Scenario: Yen currency, Distributor (22264)
  Given I am logged in as label 22264
  When I visit the StatementsPage
  Then the statement for the current period should be visible
  When I request the report for the current period
  # Then it should eventually be downloadable
  And the Revenue listed should match that of the BreakdownPage
