Skip to content

ratchagarn/playwright-training-ground

Repository files navigation

Playwright Training Ground

The place for you to learn and try about Playwright

This project use vite-react-ts-boilerplate to initial project

Useful Link

API

This project use mswjs/msw as mocking server API and use mswjs/data as data modeling

Data Generate

THis project use fakerjs as data generate

Setup

  1. pnpm install for install all dependencies
  2. Duplicate file .env.example and rename to .env.local
  3. npx msw init public/ --save
  4. Open your terminal then run pnpm test, all test should pass properly
  5. Create directory tests at root directory
  6. Update .env.local, change PLAYWRIGHT_TEST_DIR value to ./tests
  7. Write your test in tests directory
  8. You can follow topic section Challenges to learn how to test website with playwright

Challenges

  • Coming soon...

About

Training ground for learning Playwright

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages