@frontend_royalties
@ows_royalties
@ows_abacus_contract
Feature: Abacus Contracts 5

  @id_f8ae922660b6613439bcd36af53b160f7f46db03c440ba71c09bdc291cb7069a
  Scenario: Edit contract
    Given an orchard employee label_7123_admin_3 for abacus
    And I log in
    And I prepare an abacus account data:
      | Key              | Value                   |
      | companyBrandName | awal                    |
      | paidBy           | AWAL-US                 |
      | agreementType    | AWAL Core               |
      | currency         | EUR                     |
      | owner            | awal                    |
      | paymentMinimum   | 123                     |
      | paymentSchedule  | 45 days after month end |
    And I create a new account via API
    And I have a Distribution runcontroller created
    And I prepare an abacus contract data:
      | Key           | Value                         |
      | contractType  | Distribution                  |
      | signingEntity | AWAL Recordings America, Inc. |
      | renewalRule   | Continuously Active           |
    And I should be able to create Active contract with this data via new flow
    Then I should be able to edit contract
