Skip to content

togo-framework/testing-playwright

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

togo

togo-framework/testing-playwright

marketplace pkg.go.dev MIT

Part of the togo framework.

Install

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

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

Run

# 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


Premium sponsors

ID8 Media  ·  One Studio

Support togo — become a sponsor.

Sponsor this project

 

Packages

 
 
 

Contributors