@deprecated
@preference-center
@ows-preference-center
Feature: Subscriptions

  @FS-3790
  @id_42b5f19b0bdd766accde3b36468665406348397f6ace1a0427ffd97e9eda9c71
  Scenario: [Preference Center] Delete my data
    Given I am preference-center user with CRM Id: "a0O61000002DJG8EAO" and default locale
    When I visit preference-center profile page
    Then I see correct locale in preference-center url
    When I click "subscriptions" tab in preference-center
    Then I see that I can delete all my data in preference center

  @FS-3789
  @id_7a1edce6dc7d205be35b9e5e1a1fec7b8f4e0d72f48b24d0bed21c05d5529ab2
  Scenario: [Preference Center] Unsubscribe from all subscriptions
    Given I am preference-center user with CRM Id: "a0O61000002DJG8EAO" and default locale
    When I visit preference-center settings page
    Then I see correct locale in preference-center url
    And I see all elements on preference-center subscriptions tab
    When I subscribe to random subscriptions in preference center
    Then I see message that my subscriptions were updated
    And I see correct subscriptions config in preference center
    When I refresh the page
    Then I see all elements on preference-center subscriptions tab
    And I see correct subscriptions config in preference center
    And I don't see message that my subscriptions were updated
    When I unsubscribe from all subscriptions in preference center
    Then I see message that my subscriptions were updated
    And I see that I unsubscribed from all subscriptions
    When I refresh the page
    Then I see all elements on preference-center subscriptions tab
    And I see that I unsubscribed from all subscriptions
    And I don't see message that my subscriptions were updated
