@tap_bank_details
Feature: Eur Bank Details bd,br,ca,ch,cy,cz- Payoneer

  Background: Artist Page - Streams and Sources tab is opened
    Given an orchard employee label_6971 for documents
    Then I update abacus state table and delete Payoneer account 793234

  @id_0d43e7c8ecccb103592d9160499cff7f799b87197e7275de6cbc7f5e17f7215c
  Scenario: bd,br,ca,ch,cy,cz - Eur Bank Details for Business Account and Personal Bank Account type
    When I log in to documents
    Then I am successfully logged in to documents
    Then I can see that documents Banking & Tax Settings page works with whitelabel Norway account name ORCHARD-NO-TEST_ACCOUNT
    Then I update abacus state table and delete Payoneer account 793234
    Then I can see empty Bank Details
    And I add company details for <country> for Business Account account type
    Then I click next on Bank Details form
    And I add Personal bank account for <country>
    Then I submit the bank details form

    Examples:
      | country |
      | bd_eur  |
      | br_eur  |
      | ca_eur  |
      | ch_eur  |
      | cy_eur  |
      | cz_eur  |
      | de_eur  |
      | dk_eur  |
      | ee_eur  |
      | es_eur  |
      | gr_eur  |
      | hr_eur  |
      | hu_eur  |
      | in_eur  |
      | it_eur  |
      | jm_eur  |
      | jo_eur  |
      | kr_eur  |
      | lv_eur  |
      | ma_eur  |
      | mq_eur  |
      | mt_eur  |

  @id_9a0c33e78fc25ed4ab0a1e7ad221a4901c2b0709225cedbe3535ab97de874808
  Scenario: bd,br,ca,ch,cy,cz - Eur Bank Details for Personal Account and Company Bank Account type
    When I log in to documents
    Then I am successfully logged in to documents
    Then I can see that documents Banking & Tax Settings page works with whitelabel Norway account name ORCHARD-NO-TEST_ACCOUNT
    Then I update abacus state table and delete Payoneer account 793234
    Then I can see empty Bank Details
    And I add company details for <country> for Personal Account account type
    And I set email for Personal account
    Then I click next on Bank Details form
    And I add Company bank account for <country>
    Then I submit the bank details form

    Examples:
      | country |
      | nl_eur  |
      | no_eur  |
      | pt_eur  |
      | pk_eur  |
      | ro_eur  |
      | se_eur  |
      | sg_eur  |
      | si_eur  |
      | sk_eur  |
      | uk_eur  |
      | us_eur  |
      | za_eur  |

  @id_60e15ea92ee42ae72cf00d9070e40ee63c862205fd6ce781d61f528b11c09bf5
  Scenario: DE,DK,EE,ES,GR - Eur Bank Details - Email is not obligatory for some countries
    Given an orchard employee label_6971 for documents
    When I log in to documents
    Then I am successfully logged in to documents
    Then I can see that documents Banking & Tax Settings page works with whitelabel Norway account name ORCHARD-NO-TEST_ACCOUNT
    Then I update abacus state table and delete Payoneer account 793234
    Then I can see empty Bank Details
    And I add company details for <country> for Personal Account account type
    Then I click next on Bank Details form
    And I add Company bank account for <country>
    Then I submit the bank details form

    Examples:
      | country |
      | de_eur  |
      | dk_eur  |
      | ee_eur  |
      | es_eur  |
      | gr_eur  |
      | bd_bdt  |
      | cn_cny  |
      | nz_nzd  |
      | jp_jpy  |
      | ma_gbp  |
      | nl_gbp  |
      | no_gbp  |
      | se_gbp  |
      | uk_gbp  |
      | de_gbp  |
