Commit Graph

112 Commits

Author SHA1 Message Date
Karim shoair d49e047736 tests: change tests accordingly 2025-09-02 15:23:30 +03:00
Karim shoair 878be9ccbf tests: update tests accordingly 2025-08-31 02:57:30 +03:00
Karim shoair cf57af588e docs: update doc strings with correct naming 2025-08-25 06:08:15 +03:00
Karim shoair 637580e130 tests: stop testing geoip
The DB is downloaded from GitHub releases using public API so we get rate limited a lot
2025-08-23 22:20:51 +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 3e0ca33111 test: adding new tests and updating existing ones 2025-08-16 19:07:08 +03:00
Karim shoair 4c33c47609 test: Update and improve Camo/Dynamic tests 2025-08-16 16:02:17 +03:00
Karim shoair e6e5b3cc80 test: adding new tests and updating existing ones
The coverage is now 78%
2025-08-16 14:58:11 +03:00
Karim shoair 8bfbcec2d7 test: remove the test for install command
GitHub is already reinstalls the library with it with every test
2025-08-15 06:01:53 +03:00
Karim shoair 0e3358007f test: adding new tests and updating existing ones 2025-08-15 04:52:51 +03:00
Karim shoair ba81890daf test: adding new tests and updating existing ones 2025-08-03 16:37:47 +03:00
Karim shoair b9c7a5af2e refactor: replace's Selector inpt (text/body) with 1 argument called content 2025-07-29 06:08:15 +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 0c649987f8 test: remove irrelevant test case 2025-07-28 15:10:23 +03:00
Karim shoair ce034f9f79 test: remove problematic test 2025-06-28 18:24:08 +03:00
Karim shoair 4ee32af67b ops: fix for GitHub's CI 2025-06-27 14:50:06 +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 cd3321a6f0 fix(tests): fix for GitHub actions 2025-05-08 03:11:01 +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 198b76f5d5 Test: disable stealth parameter
It causes issues with Github Actions
2025-01-28 13:43:36 +02:00
Karim shoair 7776e191e8 Update test_playwright.py 2025-01-28 13:42:11 +02:00
Karim shoair 20ef45349a test: Rewrite automatch tests to a cleaner version and adding async test 2024-12-16 13:18:19 +02:00
Karim shoair 69e31612a5 test: Rewrite parser tests to a cleaner version and adding more tests 2024-12-16 13:17:09 +02:00
Karim shoair 3ecffcb81c style: Rewrite sync Fetchers tests to a cleaner version 2024-12-16 01:27:18 +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 361ee440aa test: adding pytest-asyncio plugin to tests requirements file 2024-12-16 00:20:26 +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
Karim shoair a90192df03 build: adding tests for AsyncFetcher class 2024-12-15 16:54:52 +02:00
Karim shoair 6f87420e35 build: disable the 501 error test for playwright 2024-12-11 21:44:03 +02:00
Karim shoair 193827e27b refactor(api)!: Unifying log under 1 logger and removing debug parameter
So now you control the logging and the debugging from the shell through the logger with the name 'scrapling'
2024-12-11 21:41:37 +02:00
Karim shoair f30eb6ab6c build: disable the 404 error test for playwright 2024-12-11 20:27:07 +02:00
Karim shoair 1a17b2ce46 Sorting all library imports with isort 2024-11-30 14:02:06 +02:00
Karim shoair 0e01c1cc03 Update test_general.py 2024-11-23 16:24:25 +02:00
Karim shoair e7f2a83e16 Increasing the time a little bit for the performance test
It's prolonged on GitHub Actions for obvious reasons
2024-11-23 16:12:00 +02:00
Karim shoair 454b79e00f Make tests run in parallel on GitHub actions 2024-11-23 16:04:47 +02:00
Karim shoair 723a545061 Fixing the "Unknown Status Code" test 2024-11-23 16:01:51 +02:00
Karim shoair 7017823136 Covering more parts in Playwright tests 2024-11-23 15:57:59 +02:00
Karim shoair 4d9a494e35 Covering more parts in StealthyFetcher tests 2024-11-23 15:55:50 +02:00
Karim shoair f33ff247dd Adding tests for response encoding and response status text 2024-11-23 15:55:21 +02:00
Karim shoair 3d4b427168 Rework Selectors generation
- Renamed both `css_selector` and `xpath_selector` both to `generate_css_selector` and `generate_xpath_selector` for clarity and not interrupting the auto-completion while coding.
- Added `generate_full_css_selector` and `generate_full_xpath_selector` methods
2024-11-10 18:19:48 +02:00