@insights_regression
@insights_brands
@IN-12844
Feature: Brand Icons

  Background: [Regression] Brand Icons
    Given an orchard employee insightsemployee for insights
    And I log in to Insights silently

  @id_9a4a3224faf64456d68e6a6802f492ee418cd0499a4a918569d7a74ae9000f06
  Scenario Outline: [Regression][Brands] My Catalog > <tab> tab > <column>
    When I can navigate to My Catalog
    And I can navigate to the <tab> tab on the page
    And I can see My Catalog page with the <table> table
    Then I can see brands in <column> column - My Catalog

    Examples:
      | tab      | table    | column     |
      | Accounts | accounts | 1st column |
      | Products | products | Account    |
      | Artists  | artists  | Account    |

  @id_0c751dbd7f46619db9ad5c9d215035e5aafed2f60509d0167cdf5ffcfa586501
  Scenario Outline: [Regression][Brands] Search  > <tab> tab > Account column
    And I type co into search box on Search Page
    And I can navigate to the <tab> tab on the page
    Then I can see brand icons in Account on the Search page

    Examples:
      | tab              |
      | Songs            |
      | Artists          |
      | Products         |
      | Videos           |
      | YouTube Channels |

  @id_7e4a7177ed0dbd2070de37a84d644016879b5b0123fe38aaf0bd1361130415f0
  @donotfail
  Scenario Outline: [Regression][Brands] Chart > <chart_url> > No Named column with brand icons
    When I visit the insights chart/<chart_url> page
    Then I see a chart table is loaded
    And I can see brand icons on the Chart page

    Examples:
      | chart_url                          |
      | tiktok_track_weekly_default        |
      | spotify_track_daily_viral          |
      | soundcloud_track_daily_top         |
      | shazam_track_daily_default         |
      | recochoku_track_weekly_single      |
      | linemusic_track_daily_top_100      |
      | deezer_track_daily_default         |
      | applemusic_track_daily_default     |
      | amazon_track_daily_rap_and_hip-hop |

  @id_94dfe138182c8c4d25379868c60e3cd2925d6d560b6212ae3bed917cf083d639
  Scenario Outline: [Regression][Brands] <page> page header
    When I visit the insights <url> page
    Then I can see brands in the header on <page> page

    Examples:
      | page    | url                                          |
      | Account | account/26760/                               |
      | Song    | song/QM6MZ2214888/                           |
      | Artist  | artist/6dd8cfb5-9c39-49ed-bc62-04d3d8c56faf/ |
      | Product | product/197190137897/                        |
