<commit_before>Feature: Admin report checklist

  @deputy
  Scenario: Case manager submits empty PA checklist for the report
    Given I am logged in to admin as "<EMAIL>" with password "<PASSWORD>"
    # Navigate to checklist via search
    And I click on "admin-client-search"
    Then each text should be present in the corresponding region:
      | 31 clients | client-search-count |
    Then each text should be present in the corresponding region:
      | Cly7 Hent | client-01000014 |
    When I fill in the following:
      | search_clients_q | 01000014 |
    And I click on "search_clients_search"
    Then I should see the "client-row" region exactly "1" times
    And each text should be present in the corresponding region:
      | Cly7 Hent | client-01000014 |
    And I click on "client-details" in the "client-01000014" region
    Then the URL should match "/admin/client/\d+/details"
    # Begin scenario
    And I click on "checklist"
    Then the URL should match "/admin/report/\d+/checklist"
    And each text should be present in the corresponding region:
      | Not saved yet | last-saved-by |
      | Not saved yet | last-modified-by |
      | 23 Jul 2018 | court-date |
      | 23 Jul 2018 to 23 Jul 2018 | expected-date |
      | Cly7 | checklist-client-firstname |
      | Hent | checklist-client-lastname |
      | 078912345678 | checklist-client-phone        |
      | rfnd | reason-no-decisions         |
      | rfnc | reason-no-contacts         |
      | December 2015 | care-plan-last-reviewed |
      | No           | has-assets              |
      | No           | has-debts              |
      | £100.40   | checklist-accounts-opening-total |
      | £100.40   | calculated-balance               |
      | £0.00   | balance-difference               |
      | Cly7               | checklist-client-firstname |
      | Hent              | checklist-client-lastname |<commit_msg>DDPB-2176 Removed client count as different results when running full test suite<commit_after>Feature: Admin report checklist

  @deputy
  Scenario: Case manager submits empty PA checklist for the report
    Given I am logged in to admin as "<EMAIL>" with password "<PASSWORD>"
    # Navigate to checklist via search
    And I click on "admin-client-search"
    Then each text should be present in the corresponding region:
      | Cly7 Hent | client-01000014 |
    When I fill in the following:
      | search_clients_q | 01000014 |
    And I click on "search_clients_search"
    Then I should see the "client-row" region exactly "1" times
    And each text should be present in the corresponding region:
      | Cly7 Hent | client-01000014 |
    And I click on "client-details" in the "client-01000014" region
    Then the URL should match "/admin/client/\d+/details"
    # Begin scenario
    And I click on "checklist"
    Then the URL should match "/admin/report/\d+/checklist"
    And each text should be present in the corresponding region:
      | Not saved yet | last-saved-by |
      | Not saved yet | last-modified-by |
      | 23 Jul 2018 | court-date |
      | 23 Jul 2018 to 23 Jul 2018 | expected-date |
      | Cly7 | checklist-client-firstname |
      | Hent | checklist-client-lastname |
      | 078912345678 | checklist-client-phone        |
      | rfnd | reason-no-decisions         |
      | rfnc | reason-no-contacts         |
      | December 2015 | care-plan-last-reviewed |
      | No           | has-assets              |
      | No           | has-debts              |
      | £100.40   | checklist-accounts-opening-total |
      | £100.40   | calculated-balance               |
      | £0.00   | balance-difference               |
      | Cly7               | checklist-client-firstname |
      | Hent              | checklist-client-lastname |
{'fraction_non_alphanumeric': 0.0826730058108822, 'fraction_numerical': 0.04595879556259905, 'mean_word_length': 2.0863895680521596, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6540123', 'n_tokens_mistral': 1206, 'n_tokens_neox': 1042, 'n_words': 366}