Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

London-NonLondon Feature Branch #7263

Draft
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

AlexRyanShep
Copy link
Contributor

Not to be merged. Draft PR to activate tests runs on this branch when merging ticket branches in

…del. New attribute is set to be a boolean, with null values enabled to not break compatibility with existing claim entries.
… are now functional and will store a true or false value in the created claim.
*** Some tweaks to make cucumber tests work properly
*** Added a test to claims_controller_spec.rb to confirm that the new attribute is working in the backend.
london_rates_apply added as an optional param to common_lgfs_params in claim_params_helper.rb which cascades down to the individual API endpoints
** added new helper method to base_validator
** added validation method to base_claim validator
** added param to litigator final claims validation only for now; TODO for late add it to other litigator claim types
** translations added to claim.yml
** Created new custom validation in Grape for optional booleans
** Tweaked and expanded unit tests
** Expanded step validation specs to include the new attribute
** Neatened summary row code to make it multiple smaller lines
** Added london_rates_apply summary line to the accordion for submitted claims
** Nils now have a default message
** Step validation hadn't been activated for some LGFS claim types, fixed that
** Tests within shared_examples_for_api.rb covering london rates refactored to use shared examples to avoid use of skip for AGFS claim types
** New shared examples included in all LGFS claim type specs
…del. New attribute is set to be a boolean, with null values enabled to not break compatibility with existing claim entries.
@AlexRyanShep
Copy link
Contributor Author

Rebased from master- 12/08/2024

** Wording for review page null scenario reviewed with designer and amended to be a bit vaguer due to high number of potential scenarios.
…es-Front-end' into London-NonLondon-Feature-Branch

# Conflicts:
#	db/schema.rb
…es-CCCD-API' into London-NonLondon-Feature-Branch
** Request spec set up for Prices Controller, currently only testing london_rates cases
** Prices Controller can now submit API requests for london prices when given a claim with London Rates Apply set
** New feature tests created for london/nonlondon rates on LGFS misc fees
** Modify LGFS misc fees form to use dropdown, quantity and rate fields
** Modify fee_type_code_for to not return LIT_FEE for LGFS misc fees
** New quantity identifier in LGFSMiscFeeSection
** Some tweaks and changes to scope to make new misc fee featuretests work
** Recorded VCRs for new misc fee tests
** Fixed unused materials 3 hours warning to new JS version
** Minor rubocop tweaks and some additional comments for code clarity
** Whitespace and naming cleanup
Copy link

sonarqubecloud bot commented Sep 3, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant