@bulk_uploader
@graphql_distribution
@frontend_homepage
Feature: Bulk Uploader - validation failures and job sidebar verifications

  @rb
  @id_85887cd6f902c38b9a40e307ffba315f824dc765ea80a1b6b2824fa8629e37c4
  Scenario: Validation failure for invalid data file verify job in sidebar
    Given an orchard employee label_15063_1 for workstation
    And I log in
    And I click bulk Create Digital Products in workstation
    When I upload an invalid spreadsheet with invalid data to bulk uploader
    Then I should see error messages for invalid data in the spreadsheet
    Then I save the upload job and exit
    And I click bulk View Digital Bulk Sessions in workstation
    And I can verify job in sidebar

  @rb
  @id_159de5643a4548c4ba28c8efbe6bcfb35e369de34b64c7ca2614026d439c1b7b
  Scenario: Validation failure for old template file verify job in sidebar
    Given an orchard employee label_15063_1 for workstation
    And I log in
    And I click bulk Create Digital Products in workstation
    When I upload an old template data to bulk uploader
    Then I should see error messages for old template
    Then I save the upload job and exit
    And I click bulk View Digital Bulk Sessions in workstation
    And I can verify job in sidebar

  @ows_delivery_history
  @id_e3d242b3ed58ce41e465499beeaa0bd2083b13ed093750bd97b0d8eeddace3b5
  Scenario: Upload a Release verify job in sidebar
    Given an orchard employee label_15063_1 for workstation
    And I log in
    And I click bulk Create Digital Products in workstation
    When I upload a valid spreadsheet to bulk uploader
    Then I should see a success message for valid bulk upload
    Then I save the upload job and exit
    And I click bulk View Digital Bulk Sessions in workstation
    And I can verify job in sidebar
