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 21490 INT - Secondary Transportation Offices - Increase Test Coverage #14380

Merged
merged 46 commits into from
Dec 12, 2024

Conversation

ajlusk
Copy link
Contributor

@ajlusk ajlusk commented Dec 12, 2024

Agility ticket

Summary

I don't think this BL's changes are the straw that broke the server test coverage but there was some low hanging fruit to increase coverage. Some tests are directly related to B-21490 but many are only adjacent (tests stuff used by but not added by 21490/92) to get make up that 0.2% difference.

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. Tests passing?
  2. Test coverage passing, is it at 76.3 rather than 76.1 or 76.2?

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

MInthavongsay and others added 30 commits December 4, 2024 19:29
…ocations

B-21676 exclude nsra15 duty locations
@ajlusk ajlusk added Scrummy Bears Scrum Team H INTEGRATION Slated for Integration Testing labels Dec 12, 2024
@ajlusk ajlusk self-assigned this Dec 12, 2024
@transcom transcom deleted a comment from robot-mymove Dec 12, 2024
@ajlusk ajlusk marked this pull request as ready for review December 12, 2024 19:30
@ajlusk ajlusk requested a review from a team as a code owner December 12, 2024 19:30
@ajlusk ajlusk changed the title B 21490 INT - Increase Test Coverage B 21490 INT - Secondary Transportation Offices - Increase Test Coverage Dec 12, 2024
Copy link
Contributor

@MInthavongsay MInthavongsay left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Contributor

@antgmann antgmann left a comment

Choose a reason for hiding this comment

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

From my understanding of this area of the application, these tests look good. However, the commented test in pkg/handlers/adminapi/office_users_test.go needs adjusted.

Copy link
Contributor

@antgmann antgmann left a comment

Choose a reason for hiding this comment

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

Requested change made 😎

Copy link
Contributor

@r-mettler r-mettler left a comment

Choose a reason for hiding this comment

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

looks good

@ajlusk ajlusk merged commit 0636629 into integrationTesting Dec 12, 2024
33 checks passed
@ajlusk ajlusk deleted the B-21490-INT branch December 12, 2024 21:11
@ajlusk ajlusk mentioned this pull request Dec 12, 2024
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
INTEGRATION Slated for Integration Testing Scrummy Bears Scrum Team H
Development

Successfully merging this pull request may close these issues.

4 participants