Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 646 Bytes

tests.md

File metadata and controls

35 lines (18 loc) · 646 Bytes

TESTS

TODO: Write genereal introduction to testing in tabloid.

Vitest

TODO: Write about Vitest tests

Playwright

Inside packages/newspaper, packages/newsroom and packages/letterpress you can run several commands:

npx playwright test

Runs the end-to-end tests.

npx playwright test --project=chromium

Runs the tests only on Desktop Chrome.

npx playwright test example

Runs the tests in a specific file.

npx playwright test --debug

Runs the tests in debug mode.

npx playwright codegen

Auto generate tests with Codegen.

Visit https://playwright.dev/docs/intro for more information. ✨

Happy hacking! 🎭