@frontend_royalties
@ows_royalties
Feature: Abacus Miscellaneous

  Background: Clear browser
    Given I have a clear browser

  @abacus_qa_smoke
  @id_5a98db529ff8c793add8b91cc3494468924c3de9c510d1d27600c6394b2c78e2
  Scenario: Royalties base checks
    Given an orchard employee label_7123_admin_2 for Abacus
    When I log in to Abacus silently
    Then I am successfully logged in to Abacus
    Then I should see correct title and main links
    And I should be able to navigate via sidebar

  @abacus_qa_smoke
  @id_1d14547fc78fb69f32e6ac60170f080c39db1d905accd56ab8cc87f764be24e5
  Scenario: QA smoke scenario
    Given an orchard employee label_7123_admin_2 for Abacus
    When I log in to Abacus silently
    Then I am successfully logged in to Abacus
    Then Accounts page should be valid
    And Contracts page should be valid
    And Schedules page should be valid
    And Payments page should be valid
    And Adjustments page should be valid
    And Accounting Periods page should be valid
    And Admin page should be valid

  @id_ba22eade61b51f5e9cc4c988593b087010af5524a66a7a0e40df71b86bbc3de6
  Scenario: View accounting periods page
    Given an orchard employee label_7123_admin_2 for Abacus
    When I log in to Abacus silently
    Then I am successfully logged in to Abacus
    Then I should be able to view list of accounting periods

  @id_9e1395286ccb78d678aeac6b832fc043fa5daea6da7ab934941b33ce6340079d
  Scenario: View accounting period details page
    Given an orchard employee label_7123_admin_2 for Abacus
    When I log in to Abacus silently
    And I am successfully logged in to Abacus
    Then accounting period details page should be valid

  @id_87da5568fbb68cbfe9bbaacc0611c705cdfdc0ad6e382c934e3c061d5d555518
  Scenario: Reference page
    Given an orchard employee label_7123_admin_2 for Abacus
    And I log in to Abacus silently
    When I am successfully logged in to Abacus
    Then I should be able to see valid admin links
    Then ReferencePage should be valid

  @id_0f8c0e60584599299a9b16c1f438643aedb87854d99decc08da69966dcf1b546
  Scenario: Navigation links to other apps
    Given an orchard employee label_7123_admin_2 for Abacus
    And I log in to Abacus silently
    When I am successfully logged in to Abacus
    Then I should be able to see application navigation links that lead to OA/Moneyhub
