@insights_regression
@insights_charts
@insights_charts_export
@donotfail
Feature: Chart Export

  Background: Chart Page is opened
    Given an orchard employee single_label for insights
    And I log in

  @IN-13235
  @id_a72b767379b0a2b250b0ab60f75aed168ff77a2f017874b11cad595136dad00f
  Scenario Outline: [Regression][Chart] - Export data for <name> chart
    When I visit the insights /chart/<link> page
    And I see a chart table is loaded
    Then I can verify export data is correct on <name> Chart

    Examples:
      | link                              | name               |
      | youtube_video_weekly_music_videos | YouTube Top Videos |
      | youtube_track_weekly_tracks       | YouTube Top Songs  |

  @IN-13235_empty
  @id_66c47be2b993ff443d75ab98d30cc1422480f4ae7ba8f829e4c38297a4eaa886
  Scenario: [Regression][Chart] - Export chart - unavailable
    When I visit the random insights Video chart page
    Then I can verify export data is unavailable on the Chart
