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

[question] how to do visual comparisons #775

Closed
TommyXie1990 opened this issue Jun 24, 2021 · 11 comments
Closed

[question] how to do visual comparisons #775

TommyXie1990 opened this issue Jun 24, 2021 · 11 comments
Labels

Comments

@TommyXie1990
Copy link

how to do visual comparisons with playwright-python with python version?

what's the api? I just found the Javascripts version.

@aslushnikov aslushnikov changed the title [issue] [question] how to do visual comparisons Jun 24, 2021
@aslushnikov
Copy link
Contributor

We don't ship anything specific in playwright-python for this, you'll have to resort to third-party solutions.

@TommyXie1990
Copy link
Author

specific
I found the api in the offical doc, it seems like for javascript; If I want use it with python, could you suggest some solutions? thanks~
https://playwright.dev/python/docs/test-snapshots/

@kumaraditya303
Copy link
Contributor

@TommyXie1990 Do you mean something like microsoft/playwright-pytest#63?

@TommyXie1990
Copy link
Author

@TommyXie1990 Do you mean something like microsoft/playwright-pytest#63?

yes , that's what I mean. Thanks ~

@TommyXie1990
Copy link
Author

@TommyXie1990 Do you mean something like microsoft/playwright-pytest#63?

is it suport now? could you provide some samples that how to use it, thanks~

@kumaraditya303
Copy link
Contributor

@TommyXie1990 Do you mean something like microsoft/playwright-pytest#63?

is it suport now? could you provide some samples that how to use it, thanks~

I will be creating a pytest plugin for it, stay tuned

@TommyXie1990
Copy link
Author

@TommyXie1990 Do you mean something like microsoft/playwright-pytest#63?

is it suport now? could you provide some samples that how to use it, thanks~

I will be creating a pytest plugin for it, stay tuned

ok, look forward to it, when will be available?

@kumaraditya303
Copy link
Contributor

Possibly today

@TommyXie1990
Copy link
Author

Possibly today

fantastic~

@kumaraditya303
Copy link
Contributor

Possibly today

fantastic~

@TommyXie1990 I have pushed the code to github with an example, would be great if you could give it a try https://github.com/kumaraditya303/pytest-playwright-snapshot

@TommyXie1990

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants