Closed
Description
Parent issue to keep track of all test cases/sites we want to have covered via Cypress. We will want to test most features of Next to ensure we don't break anything. Feel free to add more test cases.
Default site
This is the main demo site that represents simple use cases of various features of Next
-
basePath
- Preview mode
- i18n
- Headers
- Rewrites/redirects
-
basePath
+ i18n - Trailing slash
- Catch-all/optional catch-all, getxxprops
- Images
- Dynamic imports
- Custom 404/500
- Static assets in
public
- cookie header locale
- middleware (and on edge runtime fix: run edge middleware on data requests #1382)
- advanced rewrite rules
- react server components
Monorepo site
This represents a monorepo with sites deployed from it and some more advanced configuration
- Custom dist
- Monorepo:
next
run in root with site root in subdirectory
Nx site
This represents a site using Nx (monorepo)
- nx create-app