@frontend_publishing
@frontend_publishing_admin
Feature: Create Song for admin

  @id_dd931b93e88a8d1bf8781a573ea0c8da7dabc49515015e134c712cb6d85793a9
  Scenario: can create a new song from a template
    Given The isrc QMBZ92098805 is not attached to a Publishing Composition for vendor 21989
    Given The isrc QZ2D41800013 is not attached to a Publishing Composition for vendor 21989
    Given an orchard employee e2e_admin for publishing
    And I log in to publishing silently
    When I create a new song from a template
    Then I can see the new song in drafts

  @id_fd7793c9db7b6441011037d46c28920e8b1b9a0e773b81ab8377ee3b06d6b9fc
  Scenario: can create a new song from scratch
    Given an orchard employee e2e_admin for publishing
    And I log in to publishing silently
    When I create a new song from scratch
    Then I can see the new song in drafts

  @id_93e9c34131f28bd75ce0dea2d16237c39666e5681db633e837349e21d5ad45e5
  Scenario: Can search songwriters by name
    Given an orchard employee e2e_admin for publishing
    And I log in to publishing silently
    When I create a new song to submit
    Then I can see songwriters dropdown
    And I can not search for already selected songwriter in dropdown
    When I remove songwriter agreement from the list
    Then I can search for this songwriters in dropdown by legal name
