Skip to content

Commit c763594

Browse files
author
Andrei Neagu
committed
reverted change
1 parent 891c0b2 commit c763594

File tree

1 file changed

+1
-10
lines changed
  • services/dynamic-scheduler/tests/unit/api_frontend

1 file changed

+1
-10
lines changed

services/dynamic-scheduler/tests/unit/api_frontend/conftest.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,6 @@ def download_playwright_browser() -> None:
143143
async 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()

0 commit comments

Comments
 (0)