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

B-22244-INT #14972

Open
wants to merge 6 commits into
base: integrationTesting
Choose a base branch
from
Open

B-22244-INT #14972

wants to merge 6 commits into from

Conversation

stevengleason-caci
Copy link
Contributor

B-22244

Summary

Add a test which covers the fix which was made for I-13712

Verification Steps for the Author

These are to be checked by the author.

  • Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
  • Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers

These are to be checked by a reviewer.

  • Has the branch been pulled in and checked out?
  • Have the BL acceptance criteria been met for this change?
  • Was the CircleCI build successful?
  • Has the code been reviewed from a standards and best practices point of view?

Setup to Run the Code

How to test

  1. make e2e_test
  2. verify pass for "TOO user > approves a delivery address change request for an international HHG shipment"

Frontend

  • There are no aXe warnings for UI.
  • This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
  • There are no new console errors in the browser devtools.
  • There are no new console errors in the test output.
  • If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
  • This change meets the standards for Section 508 compliance.

Backend

Database

Any new migrations/schema changes:

  • Follows our guidelines for Zero-Downtime Deploys.
  • Have been communicated to #g-database.
  • Secure migrations have been tested following the instructions in our docs.

Screenshots

…n iHHG,

specifically testing that the change is applied after saving the Review Modal,
no need to save on the Shipment Edit page too.

Fixed a bug in testharness/make_move.go, the MS service item must be on the Move not the Shipment.
Also fixed a typo in the dHHG test.
@stevengleason-caci stevengleason-caci added INTEGRATION Slated for Integration Testing Go-Rillaz Go-Rillaz labels Mar 6, 2025
@stevengleason-caci stevengleason-caci self-assigned this Mar 6, 2025
@stevengleason-caci stevengleason-caci requested review from a team as code owners March 6, 2025 15:18
@stevengleason-caci stevengleason-caci marked this pull request as draft March 6, 2025 15:18
@stevengleason-caci stevengleason-caci marked this pull request as ready for review March 6, 2025 17:00
@@ -11073,8 +11073,7 @@ func makeIntlHHGMoveDestAddressRequested(
factory.BuildMTOServiceItemBasic(appCtx.DB(), []factory.Customization{
{
Model: models.MTOServiceItem{
Status: models.MTOServiceItemStatusApproved,
MTOShipmentID: &shipmentAddressUpdate.Shipment.ID,
Status: models.MTOServiceItemStatusApproved,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was causing a DB error during service item re-calculation. I believe the MS Move Management service item should be linked to only the move, not the shipment. With this change the generated test shipment shows the Move Management service item in the MTO Service Items section instead of the shipment Approved Service Items which now matches shipments I made manually through the UI.

@@ -644,7 +644,7 @@ test.describe('TOO user', () => {

test('approves a delivery address change request for an HHG shipment', async ({ officePage, page }) => {
test.setTimeout(300000); // This one has been a headache forever. Shoehorn fix to go way above default "slow" timeout
const shipmentAddressUpdate = await officePage.testHarness.bulidHHGMoveWithAddressChangeRequest();
const shipmentAddressUpdate = await officePage.testHarness.buildHHGMoveWithAddressChangeRequest();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed a typo I noticed, "bulid" vs "build"

Copy link
Contributor

@msaki-caci msaki-caci left a comment

Choose a reason for hiding this comment

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

Just a small thing

msaki-caci
msaki-caci previously approved these changes Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend frontend Go-Rillaz Go-Rillaz INTEGRATION Slated for Integration Testing
Development

Successfully merging this pull request may close these issues.

2 participants