@insights_regression
@insights_sticky_header
Feature: Sticky Header View upon comparison verification

  @IN-13229
  @id_bfc43d4f302e62389ebf8ba7bc28c243742b824a17419ae755e17dcd9c09ed55
  Scenario: Sticky Header View upon comparison verification.
    Given an orchard employee insightsemployee for insights
    And I log in
    When I visit the insights /compare/song/QMFMF2447070/?ids=QM4TX2520945&ids=DEKF22500303&ids=GRSTY2500442 page
    And I can scroll to Spotify Daily Charts on the Page
    Then I can see 4 arts on sticky header
    And I can see 4 names on sticky header
    And I can see 4 dates on sticky header
    And I can verify period dd should contain Past 28 Days

    When I visit the insights /compare/song/QMFMF2447070/?country=US&ids=QM4TX2520945 page
    And I can scroll to Spotify Daily Charts on the Page
    Then I can see 2 arts on sticky header
    And I can see 2 names on sticky header
    And I can see 2 dates on sticky header
    And I can verify period dd should contain Past 28 Days
    And I can verify market dd should contain United States

    When I visit the insights /compare/song/QMFMF2447070/?country=US&ids=QM4TX2520945&ids=INS171300001 page
    And I can scroll to Spotify Daily Charts on the Page
    Then I can see 3 arts on sticky header
    And I can see 3 dots on sticky header
    And I can see 0 names on sticky header
    And I can see 0 dates on sticky header
    And I can verify period dd should contain Past 28 Days
    And I can verify market dd should contain United States
