Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 days 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 (2 months ago)
- Default Branch: main
- Last Pushed: 2025-01-13T15:34:48.000Z (28 days ago)
- Last Synced: 2025-02-07T05:14:29.594Z (4 days 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)
[![Playwright Tests](https://github.com/EkaterinaMavliutova/AppMagic_test_assignment_ts/actions/workflows/playwright.yml/badge.svg)](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
```