https://github.com/BuildFrom/Playwright
https://github.com/BuildFrom/Playwright
frontend github-action page-object-model-design-pattern typescript
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/BuildFrom/Playwright
- Owner: BuildFrom
- License: apache-2.0
- Created: 2024-02-23T01:22:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-23T01:37:15.000Z (about 2 years ago)
- Last Synced: 2024-11-13T18:43:21.011Z (over 1 year ago)
- Topics: frontend, github-action, page-object-model-design-pattern, typescript
- Language: TypeScript
- Homepage:
- Size: 163 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Project Title
Playwright Testing Tool developed by Microsoft for E2E and Unit Testing.
This template is designed to be used as a separate project, enabling QA teams to have their own repositories.
Suggestion: Access frontend using data-testid, BUT here is the example implemented in SvelteKit on how to hide it in a production environment to protect against web scrapers, and DoS attacks.
Note:
* Mocking data is not supported at this time and requires Vitest.
* You're required to have 1 GitHub Pages per account.

### Playwright Features Utilized
* Page Object Model
* HTML Reporter to GitHub Pages using GitHub Actions (Useful for QA teams)
## Table of Contents
- [Introduction](#introduction)
- [Installation](#installation)
- [Usage](#usage)
- [Team](#configuration)
## Introduction
I've developed a fundamental project catering to QA engineers, with a primary emphasis on establishing a robust CI/CD (DevOps) pipeline. While my focus has been on the infrastructure for continuous integration and deployment, I acknowledge that my exploration of testing practices has been limited.
## Installation
Include instructions on how to install and set up your project. This might include:
```bash
# Clone the repository
git clone (template-repo)
# Navigate to the project directory
cd myapp-qa
# Install dependencies
npm install
```
## Usage
```bash
# Run Tests
make pw-run
make pw-html
```
## Team