# Preview, Test, and Debug Storefront Next

Use Storybook to view, test, and document React UI components. Also, run automated tests with the end-to-end test suite built with CodeceptJS and Playwright. Debug your storefront by checking out the debugging and troubleshooting tips.

In this section:

- [Preview Your Storefront in Business Manager with Shopper Context](/docs/commerce/b2c-commerce/guide/sfnext-storefront-preview.md)
- [Build and Test Components with Storybook](/docs/commerce/b2c-commerce/guide/sfnext-storybook.md)
- [End-to-End Testing with CodeceptJS](/docs/commerce/b2c-commerce/guide/sfnext-e2e-testing.md)
- [Debug Storefront Next](/docs/commerce/b2c-commerce/guide/sfnext-debug.md)
