Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imshaiknasir/pw-rsacademy
This repository contains comprehensive automation scripts developed during tPlaywright JS/TS Automation Testing from Scratch & Framework" course by Rahul Shetty.
https://github.com/imshaiknasir/pw-rsacademy
playwright playwright-javascript playwright-tests rahulshetty udemy
Last synced: 15 days ago
JSON representation
This repository contains comprehensive automation scripts developed during tPlaywright JS/TS Automation Testing from Scratch & Framework" course by Rahul Shetty.
- Host: GitHub
- URL: https://github.com/imshaiknasir/pw-rsacademy
- Owner: imshaiknasir
- Created: 2024-12-15T16:39:01.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-01-21T12:48:38.000Z (16 days ago)
- Last Synced: 2025-01-21T13:30:01.359Z (16 days ago)
- Topics: playwright, playwright-javascript, playwright-tests, rahulshetty, udemy
- Language: JavaScript
- Homepage: https://imshaiknasir.github.io/pw-RSAcademy/
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Playwright Test Automation Framework for [RSAcademy](https://www.udemy.com/course/playwright-tutorials-automation-testing/)
[![Playwright Tests](https://github.com/imshaiknasir/pw-RSAcademy/actions/workflows/playwright-tests.yml/badge.svg)](https://github.com/imshaiknasir/pw-RSAcademy/actions)
This repository contains an automated testing framework built with Playwright for both UI and API testing.
## Directory structure
```
pw-rsacademy/
├── README.md
├── package.json
├── playwright.config.js
├── tests/
│ ├── api_tests/
│ │ ├── ....spec.js
│ ├── basic_tests/
│ │ ├── ....spec.js
│ └── utils/
│ └── ....js
└── .github/
└── workflows/
└── playwright-tests.yml```
## Setup
1. Clone the repository
2. Install dependencies:
```bash
npm ci && npx playwright install chromium
```## Running Tests
Execute all tests:
```bash
npx playwright test
```## Test Reports
- HTML reports are generated in the `playwright-report` directory
- Test results are stored in the `test-results` directory## CI/CD
This project uses GitHub Actions for continuous integration. You can view the latest test execution reports here:
[GitHub Actions Reports](https://github.com/imshaiknasir/pw-RSAcademy/actions)To view the latest test report:
1. Select the latest workflow run from the Actions tab
2. Download the playwright-report artifact
3. Extract the downloaded zip file
4. Run the following command to view the report:
```bash
npx playwright show-report
```The workflow runs all Playwright tests on push and pull request events, ensuring code quality and test coverage.