You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
End-to-end testing for Nylas web interfaces using Playwright.
Test Targets
Command
Type
Port
Description
nylas air
Web
7365
Modern web email client
nylas ui
Web
7363
Web-based CLI admin interface
Prerequisites
Node.js 18+
Go 1.24+
Playwright browsers installed
Quick Start
# Install dependenciescd tests
npm install
# Install Playwright browsers (first time only)
npx playwright install chromium
# Run all tests (Air + UI)
npm test# Run Air tests only
npm run test:air
# Run UI tests only
npm run test:ui
npm test# Run all (Air + UI)
make test-e2e # Via Makefile
Air Tests Only
npm run test:air # Air tests
npm run test:air:ui # Interactive UI mode
npm run test:air:headed # Headed browser
npm run test:air:debug # Debug mode
make test-e2e-air # Via Makefile
UI Tests Only
npm run test:ui # UI tests
npm run test:ui:ui # Interactive UI mode
npm run test:ui:headed # Headed browser
npm run test:ui:debug # Debug mode
make test-e2e-ui # Via Makefile
Interactive Mode
make test-playwright-interactive # Interactive for all
# Run with headed mode
npx playwright test --headed
# Run with debug mode
npx playwright test --debug
# Slow motion
npx playwright test --headed --slow-mo=500