# This cleanup tag is important, please do not remove it
# See hooks.rb for more details
@first_statement_period_change
Feature: Suppress Historical RED Accounting

  # ACC-957
  @ows_accounting
  @frontend_accounting
  Scenario: Data on Statements page should be shown accordingly to the first statement period for quarterly user
    Given I am on the Accounting::StatementsPage
    And I update the first statement period to "229"
    When I refresh the page
    Then I should see the starting form period to be "229"

  # ACC-956
  @wip
  @ows_accounting
  @frontend_accounting
  Scenario: Data on Statements page should be shown accordingly the first statement period for D3 user
    Given I am on the AccountingD3::StatementsPage
    And I use D3 accounting user
    And I update the first statement period to the current_statement_period_id
    When I refresh the page
    Then I should see the starting form period to be current_statement_period_id

  # ACC-958
  @wip
  @ows_accounting
  @frontend_accounting
  Scenario: D3's first statement period settings should apply to its subaccounts as well
    Given I am on the AccountingSub::StatementsPage
    And I use D3 accounting user
    When I update the first statement period to the current_statement_period_id
    And I refresh the page
    Then I should see the starting form period to be current_statement_period_id
