@deprecated
@fansifter_permissions
Feature: Permissions for user with support team permissions

  Background:
    Given an orchard employee fansifter-support-team for fansifter
    When I log in to fansifter silently

  @id_7ce8f938410b14818ebb17989635ec3452f01eb700332b0db440aee0f4beb777
  Scenario: Support team user cannot create/edit audiences
    And I have the audience data:
      | Account      | Test Label              |
      | Audience Use | Advertising             |
      | Artists      | Wolfgang Amadeus Mozart |
    When I open Audiences page
    And I open New audience page
    And I fill new audience data
    When I click on the Save button for new audience
    Then I see toast that this action is not available for Support/CRM users
    And I click on the Cancel button for new audience
    Then I see at least one audience in the table
    When I try to edit last audience
    And I click on the Save button for updated audience
    Then I see toast that this action is not available for Support/CRM users
    And I click on the Cancel button for new audience
    When I try to archive last audience
    Then I see toast that this action is not available for Support/CRM users

  @id_5e712d38f012abcceaa3879951d97ab4a2ea858d888ab02cf7094aa09707bd0f
  Scenario: Support team user cannot delete email campaign
    When I visit Email Campaigns page
    And I filter Email Campaigns by "Draft" status
    Then I see at least one email campaign in the table
    When I try to delete email campaign from table
    Then I see toast that this action is not available for Support/CRM users
    When I open last email campaign in the table
    And I try to schedule email campaign
    Then I see toast that this action is not available for Support/CRM users
