Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/egaraujo/airport-gap-api-automation
API Automation with Playwright
https://github.com/egaraujo/airport-gap-api-automation
playwright test-automation typescript
Last synced: about 1 month ago
JSON representation
API Automation with Playwright
- Host: GitHub
- URL: https://github.com/egaraujo/airport-gap-api-automation
- Owner: egaraujo
- Created: 2024-07-28T20:02:12.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-18T20:12:07.000Z (3 months ago)
- Last Synced: 2024-09-26T19:03:58.466Z (about 2 months ago)
- Topics: playwright, test-automation, typescript
- Language: TypeScript
- Homepage:
- Size: 96.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API Automation with Playwright
This is a test suite in Playwright, for Airport Gap API## Run tests
1. Clone the repo
2. Create .env file following "env README.txt" directions
3. Install dependencies: `npm install`
4. Run tests from **airport-gap** folder:
`npx playwright test --ui` for test runner## Test cases
![screenshot](https://github.com/egaraujo/airport-gap-api-automation/blob/main/screenshot.jpg)
• Should retrieve specific paginated set of airports
• Should retrieve a specific airport
• Should not find a wrong airport code
• Should retrieve information between two given airports
• Should ask for airports when not provided
• Should retrieve token
• Should retrieve created favorite
• Should update favorite airport
• Should delete all favorites## Links
Airport Gap API: https://airportgap.com/docs
Airport Gap Repository: https://github.com/dennmart/airport_gap