Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/vikashchauhan51/playwright-sample
- Owner: VikashChauhan51
- Created: 2022-04-23T06:00:34.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-05T22:26:48.000Z (10 months ago)
- Last Synced: 2024-11-09T21:36:01.407Z (3 months ago)
- Topics: automation, automation-framework, framework, playwright, playwright-tests, playwright-typescript, tests, typescript
- Language: TypeScript
- Homepage:
- Size: 52.7 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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).