#  AUT-930 Workstation accounting deprecation
@accounting
@wip
Feature: Accounting User

  # ACC-594, ACC-625
  @frontend_accounting
  @ows_accounting
  @id_ef0a098daf39237ddaf7e09b89aee2e8d691717ae33ee9279c48c8f55ae72648
  Scenario: User is able to cancel the report
    Given an orchard employee label_7482 for workstation
    And I log in to workstation silently
    And I am on the accounting statements page
    When I click 'Request Report' button for last period with positive revenue
    Then I should see report form with all required elements
    When I cancel the report request
    Then I should be redirected to the statements page

  # ACC-621
  @frontend_accounting
  @ows_accounting
  @id_556ba28a6cea9b3af2f4167b62403f5cf4d08e6c5488007e84d2adb68d4c014e
  Scenario: User should be able to see the requested reports history
    Given an orchard employee label_7482 for workstation
    And I log in to workstation silently
    And I am on the accounting statements page
    When I click 'View Requested' link for last period with positive revenue
    Then I should be redirected to the view requested page
    And the ViewRequestedReports page title should be displayed correctly
    And I should see all available reports that currently queued or ready for download
