@fansifter
@ows_dmp
@ad-reporting-page
Feature: Ad Reporting exported csv data verification

  Background: Log in and open Ad Reporting page
    Given an orchard employee fansifter-set-2-4-aries for fansifter
    When I log in
    And I open Ad Reporting page
    Then I receive "reports" data from backend

  @FS-3401
  @id_5da5b7dbeca47b298e32de302fa290f1c715a56fa73c2b2050a947400de56d6a
  Scenario: Ad Reporting > Reports tab > Export table to CSV
    When I export reports table to CSV
    Then I receive "reports" data from backend
    And valid reports CSV is downloaded

  @FS-3402
  @id_391233576fcabad690fc90dce2d034d035c02241fba70bd2b9fa351ab34f700c
  Scenario: Ad Reporting > Campaigns tab > Export table to CSV
    When I click Campaigns tab
    Then I receive "campaigns" data from backend
    When I export campaigns table to CSV
    Then I receive "campaigns" data from backend
    And valid campaigns CSV is downloaded

  @FS-3403
  @id_78588fc3b915c88fddce630f8a5b0ad1ac7f91e806b01a9b0ed2f7e22403de35
  Scenario: Ad Reporting > Ad Sets tab > Export table to CSV
    When I click Ad Sets tab
    Then I receive "ad sets" data from backend
    When I export ad sets table to CSV
    Then I receive "ad sets" data from backend
    And valid ad sets CSV is downloaded

  @FS-3404
  @id_d54265aff49e924086b1149f10511c9c350c795ce6465c5801032014f66ba3cc
  Scenario: Ad Reporting > Ads tab > Export table to CSV
    When I click Ads tab
    Then I receive "ads" data from backend
    When I export ads table to CSV
    Then I receive "ads" data from backend
    And valid ads CSV is downloaded
