The best testing setup for frontends, with Playwright and NextJS

This page summarizes the projects mentioned and recommended in the original post on dev.to

Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. testing-setup-nextjs-playwright

    Testing setup using NextJS and Playwright

    Check out our repo for this stage of the setup - Step 1 - setting up NextJS.

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. chokidar

    Minimal and efficient cross-platform file watching library

    For this, we'll use chokidar - more specifically the chokidar-cli package. chokidar is probably the most useful file watching library for the nodejs ecosystem and it will serve us well.

  4. Playwright

    Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

    // playwright.config.ts import { defineConfig } from "@playwright/test"; /** * See https://playwright.dev/docs/test-configuration. */ export default defineConfig({ testDir: "./src/pages", reporter: "list", use: { baseURL: "http://localhost:5432/", }, timeout: process.env.CI ? 10000 : 4000, // ... more options });

  5. Next.js

    The React Framework

    We want to share with you the best testing setup we've experienced - and this includes using Playwright and NextJS. It's a setup we've come up with for Infinite React DataGrid, which is a complex component, with lots of things to test, but this configuration has helped us ship with more confidence and speed.

  6. Infinite Table React DataGrid

    Infinite Table is the modern DataGrid for building React apps — faster.

    This is the same setup we've been using for developing and testing the Infinite Table React DataGrid and it has been serving us really well.

  7. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Request-Mocking-Protocol: A New Approach to Mocking Server-Side Requests in E2E Testing

    5 projects | dev.to | 13 Mar 2025
  • Server Side Mocking for Playwright in NextJS using Mock Service Worker

    3 projects | dev.to | 11 Jul 2023
  • Simplify your Dev Environment with PM2

    2 projects | dev.to | 21 Mar 2021
  • How to Securely Connect to Medusa.js Production Database on AWS?

    3 projects | dev.to | 29 Aug 2025
  • Next.js 16: The real dirt behind the hype

    2 projects | dev.to | 28 Aug 2025