Skip to content

Setting up Playwright for Next.js and Prisma #108

@joshmfrankel

Description

@joshmfrankel

Playwright Config

  • Use a different port than your development one to avoid data and state collision
  use: {
    /* Base URL to use in actions like `await page.goto('/')`. */
    baseURL: "http://localhost:3001/",

  webServer: {
    command: "yarn dev -p 3001",
    url: "http://localhost:3001",
    reuseExistingServer: !process.env.CI,
  },

Shared state
Storage
Auth
Set

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions