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

[MDS-4153] Added missing VFCBC fields to NoW #2611

Merged
merged 4 commits into from
Aug 2, 2023

Conversation

matbusby-fw
Copy link
Collaborator

Objective

MDS-4153

Update core to accept and display new NoW fields from VFCBC

  • added mine_purpose to fields that are "transmogrified" from VFCBC
  • adjusted BE returns to include new data
  • added fields in Core to show new fields
  • refactored frontend components to TS
  • Added interfaces for NoW
image image

@matbusby-fw matbusby-fw added the 💻 Frontend This pull request includes frontend changes. label Jul 31, 2023
@matbusby-fw matbusby-fw changed the title Added missing VFCBC fields to NoW [MDS-4153] Added missing VFCBC fields to NoW Jul 31, 2023
@matbusby-fw matbusby-fw added the 💾 Backend This pull request includes backend changes. label Jul 31, 2023
@@ -31,292 +31,4 @@ describe("ReviewApplicationFeeContent", () => {
const component = shallow(<ReviewApplicationFeeContent {...props} />);
expect(component).toMatchSnapshot();
});

it("MIN: isApplicationFeeValid === true if `adjustedTonnage` is set and exceeds proposed tonnage for MIN", () => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After converting the ReviewApplicationFeeContent component into a functional component, these tests no longer work as you can't spy on functions within a functional component. As this type of testing is generally avoided in favour of user flow testing, I made the decision to get rid of them for now. We have upcoming tickets to implement Cypress tests for high value areas, and I think NoW is definitely one of those.

@matbusby-fw matbusby-fw added the 👍 Ready for review Pull request has been double checked by the author and is ready for comments and feedback. label Aug 2, 2023
@matbusby-fw matbusby-fw merged commit d04486e into develop Aug 2, 2023
11 checks passed
@matbusby-fw matbusby-fw deleted the mds-4153-vfcbc-fields branch August 2, 2023 17:49
matbusby-fw added a commit that referenced this pull request Aug 4, 2023
matbusby-fw added a commit that referenced this pull request Aug 4, 2023
Revert "[MDS-4153] Added missing VFCBC fields to NoW (#2611)"

This reverts commit d04486e.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💾 Backend This pull request includes backend changes. 💻 Frontend This pull request includes frontend changes. 👍 Ready for review Pull request has been double checked by the author and is ready for comments and feedback.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants