TinyShip
TinyShip
 TinyShip
TinyShip
TinyShip Documentation
TinyShip User GuideGetting StartedBasic Configuration
Credits System Configuration
Storage Service ConfigurationCaptcha Configuration
Development Best PracticesLocal E2E Workflow
User Guide

Local E2E Workflow

Run Playwright E2E locally across Next.js, Nuxt.js, and TanStack Start

This page describes how to run E2E locally and verify cross-framework parity.

Prerequisites

npm install -g playwright @playwright/test
npx playwright install chromium

Make sure .env and database are ready.

Workflow

  1. Start one app on port 7001:
    • pnpm dev:next
    • pnpm dev:nuxt
    • pnpm dev:tanstack
  2. Run tests:
pnpm test:e2e
# or
npx playwright test --config=tests/e2e/playwright.config.ts
  1. Switch framework and run again.

Useful commands

npx playwright test --config=tests/e2e/playwright.config.ts tests/e2e/specs/<name>.spec.ts
npx playwright test --config=tests/e2e/playwright.config.ts --grep "<keyword>"

Development Best Practices

Recommended workflow and collaboration practices for TinyShip

Support & Help

Support & Help

On this page

PrerequisitesWorkflowUseful commands