@frontend_royalties
@ows_royalties
@ows_payment
@ows_abacus_event
@ows_abacus_state
Feature: Abacus Payments 1

  Background: Clear browser
    Given I have a clear browser

  @id_957dc61bd073ff425855e54cc6fc77023de931c2adbab91b04971ac7d1dd944a
  Scenario: Payment for specific account
    Given an orchard employee label_7123_admin_3 for Abacus
    And I log in to Abacus silently
    And I am successfully logged in to Abacus
    And I prepare an abacus account data:
      | Key              | Value                   |
      | companyBrandName | awal                    |
      | paidBy           | AWAL-US                 |
      | agreementType    | AWAL Core               |
      | currency         | USD                     |
      | owner            | awal                    |
      | paymentMinimum   | 123                     |
      | paymentSchedule  | 45 days after month end |
    And I create 1 new active account via API
    And I have a Distribution runcontroller created
    And I have a new Distribution contract lifecycle created with accounts created for AWAL Recordings America, Inc.
    And I should be able to add a payment for a specific accounts
    And I should be able to delete the payment
