Feature: QA Smoke Tests

  @content_review
  @id_0ae3d125aec315270460f0b57f155fd3f0c2188e6c6e2b825eae90103a5a0356
  Scenario: Validate that content app works
    Given an orchard employee e2e_user for content
    When I log in to content
    Then I can see that content-review my catalog page works
    And The catalog page paginates and displays valid data
    Then I can see that content-review create page works
    Then I log out of content-review

  @collaborators
  @id_fe874608d57128b07227cfde6c242eb66fa0ebc03d21870a752325b69d22b039
  Scenario: Validate that collaborators app works
    Given an orchard employee e2e for collaborators
    When I log in to collaborators
    Then I select account Frenchkiss Records
    Then I can see that collaborators home page works
    Then I can see that collaborators reports page works
    Then I can see that collaborators payments page works
    Then I can see that collaborators statements page works
    Then I log out of collaborators

  @distribution
  @id_d567a9111101649089c066f5f56548ccb77786f83840dabda78497ebf27ab11a
  Scenario: Validate that distribution app works
    Given an orchard employee label_6971 for distribution
    When I log in to distribution
    Then I can see that distribution deliver page works
    Then I can see that distribution monitor page works
    Then I log out of distribution

  @fansifter
  @ows_dmp
  @id_a9924a3e3925a13f0c7b2eb3b832d7d00cb9f27230d621d7fb8aaad0e788a815
  Scenario: Validate that fansifter app works
    Given an orchard employee fansifter-set-2-6-gemini for fansifter
    When I log in to fansifter
    Then I can see that fansifter Search page works
    Then I can see that fansifter Audiences page works
    Then I can see that fansifter Ad Reporting page works
    Then I can see that fansifter My Roster page works
    Then I can see that fansifter Email Campaigns page works
    Then I see "fansifter" icon in app switcher popover
    Then I log out of fansifter

  @insights
  @ows_playlist
  @graphql_playlist
  @ows_charts
  @id_65839a2c7c62d519ab1fe6a3ff9ed8bf394fbd94e70f0f8f2188761477227347
  Scenario: Validate that insights app works
    Given an orchard employee insightsemployee for Insights
    When I log in to Insights
    Then I can see that insights search page works
    Then I can see that insights my catalog page works
    Then I can see that insights my favorites page works
    Then I can see that insights charts page works
    Then I log out of Insights

  @moneyhub
  @graphql_abacus
  @id_d9d30344bf780177c456f19e5ee4d9b0116913b1fadff013b01a3ef468693c99
  Scenario: Validate that moneyhub app works
    Given an orchard employee label_6971 for moneyhub
    When I log in to moneyhub
    And I select Bad Seed in the vendor filter
    Then I can see that moneyhub highlights page works
    When I navigate to Statements page from main navigation
    Then The statements table displays all columns
    And The statements modal displays basic data
    And The statements modal displays data for adjustments, expenses and physical reserves
    Then I can see that moneyhub physical reserves page works
    Then I can see that moneyhub adjustments page works
    Then I can see that moneyhub expenses page works
    Then I log out of moneyhub

  @publishing
  @id_51d1d442e343aa7ec66befe8661c726fb1cd8cb840c42111f70e968555b1d10a
  Scenario: Validate that publishing app works
    Given an orchard employee e2e_user for publishing
    When I log in to publishing
    Then I can see that publishing songs page works
    Then I can see that publishing songwriters page works
    Then I log out of publishing

  @settings
  @ows_notifications
  @id_6e3979623b523fccc2bad60c9465ecff6e6c7a92dbeeea1e2a49a6ee98177d3f
  Scenario: Validate that settings app works
    Given an orchard employee admin for settings
    When I log in to Settings
    Then I can see that settings my profile page works
    Then I can see that settings manage users page works
    Then I can see that settings emails & notification page works
    Then I log out of settings

  @qa_smoke
  @workstation
  @ows_store
  @id_6d90f399169e52eec60840e309978c97a5c57e2721c74628bf9d1a9faaae2387
  Scenario: Validate that workstation app works
    Given an orchard employee label_15063 for workstation
    When I log in to Workstation
    Then I see that the header works
    Then I see that the footer works
    Then I see that the home page works
    When I navigate to engagement workstation page
    Then I see that the engagement page works
    When I navigate to physical reporting workstation page
    Then I see that the physical reporting page works
    When I navigate to catalog workstation page
    Then I see that the catalog page works
    When I look for releases in catalog matching the term "dance"
    Then I should see "dance" in results
    Then I log out of workstation

  @qa_smoke
  @oa
  @ows_store
  @id_81fa42fa5a78032e5ad0d4ce5fbf667b5193827248eb047f10d674aaf6ca1b40
  Scenario: Validate that OA app works
    Given an orchard employee cypress_manager_3 visits OA
    And I log in to OA
    Then I see that homepage loads
    When I click on Relationships panel on the Page
    Then I see that Relationships panel works
    When I click on My Page panel on the Page
    Then I see that My Page panel works
    When I click on Reports panel on the Page
    Then I see that Reports panel works
    When I click on Marketing panel on the Page
    Then I see that Marketing panel works
    When I click on Accounting panel on the Page
    Then I see that Accounting panel works
    When I click on Warehouse panel on the Page
    Then I see that Warehouse panel works
    When I click on Technology panel on the Page
    Then I see that Technology panel works
    When I click on Users panel on the Page
    Then I see that Users panel works
    When I click on Search panel on the Page
    Then I see that Search panel works
    Then I log out of OA
