<commit_before>Feature: PROF client archive

  Scenario: PROF archives a client
#    Given I load the application status from "prof-team-users-complete"
#    Given I am logged in as "<EMAIL>" with password "<PASSWORD>"
#    And I click on "pa-report-open" in the "client-01000016" region
#
#    # archive-cancel
#    When I click on "client-archive"
#    Then I should see the "confirm-cancel" link
#    When I click on "confirm-cancel"
#    Then the URL should match "report/\d+/overview"
#
#    # archive-no-confirm
#    When I click on "client-archive"
#    And I press "pa_client_archive_save"
#    Then the following fields should have an error:
#      | pa_client_archive_confirmArchive   |
#
#    # correct form
#    When I fill in the following:
#      | pa_client_archive_confirmArchive | 1 |
#    And I press "pa_client_archive_save"
#    Then the form should be valid
#    And I should be on "/pa/"
#    And I should see "The client has been archived"
#    And I should not see the "client-01000016" region<commit_msg>DDPB-1828 - enabled behat tests to archive client<commit_after>Feature: PROF client archive

  Scenario: PROF archives a client
    Given I load the application status from "prof-team-users-complete"
    Given I am logged in as "<EMAIL>" with password "<PASSWORD>"
    And I click on "pa-report-open" in the "client-01000016" region

    # archive-cancel
    When I click on "client-archive"
    Then I should see the "confirm-cancel" link
    When I click on "confirm-cancel"
    Then the URL should match "report/\d+/overview"

    # archive-no-confirm
    When I click on "client-archive"
    And I press "pa_client_archive_save"
    Then the following fields should have an error:
      | pa_client_archive_confirmArchive   |

    # correct form
    When I fill in the following:
      | pa_client_archive_confirmArchive | 1 |
    And I press "pa_client_archive_save"
    Then the form should be valid
    And I should be on "/pa/"
    And I should see "The client has been archived"
    And I should not see the "client-01000016" region
{'fraction_non_alphanumeric': 0.07922705314009662, 'fraction_numerical': 0.018357487922705314, 'mean_word_length': 3.1586345381526106, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6443223', 'n_tokens_mistral': 649, 'n_tokens_neox': 606, 'n_words': 249}