@insights_regression
@insights_account
@IN-12547
Feature: Account Songs Tab

  Background: [Regression][Account][Songs]
    Given an orchard employee insightsemployee for insights
    And I log in
    And I visit the insights /account/26760/ page
    And I navigate to the Songs tab on the page

  @insights_account_songs
  @id_0a8a60b449a84dce84a307ea7e515da844276cf920a1b42e25d061238a81d767
  Scenario: [Regression][Account][Songs] table columns and data
    Then I can verify Songs table columns on Account page
    And I can see list and row data is correct on Songs tab - Account page

  @insights_account_songs
  @id_5871d8439a465362bf943c7e493697fad403fcfedff5e0e7279764b5fb98fc04
  Scenario: [Regression][Account][Songs] - filters
    When I select any artist in Artist filter
    Then I can see list and row data is correct on Songs tab - Account page
    When I can clear all Grid table filters
    When I select any store in Store filter
    Then I can see list and row data is correct on Songs tab - Account page
    When I can clear all Grid table filters
    Then I can see list and row data is correct on Songs tab - Account page

  @insights_account_songs
  @id_1911b05f6c7e46d35ed511c78ea18a99cd5340b32509fa528b91c20f4c18719c
  Scenario: [Regression][Account][Songs] - table sorting
    When I click on 7dStreams Change column to sort desc on Account page - Songs tab
    Then I can see list and row data is correct on Songs tab - Account page
    When I click on 7dStreams Change column to sort asc on Account page - Songs tab
    Then I can see list and row data is correct on Songs tab - Account page

    When I click on 7dActive Streams Change column to sort desc on Account page - Songs tab
    Then I can see list and row data is correct on Songs tab - Account page
    When I click on 7dActive Streams Change column to sort asc on Account page - Songs tab
    Then I can see list and row data is correct on Songs tab - Account page

  @insights_account_songs
  @id_29d7f53d6c8f856e0dc3e33f9d23e84fe72a632f176659a36d390f7ae483dcda
  Scenario: [Regression][Account][Songs] export
    Then I can verify exported data from Account - Songs tab

  @id_f1cdee9fbcd2b43545cdf16da9bf6f51733ff1093c2aa960fff14e16224405fa
  Scenario: [Regression][Account][Songs] - hover over 7daysActiveStreamsChange
    Then I hover over 7dActive Streams Change and see Help Tooltip on Songs table

  @id_a7f210a9928b32e62dcd9126dd402664bcdf497cfceda661e145c38e7db5680e
  Scenario: [Regression][Account][Songs] - customize popup
    When I open Customize popup on a grid table
    And I can click on Release Date column in Customize popup for grid
    And I can click on 1 Day, Creations column in Customize popup for grid
    Then I can close using save Customize popup on a grid table
    And I can't see Release Date column on a grid
    And I can see 1dCreations column on a grid

  @insights_account_songs
  @id_ff2cab23accdc7f461038341583ee19a7e6597e576e10f74dacf719936a8a1e7
  Scenario: [Regression][Account][Songs] - navigate to song page and data consistency
    Then I can open song page from Songs tab
    And I can verify data on Song page is the same as on Account - Song tab

  @id_a593a6effe9d7c8f1d0160351deb835fcb9033dfff3c35ad30699213fd4e7ffa
  Scenario: [Regression][Account][Songs] - navigate to artist page
    Then I can open artist page from Songs tab
