Marketplace

Playwright E2E

Other

Playwright end-to-end test harness.

togo-framework
bash
togo install togo-framework/testing-playwright

Install

bash
togo install togo-framework/testing-playwright

testing-playwright

Playwright end-to-end testing for togo apps. Ships a ready playwright.config.ts (desktop + mobile projects, optional togo serve web server) and a starter e2e/ suite that smoke-tests the welcome page, the REST API, and login.

Install

bash
togo install togo-framework/testing-playwright
npm i -D @playwright/test && npx playwright install

Run

bash
# against a running app
TOGO_BASE_URL=http://localhost:3000 npx playwright test
# or let Playwright boot the app
TOGO_WEB_SERVER=1 npx playwright test
npx playwright test --ui     # interactive

Pairs with the Go-side github.com/togo-framework/testing helpers for API/unit tests — this covers the browser/e2e layer.

MIT © togo-framework


<div align="center"> <h3>Premium sponsors</h3> <p> <a href="https://id8media.com"><strong>ID8 Media</strong></a> &nbsp;·&nbsp; <a href="https://one-studio.co"><strong>One Studio</strong></a> </p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>