https://github.com/remarkablemark/playwright-demo
🎠Playwright demo
https://github.com/remarkablemark/playwright-demo
demo e2e end-to-end-testing javascript playwright playwright-typescript test testing typescript
Last synced: about 2 months ago
JSON representation
🎠Playwright demo
- Host: GitHub
- URL: https://github.com/remarkablemark/playwright-demo
- Owner: remarkablemark
- Created: 2025-06-03T19:05:31.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-12T12:14:37.000Z (about 1 year ago)
- Last Synced: 2025-06-12T13:26:15.454Z (about 1 year ago)
- Topics: demo, e2e, end-to-end-testing, javascript, playwright, playwright-typescript, test, testing, typescript
- Language: TypeScript
- Homepage: https://playwright.dev/docs/intro
- Size: 269 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# playwright-demo
🎠[Playwright](https://playwright.dev/) demo.
## Prerequisites
- [Node.js](https://nodejs.org/)
## Install
Clone the repository:
```sh
git clone https://github.com/remarkablemark/playwright-demo.git
cd playwright-demo
```
Install the dependencies:
```sh
npm install
```
## Run
Run the end-to-end tests:
```sh
npx playwright test
```
Start the interactive UI mode:
```sh
npx playwright test --ui
```
Run the tests only on Desktop Chrome:
```sh
npx playwright test --project=chromium
```
Run the tests in a specific file:
```sh
npx playwright test example
```
Run the tests in debug mode:
```sh
npx playwright test --debug
```
Auto generate tests with Codegen:
```sh
npx playwright codegen
```
Show HTML test reports:
```sh
npx playwright show-report
```
We suggest that you begin by typing:
```sh
npx playwright test
```
And check out the following files:
- `./tests/example.spec.ts` - Example end-to-end test
- `./tests-examples/demo-todo-app.spec.ts` - Demo Todo App end-to-end tests
- `./playwright.config.ts` - Playwright Test configuration
Visit https://playwright.dev/docs/intro for more information. ✨
Happy hacking! ðŸŽ