diff --git a/.circleci/config.yml b/.circleci/config.yml index 811ac5f53de..f1afd1eaed8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1497,7 +1497,7 @@ jobs: # # The trailing hyphen in restore_cache seems important # according to the page linked above - - v8-server-tests-coverage- + - v9-server-tests-coverage- - run: name: Ensure Test Coverage Increasing command: | @@ -1553,7 +1553,7 @@ jobs: # Use the BuildNum to update the cache key so that the # coverage cache is always updated - save_cache: - key: v7-server-tests-coverage-{{ .BuildNum }} + key: v9-server-tests-coverage-{{ .BuildNum }} paths: - ~/transcom/mymove/tmp/baseline-go-coverage when: always @@ -1631,7 +1631,7 @@ jobs: # The trailing hyphen in restore_cache seems important # according to the page linked above keys: - - v6-client-tests-coverage- + - v7-client-tests-coverage- - run: name: Ensure Test Coverage Increasing command: | @@ -1683,7 +1683,7 @@ jobs: # Use the BuildNum to update the cache key so that the # coverage cache is always updated - save_cache: - key: v5-client-tests-coverage-{{ .BuildNum }} + key: v7-client-tests-coverage-{{ .BuildNum }} paths: - ~/transcom/mymove/tmp/baseline-jest-coverage when: always diff --git a/src/components/Customer/Review/ShipmentCard/MobileHomeShipmentCard/MobileHomeshipmentCard.test.jsx b/src/components/Customer/Review/ShipmentCard/MobileHomeShipmentCard/MobileHomeshipmentCard.test.jsx index e2d6d3fc563..7bebe5500cc 100644 --- a/src/components/Customer/Review/ShipmentCard/MobileHomeShipmentCard/MobileHomeshipmentCard.test.jsx +++ b/src/components/Customer/Review/ShipmentCard/MobileHomeShipmentCard/MobileHomeshipmentCard.test.jsx @@ -60,6 +60,7 @@ describe('MobileHomeShipmentCard component', () => { it('renders component with all fields', () => { render(); + expect(screen.getAllByTestId('ShipmentCardNumber').length).toBe(1); expect(screen.getByRole('heading', { level: 3 })).toHaveTextContent('Mobile Home 1'); expect(screen.getByText(/^#testMove123-01$/, { selector: 'p' })).toBeInTheDocument(); @@ -133,6 +134,7 @@ describe('MobileHomeShipmentCard component', () => { expect(screen.getByTitle('Help about incomplete shipment')).toBeInTheDocument(); await userEvent.click(screen.getByTitle('Help about incomplete shipment')); + expect(screen.getAllByTestId('ShipmentCardNumber').length).toBe(1); expect(incompleteShipmentProps.onIncompleteClick).toHaveBeenCalledWith( 'Mobile Home 1',