https://github.com/ekaterinamavliutova/appmagic_test_assignment_ts
e2e testing with Playwright
https://github.com/ekaterinamavliutova/appmagic_test_assignment_ts
e2e-tests playwright typescript
Last synced: 3 months ago
JSON representation
e2e testing with Playwright
- Host: GitHub
- URL: https://github.com/ekaterinamavliutova/appmagic_test_assignment_ts
- Owner: EkaterinaMavliutova
- Created: 2024-12-09T15:32:39.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-01-13T15:34:48.000Z (6 months ago)
- Last Synced: 2025-04-01T09:08:06.206Z (3 months ago)
- Topics: e2e-tests, playwright, typescript
- Language: TypeScript
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Test assignment for AppMagic (TypeScript version)
[](https://github.com/EkaterinaMavliutova/AppMagic_test_assignment_ts/actions/workflows/playwright.yml)
### Task:
Write a test in JavaScript/Typescript using Playwright (the order of checks doesn't matter):
- Go to page https://appmagic.rocks/top-charts/apps.
- Open country selector.
- Find a country in the list (by filling in the input).
- Select the country.
- Clear the input by icon.
- Enter invalid data to the input (any value that is not a country from the list).
- Make a screenshot of the selector panel in the 'no data' state.
- Close the selector (with one or several methods).
- Check the maximum number of characters in the input (255).## How to run tests
* Clone this repository.
* Install required dependencies:
```
npm i
```
* Run tests:
```
npm test
```