Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vikashchauhan51/playwright-sample

Playwright automation framework skeleton with Typescript.
https://github.com/vikashchauhan51/playwright-sample

automation automation-framework framework playwright playwright-tests playwright-typescript tests typescript

Last synced: 25 days ago
JSON representation

Playwright automation framework skeleton with Typescript.

Awesome Lists containing this project

README

        

# Playwright Sample
Playwright automation framework skeleton with Typescript.

```
PLAYWRIGHT-SAMPLE
├───.github
│ └───workflows
├───logs
├───node_modules
├───pages
├───playwright-report
├───test-results
├───tests
├───tests-out
└───utils
```

## Local Setup:
1. Install [Microsoft Visual Studio Code IDE](https://code.visualstudio.com). Ignore this if already installed.
2. Install [Playwright VSCode Extension](https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright) and restart VSCode. Ignore this if already installed.
3. Install [Nodejs](https://nodejs.org/) on your system. Ignore this if already installed.
4. Install [Git](https://git-scm.com/download/) on your system. Ignore this if already installed.
5. ```git clone https://github.com/VikashChauhan51/playwright-sample.git``` or download `master` branch zip and extract code.
6. Open project folder with VSCode.
7. Run ` npm install` command to restore all packages.
8. Run ` npm run test:chromium` command to run test for `Chrome` browser only.

## References:
- [Playwright Get started](https://playwright.dev/docs/intro).