diff --git a/packages/template-retail-react-app/app/components/footer/index.jsx b/packages/template-retail-react-app/app/components/footer/index.jsx index 95ae95452c..5ef933dd08 100644 --- a/packages/template-retail-react-app/app/components/footer/index.jsx +++ b/packages/template-retail-react-app/app/components/footer/index.jsx @@ -104,7 +104,7 @@ const Footer = ({...otherProps}) => { })} links={[ { - href: '/', + href: '/order-status', text: intl.formatMessage({ id: 'footer.link.order_status', defaultMessage: 'Order Status' diff --git a/packages/template-retail-react-app/app/components/footer/index.test.js b/packages/template-retail-react-app/app/components/footer/index.test.js index 335656bcbf..6367ca3057 100644 --- a/packages/template-retail-react-app/app/components/footer/index.test.js +++ b/packages/template-retail-react-app/app/components/footer/index.test.js @@ -5,18 +5,56 @@ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ import React from 'react' -import {screen} from '@testing-library/react' - +import {screen, within} from '@testing-library/react' import Footer from '@salesforce/retail-react-app/app/components/footer/index' import {renderWithProviders} from '@salesforce/retail-react-app/app/utils/test-utils' +import {useBreakpointValue} from '@chakra-ui/react' -test('renders component', () => { - renderWithProviders(