diff --git a/ui/components/multichain/product-tour-popover/product-tour-popover.js b/ui/components/multichain/product-tour-popover/product-tour-popover.js index 411821a4da08..eaf5fa73a13b 100644 --- a/ui/components/multichain/product-tour-popover/product-tour-popover.js +++ b/ui/components/multichain/product-tour-popover/product-tour-popover.js @@ -110,9 +110,10 @@ export const ProductTour = ({ paddingTop={2} color={TextColor.infoInverse} variant={TextVariant.bodyMd} + data-testid="multichain-product-tour-menu-popover-step-counter" > {currentStep && totalSteps - ? { currentStep } / { totalSteps } + ? `${currentStep} / ${totalSteps}` : null} { ); expect(prevIcon).toBeInTheDocument(); }); + it('should render correct steps', () => { + const { getByText } = render( + , + ); + expect(getByText('2 / 5')).toBeInTheDocument(); + }); });