#  AUT-930 Workstation accounting deprecation
@ows_accounting
@frontend_accounting
@accounting
@wip
Feature: Accounting Subaccount User - Workstation
  To ensure the accuracy and reliability of accounting data
  As a Workstation Accounting user
  I want to view current and historical accounting data

  # TODO: move this to SPA SA once Accounting is under SPA
  # try to replace with unit or view tests
  @id_7165c7b7ca50981899d3593bba8260d554f4770d04dc396e4e6e3aeafc845546
  Scenario: Subaccount views revenue breakdown (MOV-1162)
    Given an orchard employee subaccount_20651 for workstation
    And I log in to Workstation
    When I am on the workstation accounting page
    Given I am on the accounting breakdown page for the current period
    Then I should see the Revenue column

  @cache_warm
  @id_9bc85317910a42b7d6da5c29550a55844d0b9ea22f7f4f4799ae202e8270c2c8
  Scenario: Check that subaccount doesn't see manual adjustment data from parent label
    Given an orchard employee subaccount_20651 for workstation
    And I log in to Workstation
    When I am on the workstation accounting page
    Given I am on the accounting breakdown page for the current period
    When I view the accounting breakdown for "Jan 2015" to "Jun 2015"
    Then I should not see any manual adjustment data
