Add dedicated mobile event add-ons page
This commit is contained in:
@@ -515,6 +515,11 @@ describe('MobileBillingPage', () => {
|
||||
|
||||
render(<MobileBillingPage />);
|
||||
|
||||
expect(await screen.findByText('Buy add-ons for this event')).toBeInTheDocument();
|
||||
const buyAddonsButton = await screen.findByText('Buy add-ons for this event');
|
||||
expect(buyAddonsButton).toBeInTheDocument();
|
||||
|
||||
fireEvent.click(buyAddonsButton);
|
||||
|
||||
expect(navigateMock).toHaveBeenCalledWith('/mobile/events/fruehlingsfest/addons');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user