@android
@awal-app
@employee
Feature: Employee user

  Background:
    Given a valid test user
    Given I login to the android app

  Scenario: Employee can filter songs and products by brand
    Given I am on the home tab
    When I filter by brand The Orchard
      Then The songs branded with The Orchard are displayed
      And The products branded with The Orchard are displayed
    When I reset all applied filters using the filters panel
    And I filter by brand AWAL
      Then The products branded with AWAL are displayed

  Scenario: Employee has access to playlists with Most Recent sorting
    When I navigate to the playlists tab
      Then The sorting option displayed should be 'MOST RECENT'
      And All playlists are displayed sorted by the 'Most Recent' filter

  Scenario: Employee can filter charts by brand
    When I navigate to the Chart Digest screen
      Then The Charts screen should be displayed
    When I tap on the 'Weekly Top 200' chart card
      Then I should be navigated to the 'Weekly Top 200' chart screen
    When I filter by brand The Orchard in the Charts filter
      Then The songs filtered by brand are displayed in Charts
