File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
services/dynamic-scheduler/tests/unit/api_frontend Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -143,15 +143,6 @@ def download_playwright_browser() -> None:
143143async def async_page (download_playwright_browser : None ) -> AsyncIterable [Page ]:
144144 async with async_playwright () as p :
145145 browser = await p .chromium .launch ()
146- # Create a new incognito context (no shared cache/cookies)
147- context = await browser .new_context ()
148- page = await context .new_page ()
149- # Optional: Intercept requests to forcibly disable cache
150- await page .route (
151- "**/*" ,
152- lambda route , request : route .continue_ (
153- headers = {** request .headers , "Cache-Control" : "no-store" }
154- ),
155- )
146+ page = await browser .new_page ()
156147 yield page
157148 await browser .close ()
You can’t perform that action at this time.
0 commit comments