@insights_regression
@insights_account
@IN-12623
Feature: Account Products Tab

  Background: [Regression][Account][Products]
    Given an orchard employee multiaccount1 for insights
    And I log in
    And I visit the insights /account/26760/ page
    And I navigate to the Products tab on the page

  @insights_account_products
  @id_3d722171463cdd18991dbe5f02766730791f637e9898900b89c128d79ed93e4a
  Scenario: [Regression][Account][Products] table columns and data
    Then I can verify Products table columns on Account page
    And I can see table data is correct on Account - Products tab
    And I can see list is correct on Account - Products tab

  @insights_account_products
  @id_f89fae24c84b0751e68bee9174b01529060bd990987e101cae0cf0f50fd32847
  Scenario: [Regression][Account][Products] - filters
    When I select any artist in Artist filter
    Then I can see list is correct on Account - Products tab
    When I can clear all Grid table filters
    Then I can see list is correct on Account - Products tab

  @insights_account_products
  @id_6eb1e5c50cdb05366c7c75a2decdbcf93cf485cfe95c592353b5700413bd0693
  Scenario: [Regression][Account][Products] export
    Then I can verify exported data from Account - Products tab

  @insights_account_products
  @id_ec97b7484955ed7b5cb94f2d9842c7505bbd39ac9f42dc5d9255b790313e01e5
  Scenario: [Regression][Account][Products] - table sorting
    When I click on Release Date column to sort desc on Account - Products tab
    Then I can see list is correct on Account - Products tab
    When I click on Release Date column to sort asc on Account - Products tab
    Then I can see list is correct on Account - Products tab

    When I click on All TimeStreams column to sort desc on Account - Products tab
    Then I can see list is correct on Account - Products tab
    When I click on All TimeStreams column to sort asc on Account - Products tab
    Then I can see list is correct on Account - Products tab

  @id_ae223a4a9c3019381846e02c5c5d50f8528fabf937877f6f687acec003059e9a
  Scenario: [Regression][Account][Products] - navigate to product and artist pages
    Then I can open product page from Products tab
    When I use my browser's back button
    Then I can open artist page from Products tab
