@frontend_royalties
@ows_royalties
@graphql_abacus
@port
Feature: Abacus Transfer Projects

  @id_807cf5cbf9acd7fe954a2e717abe7d6b24688efd27ebc85dcda7fb195775078b
  Scenario: Transfer projects page displays grid table
    Given an orchard employee PORT_admin for abacus
    When I log in
    And I navigate to the transfer projects page
    Then the transfer projects grid table should be visible with data

  @id_c4e4ecbbd47390cc7e1b0f94773b52612d0f0fd558396c9e9ff06d84981710e8
  Scenario: Create and delete a queued transfer
    Given an orchard employee PORT_admin for abacus
    When I log in
    And I navigate to the transfer projects page
    # Test data: Frenchkiss Records (6971) -> Thirty Tigers (21989). Update if accounts/contract change.
    # Disappearing Act project_id: 6573041
    And I create a transfer from "Frenchkiss Records" project "6573041" to "Thirty Tigers" with contract "Thirty Tigers Contract 44615"
    Then a new transfer should appear in the table with "Pending" status
    And the latest transfer should show the correct accounts
    When I delete the latest transfer
    Then the latest transfer should not be visible in the table
