Skip to content

chore: Add extensive test cases (e2e) #839

Closed
@tiffafoo

Description

@tiffafoo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: lowreliabilitycode to address reliability issuestype: chorework needed to keep the product and development running smoothlyv4Issues related to the v4 Next.js runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions