Skip to content

Commit

Permalink
Text corrections on claims wizards
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie committed Feb 3, 2025
1 parent 59c11cc commit 3fe7a2d
Show file tree
Hide file tree
Showing 35 changed files with 46 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<%= render_markdown(t(".csv_help_details")) %>
<% end %>

<%= f.govuk_submit(t(".upload_csv_file")) %>
<%= f.govuk_submit(t(".upload")) %>
<% end %>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<%= render_markdown(t(".csv_help_details")) %>
<% end %>

<%= f.govuk_submit(t(".upload_csv_file")) %>
<%= f.govuk_submit(t(".upload")) %>
<% end %>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<%= render_markdown(t(".csv_help_details")) %>
<% end %>

<%= f.govuk_submit(t(".upload_csv_file")) %>
<%= f.govuk_submit(t(".upload")) %>
<% end %>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ en:
title: Upload payer response
caption: Clawbacks
upload_csv_file: Upload CSV file
upload: Upload
csv_help: Help with the CSV file
csv_help_details: |
Use this form to upload the CSV file sent by the ESFA.
Expand Down Expand Up @@ -49,7 +50,7 @@ en:
claim_reference: claim_reference
claim_status: claim_status
errors:
invalid_claim_reference: Not a valid claim reference
invalid_claim_status: Not a valid claim status
invalid_claim_reference: Enter a valid claim reference
invalid_claim_status: Enter a valid claim status
only_showing_rows_with_errors: Only showing rows with errors
upload_your_file_again: Upload your file again
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ en:
title: Upload payer response
caption: Payments
upload_csv_file: Upload CSV file
upload: Upload
csv_help: Help with the CSV file
csv_help_details: |
Use this form to upload the CSV file sent by the ESFA.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ en:
title: Upload provider response
caption: Auditing
upload_csv_file: Upload CSV file
upload: Upload
csv_help: Help with the CSV file
csv_help_details: |
Use this form to upload the CSV file sent by the provider.
Expand Down Expand Up @@ -57,8 +58,8 @@ en:
rejection_reason: rejection_reason
errors:
invalid_claim_reference: Not a valid claim reference
invalid_mentor: Not a valid mentor name
invalid_input: Not a valid input
reason_needed: Reason needed
invalid_mentor: Enter a valid mentor name
invalid_input: Enter a valid input
reason_needed: Enter a reason
only_showing_rows_with_errors: Only showing rows with errors
upload_your_file_again: Upload your file again
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def when_i_click_on_upload_esfa_response
end

def when_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def then_i_see_validation_error_regarding_invalid_data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def when_i_click_on_upload_esfa_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_file_not_containing_an_invalid_claim_status
Expand All @@ -126,7 +126,7 @@ def then_i_see_the_errors_page
def and_i_see_the_csv_contained_claims_with_a_invalid_claim_status
expect(page).to have_h1("Upload payer response")
expect(page).to have_element(:div, text: "You need to fix 1 error related to specific rows", class: "govuk-error-summary")
expect(page).to have_element(:td, text: "Not a valid claim status paid", class: "govuk-table__cell", count: 1)
expect(page).to have_element(:td, text: "Enter a valid claim status paid", class: "govuk-table__cell", count: 1)
expect(page).to have_element(:p, text: "Only showing rows with errors", class: "govuk-!-text-align-centre")
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def when_i_click_on_upload_esfa_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_csv_containing_a_claim_not_with_the_status_clawback_in_progress
Expand All @@ -123,7 +123,7 @@ def then_i_see_the_errors_page
def and_i_see_the_csv_contained_claims_not_with_the_status_clawback_in_progress
expect(page).to have_h1("Upload payer response")
expect(page).to have_element(:div, text: "You need to fix 1 error related to specific rows", class: "govuk-error-summary")
expect(page).to have_element(:td, text: "Not a valid claim reference 22222222", class: "govuk-table__cell", count: 1)
expect(page).to have_element(:td, text: "Enter a valid claim reference 22222222", class: "govuk-table__cell", count: 1)
expect(page).to have_element(:p, text: "Only showing rows with errors", class: "govuk-!-text-align-centre")
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def when_i_click_on_upload_esfa_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_csv_containing_invalid_headers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def when_i_click_on_upload_esfa_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_file_containing_a_reference_not_associated_with_an_existing_claim
Expand All @@ -126,7 +126,7 @@ def then_i_see_the_errors_page
def and_i_see_the_csv_contained_claims_with_an_invalid_reference
expect(page).to have_h1("Upload payer response")
expect(page).to have_element(:div, text: "You need to fix 1 error related to specific rows", class: "govuk-error-summary")
expect(page).to have_element(:td, text: "Not a valid claim reference 11111111", class: "govuk-table__cell", count: 1)
expect(page).to have_element(:td, text: "Enter a valid claim reference 11111111", class: "govuk-table__cell", count: 1)
expect(page).to have_element(:p, text: "Only showing rows with errors", class: "govuk-!-text-align-centre")
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def when_i_click_on_upload_esfa_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_csv_containing_esfa_responses_for_all_claims_with_the_status_clawback_in_progress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def when_i_click_on_upload_esfa_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def then_i_see_validation_error_regarding_invalid_file_type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def when_i_click_on_upload_payer_response
end

def when_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def then_i_see_validation_error_regarding_invalid_data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def when_i_click_on_upload_payer_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_file_not_containing_an_invalid_claim_status
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def when_i_click_on_upload_payer_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_file_missing_an_unpaid_reason_for_the_unpaid_claim
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def when_i_click_on_upload_payer_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_csv_containing_a_claim_not_with_the_status_payment_in_progress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def when_i_click_on_upload_payer_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_csv_containing_invalid_headers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def when_i_click_on_upload_payer_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_file_containing_a_reference_not_associated_with_an_existing_claim
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def when_i_click_on_upload_payer_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_csv_containing_payer_responses_for_all_claims_with_the_status_payment_in_progress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def when_i_click_on_upload_payer_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def then_i_see_validation_error_regarding_invalid_file_type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def when_i_click_on_upload_claims_to_be_sampled
end

def when_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def then_i_see_validation_error_regarding_invalid_data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def when_i_upload_a_csv_containing_invalid_sampling_data
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def then_i_see_validation_error_regarding_invalid_data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def when_i_upload_a_csv_containing_a_valid_sampling_data
:when_i_upload_a_csv_containing_a_valid_sampling_data

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def then_i_see_the_confirmation_page_for_uploading_the_sampling_data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def when_i_upload_an_invalid_file_type
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def then_i_see_validation_error_regarding_the_incorrect_file_type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def when_i_click_on_upload_provider_response
end

def when_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def then_i_see_validation_error_regarding_invalid_data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def when_i_click_on_upload_provider_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_csv_containing_a_mentor_not_associated_with_the_claims
Expand All @@ -116,7 +116,7 @@ def then_i_see_the_errors_page
def and_i_see_the_csv_contained_claims_not_with_the_status_sampling_in_progress
expect(page).to have_h1("Upload provider response")
expect(page).to have_element(:div, text: "You need to fix 1 error related to specific rows", class: "govuk-error-summary")
expect(page).to have_element(:td, text: "Not a valid mentor name Jane Doe", class: "govuk-table__cell")
expect(page).to have_element(:td, text: "Enter a valid mentor name Jane Doe", class: "govuk-table__cell")
expect(page).to have_element(:p, text: "Only showing rows with errors", class: "govuk-!-text-align-centre")
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def when_i_click_on_upload_provider_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_csv_containing_a_claim_not_with_the_status_sampling_in_progress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def when_i_click_on_upload_provider_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_file_not_containing_an_assured_status_for_each_mentor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def when_i_click_on_upload_provider_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_csv_file_not_containing_valid_headers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def when_i_click_on_upload_provider_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_file_not_containing_an_assured_status_for_each_mentor
Expand All @@ -123,7 +123,7 @@ def then_i_see_the_errors_page
def and_i_see_the_csv_contained_claims_without_a_rejection_reason
expect(page).to have_h1("Upload provider response")
expect(page).to have_element(:div, text: "You need to fix 1 error related to specific rows", class: "govuk-error-summary")
expect(page).to have_element(:td, text: "Reason needed", class: "govuk-table__cell")
expect(page).to have_element(:td, text: "Enter a reason", class: "govuk-table__cell")
expect(page).to have_element(:p, text: "Only showing rows with errors", class: "govuk-!-text-align-centre")
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def when_i_click_on_upload_provider_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def then_i_see_validation_error_regarding_invalid_data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def when_i_click_on_upload_provider_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_file_not_containing_an_assured_status_for_each_mentor
Expand All @@ -123,7 +123,7 @@ def then_i_see_the_errors_page
def and_i_see_the_csv_contained_claims_without_a_claim_accepted_input_for_each_mentor
expect(page).to have_h1("Upload provider response")
expect(page).to have_element(:div, text: "You need to fix 1 error related to specific rows", class: "govuk-error-summary")
expect(page).to have_element(:td, text: "Not a valid input", class: "govuk-table__cell")
expect(page).to have_element(:td, text: "Enter a valid input", class: "govuk-table__cell")
expect(page).to have_element(:p, text: "Only showing rows with errors", class: "govuk-!-text-align-centre")
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def when_i_click_on_upload_provider_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def when_i_upload_a_csv_containing_provider_responses_for_all_claims_with_the_status_sampling_in_progress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def when_i_click_on_upload_provider_response
end

def and_i_click_on_upload_csv_file
click_on "Upload CSV file"
click_on "Upload"
end

def then_i_see_validation_error_regarding_invalid_file_type
Expand Down

0 comments on commit 3fe7a2d

Please sign in to comment.