@trieb.work/nextjs-turbo-redis-cache
Version:
Designed for speed, scalability, and optimized performance, nextjs-turbo-redis-cache is your custom cache handler for demanding production environments.
19 lines (16 loc) • 500 B
text/typescript
import { defineConfig } from '@playwright/test';
const testApp =
process.env.PLAYWRIGHT_TEST_APP || 'next-app-16-2-6-cache-components';
export default defineConfig({
testDir: 'test/playwright',
use: {
baseURL: process.env.PLAYWRIGHT_BASE_URL || 'http://localhost:3101',
trace: 'on-first-retry',
},
webServer: {
command: `pnpm -C test/nextjs-test-projects/${testApp} dev -p 3101`,
url: 'http://localhost:3101',
reuseExistingServer: true,
timeout: 120_000,
},
});