---
schema_version: "1"
id: b89f61339271182498f595a41992849b3aaf880b730fc8f8b5eced857c4e68cf
title: Preview, Test, and Debug Storefront Next
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/commerce-cloud/sfnext/guides/sfnext-test-debug-section.md
canonical_url: https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/sfnext-test-debug-section.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4b920f89251a4beeebc3bf5571ae091470b982af7ac7081150fa4df1b045eeca
products:
  - Composable Storefront
  - Salesforce APIs
---
# 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](https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/sfnext-storefront-preview.md)
- [Build and Test Components with Storybook](https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/sfnext-storybook.md)
- [End-to-End Testing with CodeceptJS](https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/sfnext-e2e-testing.md)
- [Debug Storefront Next](https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/sfnext-debug.md)
