Skip to content

qa-at-the-point/playwright-typescript

Repository files navigation

Test Automation with TypeScript and Playwright

This repo is meant to include examples, tests, pipelines, reports, etc., for anyone interested in using TypeScript with Playwright

Setup

This project uses bun to do all bundling, transpiling, packaging, etc. Also, if you're using Gitpod, then the setup is already complete!

bun.js

  1. Install bun and source if necessary

    curl -fsSL https://bun.sh/install | bash
    source ~/.bashrc
  2. Install packages/dependencies from package.json

    npm install
  3. Run some tests to validate setup. For example:

    bun test tests/palindrome.spec.ts
  4. Run Playwright UI tests

    bun pwtest tests/example.spec.ts
    • If using Gitpod, open Port 6080 to see any tests running with a headed browser. Tests are "headless" by default

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published