@insights_regression
@insights_artist
@insights_artist_songs
@IN-12546
Feature: Artist Songs Tab

  Background: Login to Insights - Artist Songs tab
    Given an orchard employee insightsemployee for insights
    And I log in
    And I visit the insights /artist/e49ea9f9-0a74-4623-b3c6-ff819c7c0a4d/ page
    And I navigate to the Songs tab on the page

  @id_7d4aadbaa3bae72d070fbc606a7a8d2adf63d10d126d27b2e979357ff03a9a6c
  Scenario: Artist Songs tab - table columns and data
    Then I can verify table columns on Songs tab: Song|Release Date|7dStreams|7dStreams Change|7dActive Streams Change
    And I can see list and row data is correct on Songs tab - Artist page

  @id_25a24ad60ff830cd509b15ba0e21112515db8c1afb6b755e657fe197f1f252bb
  Scenario: Artist Songs tab - export
    Then I can verify exported data from Artist - Songs tab

  @id_f03416bd4752fd9ba78f1bd5cc3badb135b6ac3eca4da92c8c6071d47c9d477b
  Scenario: Artist Songs tab - table sorting
    When I click on Release Date column to sort desc Artist - Songs tab
    Then I can see list is correct on Songs tab - Artist page
    When I click on Release Date column to sort asc Artist - Songs tab
    Then I can see list is correct on Songs tab - Artist page

    When I click on 7dStreams Change column to sort asc Artist - Songs tab
    Then I can see list is correct on Songs tab - Artist page
    When I click on 7dStreams Change column to sort desc Artist - Songs tab
    Then I can see list is correct on Songs tab - Artist page

  @id_c1552105b57218454715962336a3b65c60a15cb2c9375a4962bad8c48c083deb
  Scenario: Artist Songs tab - hover over 7daysActiveStreamsChange tooltip
    Then I hover over 7dActive Streams Change and see Help Tooltip on Artist Songs table

  @id_4fea1f58f9a1cdd4ad6b16660a317065696b362d11349ab2d493dbf932bedbd7
  Scenario: Artist Songs tab - customize popup
    When I open Customize popup on a grid table
    And I can click on 1 Day, Streams column in Customize popup for grid
    Then I can close using cancel Customize popup on a grid table
    And I can't see 1 Day, Streams column on a grid
    When I open Customize popup on a grid table
    And I can click on 1 Day, Streams column in Customize popup for grid
    And I can click on 28 Days, Streams column in Customize popup for grid
    Then I can close using save Customize popup on a grid table
    And I can see 1dStreams column on a grid
    And I can see 28dStreams column on a grid
    When I open Customize popup on a grid table
    Then I can close using x-close Customize popup on a grid table

  @id_773778320ef4ada5f279d33dd473d303dd66ec6f324d3ccc14f57e0e22bfd5f8
  Scenario: Artist Songs tab - 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 Artist - Song tab

  @id_446890c992e0b61f944b676c19a9a67f82e4491d3e3103f48164e90260104987
  Scenario: Artist Songs tab - navigate to artist page
    Then I can open artist page from Songs tab
