https://github.com/dominikclk/automation-tests-project-playwright
The repository contains code for automated tests of GAD app (GUI API Demo) created using the Playwright library
https://github.com/dominikclk/automation-tests-project-playwright
Last synced: 3 months ago
JSON representation
The repository contains code for automated tests of GAD app (GUI API Demo) created using the Playwright library
- Host: GitHub
- URL: https://github.com/dominikclk/automation-tests-project-playwright
- Owner: DominikCLK
- Created: 2023-11-12T21:10:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-05T21:18:52.000Z (4 months ago)
- Last Synced: 2025-02-05T21:28:08.052Z (4 months ago)
- Language: TypeScript
- Size: 178 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tests for GAD application
## GAD Application
Repository: https://github.com/jaktestowac/gad-gui-api-demo
Follow instructions in app README
## Prepare
### Local recommended tools:
- VS Code
- Git
- Node.js (version >16)### Installation and setup
- (optional) install VSC recommended plugins
- install dependencies: `npm install`
- setup Playwright with: `npx playwright install --with-deps chromium`
- setup husky with: `npx husky install`
- prepare local env file : `cp .env-template .env`
- copy app main URL as value `BASE_URL` variable in `.env` file## Deploy on Local
Requirements:
- node.js installed in system
Steps:
1. Open project root directory in cmd/terminal
2. Run ` npm i`
3. Run `npm run start`
Application will be available at ` http://localhost:3000`
## Use
Run all tests:
```
npx playwright testRun all tests with tags:
```
npx playwright test --grep /tag/
```
For more usage cases look in `package.json` scripts section.
```