Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaktestowac/bughuntfest-playwright-patterns
This repository contains code examples used during BugHuntFest conference - "New Automation Paradigms - How Has Playwright Changed the Testing Landscape?"
https://github.com/jaktestowac/bughuntfest-playwright-patterns
automation playwright test test-automation typescript
Last synced: 1 day ago
JSON representation
This repository contains code examples used during BugHuntFest conference - "New Automation Paradigms - How Has Playwright Changed the Testing Landscape?"
- Host: GitHub
- URL: https://github.com/jaktestowac/bughuntfest-playwright-patterns
- Owner: jaktestowac
- Created: 2025-01-25T23:03:37.000Z (5 days ago)
- Default Branch: main
- Last Pushed: 2025-01-28T11:52:28.000Z (2 days ago)
- Last Synced: 2025-01-28T12:22:57.208Z (2 days ago)
- Topics: automation, playwright, test, test-automation, typescript
- Language: TypeScript
- Homepage: https://jaktestowac.pl/bughuntfest2
- Size: 207 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BugHuntFest - New Automation Paradigms - How Has Playwright Changed the Testing Landscape? by jaktestowac.pl
This repository contains code examples used during BugHuntFest conference:
_"New Automation Paradigms - How Has Playwright Changed the Testing Landscape?"_
(Polish: _"Nowe paradygmaty automatyzacji - jak Playwright zmieniΕ krajobraz testΓ³w?"_)
by [jaktestowac.pl](jaktestowac.pl) team.
More:
[BugHuntFest Vol.2](https://jaktestowac.pl/bughuntfest2/)
## Overview
Test framework used to demonstrate concepts of Playwright:
- Modularity
- Auto-waiting mechanism
- Test Data Management
- Non Functional Testing (Performance, Accessibility, Visual Testing)
- Test generation
- Reporting and tracking## Who we are?
We are **Test Architects and Senior Lead Tech Quality Engineers**, who are passionate about testing.
We are constantly looking for new ways to improve our skills and share our knowledge with others.We are here to help you become a better tester and achieve your testing goals!
Read more about our **[Contribution to Playwright and Community](https://jaktestowac.pl/contribution-playwright/)**
## Prerequisites
Before you start, make sure you have the following installed:
- [Node.js](https://nodejs.org) (v20 or later LTS version)
- [npm](https://www.npmjs.com/)
- our free application to practice automation - [π¦ GAD](https://github.com/jaktestowac/gad-gui-api-demo)## Project Structure
```
βββ tests-gad/ # UI/API tests for π¦ GAD application
β βββ tests/
β βββ ...
βββ tests-perf/ # Performance tests for π¦ GAD application
β βββ ...
```## Setup
1. Clone the repository:
```bash
git clone https://github.com/jaktestowac/bughuntfest-playwright-patterns.git
cd bughuntfest-playwright-patterns/tests-gad
```2. Install dependencies:
```bash
npm install
```## Running Tests
Run all tests:
```bash
npm run test
```Run specific test file:
```bash
npx playwright test tests/modularity/flashposts.spec.ts
```Run tests with UI mode:
```bash
npx playwright test --ui
```Generate test report:
```bash
npx playwright show-report
```## Troubleshooting
Common issues and solutions:
1. **Tests fail on first run**
- Ensure π¦ GAD application is running
- Check if correct Node.js version is installed2. **Browser launch fails**
```bash
npx playwright install
```## Resources
- [Playwright Documentation](https://playwright.dev/docs/intro)
- [Playwright GitHub Repository](https://github.com/microsoft/playwright)
- Additional resources - [BugHuntFest Vol.2](https://jaktestowac.pl/bughuntfest2/)## Contact
Feel free to reach out to us:
- Website: [jaktestowac.pl](https://jaktestowac.pl)
- LinkedIn: [jaktestowac.pl](https://www.linkedin.com/company/jaktestowac/)Happy testing and automating tests!π
jaktestowac.pl Team