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

  @IN-13229
  @id_fb1bc933af2c09b9f5fdf28f992363cb1f4037e0134947425368ef93d79bfb53
  Scenario: Sticky Header View upon comparison verification.
    Given an orchard employee insightsemployee for insights
    And I log in to Insights silently
    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 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 should contain Past 28 Days
    And I can verify market dd should 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 should contain Past 28 Days
    And I can verify market dd should should contain United States
