<commit_before>@borrowers_view_and_sign_deed

Feature: Borrowers can view and sign a deed
As a borrower/borrowers I need to confirm that the details of my mortgage deed are correct
So that the mortgage can proceed to the next stage.

Acceptance Criteria:
(US133) Each borrower must be able to confirm the details are correct.
(US133) By confirming the details are correct, the deed is digitally signed.
(US133) Confirmation Message displayed to borrower on a subsequent page.
(US133) Each borrower must be able to view a deed multiple times but must only be able to confirm the details once.
(US133) When the deed is viewed subsequently it will show that the relevant borrower has confirmed the deed.

@us133 @us133f
Scenario: Single borrower views and signs deed, then views
  Given I create default deed with <1> borrowers
  And borrower <1> views the deed
  And the borrower <1> signature element is present on page
  Then the deed is digitally signed by borrower <1>
  And borrower <1> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <1> has signed the deed

@us133 @us133f
Scenario: 2 Borrowers can view and sign a deed.
  Given I create default deed with <2> borrowers
  And borrower <1> views the deed
  And the mortgage deed is displayed
  Then the deed is digitally signed by borrower <1>
  And borrower <2> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <1> has signed the deed
  Then the deed is digitally signed by borrower <2>
  And borrower <2> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <2> has signed the deed

@us133 @us133f
Scenario: 3 Borrowers can view and sign a deed.
  Given I create default deed with <3> borrowers
  And borrower <2> views the deed
  And the mortgage deed is displayed
  Then the deed is digitally signed by borrower <2>
  And borrower <3> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <2> has signed the deed
  Then the deed is digitally signed by borrower <3>
  And borrower <1> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <3> has signed the deed
  Then I verify borrower <2> has signed the deed
  Then the deed is digitally signed by borrower <1>
  And borrower <1> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <1> has signed the deed

@us133 @us133f
Scenario: 3 Borrowers can view deed multiple times, and sign once. p1
  Given I create default deed with <3> borrowers
  And borrower <1> views the deed
  And the mortgage deed is displayed
  And borrower <2> views the deed
  And the mortgage deed is displayed
  Then the deed is digitally signed by borrower <2>
  And borrower <3> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <2> has signed the deed
  And borrower <1> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <2> has signed the deed
  Then the deed is digitally signed by borrower <1>
  And borrower <3> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <1> has signed the deed
  Then I verify borrower <2> has signed the deed
  Then the deed is digitally signed by borrower <3>
  And borrower <2> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <3> has signed the deed

@us133 @us133f
Scenario: 4 Borrowers can view and sign a deed. p1
  Given I create default deed with <4> borrowers
  And borrower <3> views the deed
  And the mortgage deed is displayed
  Then the deed is digitally signed by borrower <3>
  And borrower <2> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <3> has signed the deed
  Then the deed is digitally signed by borrower <2>
  And borrower <1> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <2> has signed the deed
  Then I verify borrower <3> has signed the deed
  Then the deed is digitally signed by borrower <1>
  And borrower <4> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <1> has signed the deed
  Then I verify borrower <2> has signed the deed
  Then I verify borrower <3> has signed the deed
  Then the deed is digitally signed by borrower <4>
  And borrower <3> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <4> has signed the deed

@us133 @us133f
Scenario: 4 Borrowers can view deed multiple times, and sign once. p1
  Given I create default deed with <4> borrowers
  And borrower <4> views the deed
  And the mortgage deed is displayed
  And borrower <1> views the deed
  And the mortgage deed is displayed
  And borrower <2> views the deed
  And the mortgage deed is displayed
  Then the deed is digitally signed by borrower <2>
  And borrower <3> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <2> has signed the deed
  And borrower <1> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <2> has signed the deed
  Then the deed is digitally signed by borrower <1>
  And borrower <3> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <1> has signed the deed
  Then I verify borrower <2> has signed the deed
  And borrower <4> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <1> has signed the deed
  Then I verify borrower <2> has signed the deed
  Then the deed is digitally signed by borrower <4>
  And borrower <3> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <2> has signed the deed
  Then I verify borrower <1> has signed the deed
  Then I verify borrower <4> has signed the deed
  Then the deed is digitally signed by borrower <3>
  And borrower <4> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <3> has signed the deed<commit_msg>Removed more scenarios<commit_after>@borrowers_view_and_sign_deed

Feature: Borrowers can view and sign a deed
As a borrower/borrowers I need to confirm that the details of my mortgage deed are correct
So that the mortgage can proceed to the next stage.

Acceptance Criteria:
(US133) Each borrower must be able to confirm the details are correct.
(US133) By confirming the details are correct, the deed is digitally signed.
(US133) Confirmation Message displayed to borrower on a subsequent page.
(US133) Each borrower must be able to view a deed multiple times but must only be able to confirm the details once.
(US133) When the deed is viewed subsequently it will show that the relevant borrower has confirmed the deed.

@us133 @us133f
Scenario: Single borrower views and signs deed, then views
  Given I create default deed with <1> borrowers
  And borrower <1> views the deed
  And the borrower <1> signature element is present on page
  Then the deed is digitally signed by borrower <1>
  And borrower <1> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <1> has signed the deed

@us133 @us133f
Scenario: 2 Borrowers can view and sign a deed.
  Given I create default deed with <2> borrowers
  And borrower <1> views the deed
  And the mortgage deed is displayed
  Then the deed is digitally signed by borrower <1>
  And borrower <2> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <1> has signed the deed
  Then the deed is digitally signed by borrower <2>
  And borrower <2> views the deed
  And the mortgage deed is displayed

@us133 @us133f
Scenario: 3 Borrowers can view deed multiple times, and sign once.
  Given I create default deed with <3> borrowers
  And borrower <1> views the deed
  And the mortgage deed is displayed
  And borrower <2> views the deed
  And the mortgage deed is displayed
  Then the deed is digitally signed by borrower <2>
  And borrower <3> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <2> has signed the deed
  And borrower <1> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <2> has signed the deed
  Then the deed is digitally signed by borrower <1>
  And borrower <3> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <1> has signed the deed
  Then I verify borrower <2> has signed the deed
  Then the deed is digitally signed by borrower <3>
  And borrower <2> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <3> has signed the deed

@us133 @us133f
Scenario: 4 Borrowers can view and sign a deed.
  Given I create default deed with <4> borrowers
  And borrower <3> views the deed
  And the mortgage deed is displayed
  Then the deed is digitally signed by borrower <3>
  And borrower <2> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <3> has signed the deed
  Then the deed is digitally signed by borrower <2>
  And borrower <1> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <2> has signed the deed
  Then I verify borrower <3> has signed the deed
  Then the deed is digitally signed by borrower <1>
  And borrower <4> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <1> has signed the deed
  Then I verify borrower <2> has signed the deed
  Then I verify borrower <3> has signed the deed
  Then the deed is digitally signed by borrower <4>
  And borrower <3> views the deed
  And the mortgage deed is displayed
  Then I verify borrower <4> has signed the deed
{'fraction_non_alphanumeric': 0.036690417951717534, 'fraction_numerical': 0.024247580559395937, 'mean_word_length': 3.7591093117408905, 'pattern_counts': {'":': 0, '<': 130, '<?xml version=': 0, '>': 130, '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': '5554336', 'n_tokens_mistral': 2883, 'n_tokens_neox': 2593, 'n_words': 1600}