Feature: Promo Player

  @ows_assets
  @ows_track
  @ows_promo_player
  @frontend_audio_player
  Scenario: Creating and editing a Promo Player and verify it looks correct
    Given a Promo Player for vendor 17194's release 470047 with the light skin
    When I go to the Promo Player's page
    Then the Promo Player has the light skin
    When I update the Promo Player to the dark skin
    When I go to the Promo Player's page
    Then the Promo Player has the dark skin

  @ows_assets
  @ows_track
  @ows_promo_player
  @frontend_audio_player
  Scenario: Using the Promo Player's play, pause, next and previous controls
    Given a Promo Player for vendor 17194's release 470047 with the light skin
    When I go to the Promo Player's page
    Then the Promo Player should be on track 1
    And the Promo Player should be paused
    When I press the Promo Player's play button
    Then the Promo Player should be playing
    When I press the Promo Player's next button
    Then the Promo Player should be on track 2
    And the Promo Player should be playing
    When I press the Promo Player's previous button
    Then the Promo Player should be on track 1
    And the Promo Player should be playing
    When I press track 4's play button
    Then the Promo Player should be on track 4
    And the Promo Player should be playing
