@insights_regression
@insights_trending
@IN-13250
Feature: Trending TikTok Table Data

  Background: [Regression][Trending TikTok]
    Given an orchard employee insightsreal for insights
    And I log in to Insights silently

  @id_f82e0ca84d07289cce6174636b0d1b99f6e06433275c5684ffe4cb285eb888b7
  Scenario: [Regression][Trending TikTok] table columns
    When I visit the insights trending/tiktok page
    Then I can verify table columns on the page: #|Brand|Song|Release Date|1dCreations|1dCreations Change|1dActive Streams Change
    When I can switch type to 7 Days on TikTok Trending page
    Then I can verify table columns on the page: #|Brand|Song|Release Date|7dCreations|7dCreations Change|7dActive Streams Change

  @id_b77d29610de842796ec7d3d137868d52b8e6c5c51a8973fe0c580e0c1b5ca9e0
  Scenario Outline: [Regression][Trending TikTok] table data - <type>
    When I visit the insights <url> page
    And I can see <type> list and row data is correct on TikTok Trending page

    Examples:
      | url                                                                                                   | type   |
      | trending/tiktok                                                                                       | Daily  |
      | trending/tiktok?creations=0&isrcCountry=US&releasePeriodStart=5y&releasePeriodEnd=14d                 | Daily  |
      | trending/tiktok?type=7days                                                                            | 7 Days |
      | trending/tiktok?type=7days&country=US&parentCompany=955a1bbd-b623-4ea1-ab5f-8d6620c442fb&creations=75 | 7 Days |
