Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

ops: fix for GitHub's CI

Karim shoair4ee32af67b88
diff --git a/tests/fetchers/sync/test_dynamic.py b/tests/fetchers/sync/test_dynamic.py
index 8f7e60a..af94783 100644
--- a/tests/fetchers/sync/test_dynamic.py
+++ b/tests/fetchers/sync/test_dynamic.py
@@ -1,3 +1,5 @@
+import os
+
import pytest
import pytest_httpbin
@@ -94,6 +96,10 @@ class TestDynamicFetcher:
with pytest.raises(Exception):
fetcher.fetch(self.html_url, cdp_url="ws://blahblah")
+ @pytest.mark.skipif(
+ "GITHUB_ACTIONS" in os.environ,
+ reason="Fails in GitHub Actions."
+ )
def test_infinite_timeout(
self,
fetcher,