Commit Graph

22 Commits

Author SHA1 Message Date
Abdullah 7ba333c3c9 perf(session): improve page management and speed up execution
Close pages immediately after tasks finish to reduce resource usage and
improve overall performance. Update corresponding test files to reflect
the new page lifecycle management.
2025-09-17 18:49:45 +03:00
Karim shoair eae088a07b tests: Multiple changes to tests
- Remove all tests for the old encoding logic
- Stop using the `nopecha` test page to test Cloudflare solver
- Remove useless tests like testing for infinite timeout
- Fixes to make the code compatible with new changes
2025-09-14 20:24:46 +03:00
Karim shoair d6844232eb tests: Update all tests according to new update 2025-09-13 16:07:54 +03:00
Karim shoair dd4fcc47c8 test: remove geoip from the async camoufox test
to lower errors of rate limiting caused by downloading the geo db from GitHub
2025-08-20 16:36:58 +03:00
Karim shoair 85885d9962 tests: add geoip to Stealth tests 2025-08-20 01:36:55 +03:00
Karim shoair 5aea62256b test: adding new tests and updating existing ones
Code Coverage is now 92%
2025-08-17 01:03:19 +03:00
Karim shoair 4c33c47609 test: Update and improve Camo/Dynamic tests 2025-08-16 16:02:17 +03:00
Karim shoair 0e3358007f test: adding new tests and updating existing ones 2025-08-15 04:52:51 +03:00
Karim shoair 264ae02aa7 refactor: huge change, many features/class got a better naming
- `Adaptor` became `Selector`
- `Adaptors` became `Selectors`
- `auto_match` argument/feature became `adaptive`
- `adaptor_arguments` argument became `selector_config`
- `automatch_domain` argument became `adaptive_domain`
- `additional_arguments` argument became `additional_args`
- `storage_adaptors` file became just `storage`
2025-07-29 04:20:23 +03:00
Karim shoair 228d294afc test: Enable Dynamic stealth tests again
It's problematic with GitHub but letsgo
2025-06-27 01:15:06 +03:00
Karim shoair 560ae95281 test: Adjusting tests with the correct timeout 2025-06-23 03:24:13 +03:00
Karim shoair 8b46e3a3a5 tests: Updating tests according to the new changes 2025-06-22 02:12:39 +03:00
Karim shoair af643e4c01 test: Updating old httpx tests for curl_cffi 2025-05-25 21:18:03 +03:00
Karim shoair 3268617240 test(cookies): Adjust cookies unit tests to the new changes 2025-05-10 20:08:31 +03:00
Karim shoair 0c8dd63f87 chore: migrating to ruff and updating pre-commit hooks 2025-04-13 17:32:00 +02:00
Karim shoair c36baf7b4c test: Update tests to use current configuration 2025-03-26 21:56:04 +02:00
Karim shoair 7776e191e8 Update test_playwright.py 2025-01-28 13:42:11 +02:00
Karim shoair 2606f7a12d test: clearer naming for async tests 2024-12-16 01:01:59 +02:00
Karim shoair 448587ff41 test: add tests for StealthyFetcher async fetch 2024-12-16 01:00:05 +02:00
Karim shoair efb3270c67 style: Rewrite asyncFetcher tests to a cleaner version 2024-12-16 00:47:02 +02:00
Karim shoair de015f2b18 chore: Restructuring fetchers into cleaner structure 2024-12-16 00:19:48 +02:00
Karim shoair aac77e488c test: add test for PlaywrightFetcher Async support 2024-12-16 00:17:13 +02:00