test: add live e2e happyfappy CLI tests with detailed output

This commit is contained in:
2026-03-07 02:46:10 +03:00
parent 6d7cb602b3
commit 4ce0aad021
4 changed files with 203 additions and 0 deletions

View File

@@ -91,3 +91,17 @@ wscraper hf -a dtf -u "https://www.happyfappy.net/torrents.php?id=110178" -c coo
│ └── happyfappy.py
└── README.md
```
## 6) E2E Test (Canli)
Bu testler gercek siteye istek atar ve link/selector kirilmalarini yakalamayi hedefler.
```bash
python -m pip install -e ".[test]"
WSCRAPER_E2E=1 pytest -m e2e -s -vv --color=yes
```
Opsiyonel degiskenler:
- `WSCRAPER_COOKIE_FILE` (varsayilan: `cookies.txt`)
- `WSCRAPER_TEST_TORRENT_URL` (varsayilan: `https://www.happyfappy.net/torrents.php?id=110178`)