https://github.com/rathorsunpreet/playwrighttest
UI Test for https://artoftesting.com/samplesiteforselenium using Playwright, Typescript and POM
https://github.com/rathorsunpreet/playwrighttest
page-object-model playwright playwright-typescript test test-automation testing testing-framework typescript ui-testing ui-tests
Last synced: 10 months ago
JSON representation
UI Test for https://artoftesting.com/samplesiteforselenium using Playwright, Typescript and POM
- Host: GitHub
- URL: https://github.com/rathorsunpreet/playwrighttest
- Owner: rathorsunpreet
- License: mit
- Created: 2023-12-28T04:38:08.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-28T04:41:54.000Z (almost 2 years ago)
- Last Synced: 2025-01-07T06:32:03.571Z (12 months ago)
- Topics: page-object-model, playwright, playwright-typescript, test, test-automation, testing, testing-framework, typescript, ui-testing, ui-tests
- Language: TypeScript
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Playwright Test
Typescript project to perform cross-browser test of DOM Elements of the site [Art of Testing](https://artoftesting.com/samplesiteforselenium) using Playwright and POM.
## Installation
Download the package from [Github](https://github.com/rathorsunpreet/playwrightTest) and unzip it.
```console
# Installs dependencies
npm install
# If the above does not work, then
npm install --only=dev
```
## Usage
```console
# To execute the tests
npm run test
# To execute the tests visually
npm run test-visual
# To execute the tests in an interactive manner
npm run interact
# To execute the debugger
npm run debug
# To generate a report after executing tests
npm run generate-report
# To view the generated HTML report
npm run show-report
```
## License
[MIT](https://choosealicense.com/licenses/mit/)