@fansifter
@my-roster
@ows_dmp
Feature: My Roster

  Background: Log in
    Given an orchard employee fansifter-set-2-2-aquarius for fansifter
    And I log in
    Then I am on My Roster page

  @FS-3557
  @id_170079b7ffd436f8945ca15c651340d074a40586f8c90e1405a9c74cf230b463
  Scenario: My Roster > Table Data & Design
    When I receive My Roster data from backend
    Then Default My Roster data is correctly shown in the table
    And I see all filters on My Roster page

  @FS-3558
  @FS-6626
  @id_bda0fdfec259a24939fb46bca31fd89cd9778786397d830c3d15bed5d272efd8
  Scenario: My Roster > Search and Filter
    When I receive My Roster data from backend
    And I search for "Wolfgang Amadeus Mozart" on My Roster page
    And I receive My Roster data from backend
    Then I see only "Wolfgang Amadeus Mozart" name in My Roster table
    When I export My Roster table to CSV
    And I receive My Roster data from backend
    Then My Roster CSV has only "Wolfgang Amadeus Mozart" in "Artist / List" column
    And valid My Roster CSV is downloaded
    When I clear all filters on My Roster page
    And I receive My Roster data from backend
    And I open My roster Customize table modal
    And I select all columns and save changes
    And I export My Roster table to CSV
    And I receive My Roster data from backend
    Then My Roster CSV has ", Columbia Records Group, Test Label" in "Account" column
    And valid My Roster CSV is downloaded
    When I select "Test Label" account on My Roster page
    And I receive My Roster data from backend
    Then I see only "Test Label" label in My Roster table
    And All My Roster data is correctly shown in the table
    When I export My Roster table to CSV
    And I receive My Roster data from backend
    Then My Roster CSV has only "Test Label" in "Account" column
    And I store My Roster CSV data for comparison
    And valid My Roster CSV is downloaded
    When I select "United Kingdom" country on My Roster page
    And I receive My Roster data from backend
    Then All My Roster data is correctly shown in the table
    When I export My Roster table to CSV
    And I receive My Roster data from backend
    Then My Roster CSV numeric values are same or less than previous export
    And valid My Roster CSV is downloaded
