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
Karim shoair
de2d65856c
Adding playwright/camoufox tests for cookies and improve the timeout test
2024-11-10 16:31:28 +02:00
Karim shoair
846a185b49
Updating parser tests to use find and css_first functions
2024-11-07 00:02:36 +02:00
Karim shoair
d632bb14af
Moving parser tests to a better structure
...
and covering a bit more parts
2024-11-06 12:30:41 +02:00
Karim shoair
e4eb442709
Adding tests for PlayWrightFetcher class
2024-11-06 12:21:55 +02:00
Karim shoair
4222626ec1
Adding tests for Fetcher class
2024-11-06 12:21:18 +02:00
Karim shoair
4400363146
Renaming fetchers tests folder for readability
2024-11-06 12:21:06 +02:00
Karim shoair
72b36d6a26
Fix werkzeug issue and try caching
2024-11-05 02:22:21 +02:00
Karim shoair
3b25a248fc
Fixing tests action
2024-11-05 02:04:49 +02:00
Karim shoair
e594bba0c4
Testing some of the new tests on Github action
2024-11-05 01:19:50 +02:00
Karim shoair
55ab1d63b7
Turn auto_match off when not needed in testing
2024-11-03 13:37:27 +02:00
Karim shoair
7515f803bc
Be more specific about tests
2024-10-26 21:31:31 +03:00
Karim shoair
a721073b7c
Going online (first public version)
2024-10-13 23:38:48 +03:00