Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: refactor TestServer/Request class #2179

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

mxschmitt
Copy link
Member

@@ -528,7 +527,7 @@ async def screenshot(
params = locals_to_params(locals())
return await self._with_element(
lambda h, timeout: h.screenshot(
**ChainMap({"timeout": timeout}, params),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reverts #1877 which seems not relevant anymore since our linters are happy.

@@ -49,7 +49,7 @@ async def test_should_roundtrip_cookie(
cookies = await context.cookies()
await context.clear_cookies()
assert await context.cookies() == []
await context.add_cookies(cookies)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mxschmitt mxschmitt force-pushed the get-rid-of-HttpRequestWithPostBody branch from 24c74b2 to d026d64 Compare November 30, 2023 02:21
@mxschmitt mxschmitt force-pushed the get-rid-of-HttpRequestWithPostBody branch from d026d64 to eb70437 Compare November 30, 2023 02:26
@mxschmitt mxschmitt merged commit 248f3ec into main Nov 30, 2023
38 checks passed
@mxschmitt mxschmitt deleted the get-rid-of-HttpRequestWithPostBody branch November 30, 2023 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants