Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darvinpatel/playwright-demo
This project demonstrates end-to-end testing using Playwright, covering various web application testing scenarios such as cross-browser testing, UI interactions, and automation. It includes tests for user flows, form validations, and page navigation with detailed reporting and headless execution.
https://github.com/darvinpatel/playwright-demo
playwright playwright-demo playwright-tests playwright-typescript typescript
Last synced: 14 days ago
JSON representation
This project demonstrates end-to-end testing using Playwright, covering various web application testing scenarios such as cross-browser testing, UI interactions, and automation. It includes tests for user flows, form validations, and page navigation with detailed reporting and headless execution.
- Host: GitHub
- URL: https://github.com/darvinpatel/playwright-demo
- Owner: darvinpatel
- License: mit
- Created: 2024-09-10T14:29:27.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-18T00:32:53.000Z (5 months ago)
- Last Synced: 2024-11-16T18:43:40.502Z (3 months ago)
- Topics: playwright, playwright-demo, playwright-tests, playwright-typescript, typescript
- Language: TypeScript
- Homepage: https://www.saucedemo.com/
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Practice test automation with on Swag Labs> **Note**
>
> + **Swag Labs** is basic online store with required login from Sauce Labs. Great for example web UI tests.
>
## PLaywright features
End to End testing using:- Playwright https://playwright.dev/
- TypeScript https://www.typescriptlang.org/This tests are purely for Playwright features practice, usage of Page Object Model.
## Getting Started
### Prerequisites
Install Playwright and browser binaries for Chromium, Firefox and WebKit.
```shell
npm i -D playwright
```
You need to have Node.js installed.## Useful Commands
### Run All Tests
```shell
npm run play:test
```
### Run Tests for Sorting Feature
```shell
npm run test-s
```
### Run Tests for Login Feature
```shell
npm run test-l
```
### Run Tests for Cart Feature
```shell
npm run test-c
```