Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,10 @@ async def request_handler(context: AdaptivePlaywrightCrawlingContext) -> None:
mocked_browser_handler.assert_called_once_with()


@pytest.mark.flaky(
rerun=3,
reason='Test is flaky on Windows and MacOS, see https://github.com/apify/crawlee-python/issues/1650.',
)
async def test_adaptive_context_query_selector_beautiful_soup(test_urls: list[str]) -> None:
"""Test that `context.query_selector_one` works regardless of the crawl type for BeautifulSoup variant.
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/request_loaders/test_sitemap_request_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ async def wait_for_sitemap_loader_not_empty(sitemap_loader: SitemapRequestLoader
sitemap_loader = SitemapRequestLoader([str(sitemap_url)], http_client=http_client, persist_state_key=persist_key)

# Give time to load
await asyncio.wait_for(wait_for_sitemap_loader_not_empty(sitemap_loader), timeout=2)
await asyncio.wait_for(wait_for_sitemap_loader_not_empty(sitemap_loader), timeout=10)

await sitemap_loader.close()

Expand Down
Loading