We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55fd416 commit 5926a20Copy full SHA for 5926a20
tests/tests_asyncio/test_browser_contexts.py
@@ -42,7 +42,7 @@ async def test_context_kwargs(self):
42
async def test_contexts_max_pages(self):
43
settings = {
44
"PLAYWRIGHT_BROWSER_TYPE": self.browser_type,
45
- "PLAYWRIGHT_MAX_PAGES_PER_CONTEXT": 2,
+ "PLAYWRIGHT_MAX_PAGES_PER_CONTEXT": 1,
46
"PLAYWRIGHT_CONTEXTS": {
47
"a": {"java_script_enabled": True},
48
"b": {"java_script_enabled": True},
@@ -71,7 +71,7 @@ async def test_contexts_max_pages(self):
71
]
72
await asyncio.gather(*requests)
73
74
- assert handler.stats.get_value("playwright/page_count/max_concurrent") == 4
+ assert handler.stats.get_value("playwright/page_count/max_concurrent") == 2
75
76
@allow_windows
77
async def test_max_contexts(self):
0 commit comments