playwright-pytest icon indicating copy to clipboard operation
playwright-pytest copied to clipboard

Pytest plugin to write end-to-end browser tests with Playwright.

Results 43 playwright-pytest issues
Sort by recently updated
recently updated
newest added

I have a common case of `first authorised user creates 'issue', second authorised user should 'approve' it`. I don't wont to logout with the first user because login procedure time...

p3-collecting-feedback

Add support for snapshots of the page, screenshots etc like in jest `toMatchSnapshot` Example: https://github.com/kumaraditya303/pytest-playwright-snapshot

p3-collecting-feedback

We could probably rely on https://pypi.org/project/pytest-rerunfailures/ and use it's count in order to generate the artifacts.

enhancement

**Context:** I am using playwright to test REST API endpoints. I do not see trace.zip after I run pytest --tracing=on. **Code Snippet** Simple test script ```python import os from typing...

p3-collecting-feedback

It would be cool if one can parameterize `browser_type_launch_args` using `pytest.mark.parameterize`'s `indirect=True` flag with the `request` parameter like so: ```python import pytest @pytest.fixture(scope="session") def browser_type_launch_args(pytestconfig, request) -> dict: launch_options =...

This uses async fixtures if the `pytest-asyncio` plugin is loaded, we might should harden this condition more, since there might be projects where the `pytest-asyncio` plugin is loaded but the...

To speed up CI/CD and improve the scalability of running large test suites, we should be able to connect to remote browsers (e.g. `pw.chromium.connect()`) instead of launching browsers locally.

p3-collecting-feedback

**Context:** - Playwright Version: playwright-0.3.0 - Operating System: Windows - Python version: Python 3.9.6 - Browser: Chromium - Extra: pytest-7.1.3 **Code Snippet** the content of conftest.py ```python import pytest from...

triaging

**Context:** - Playwright Version: 1.34.0 (pytest-playwright: 0.3.3) - Operating System: Linux - Python version: 3.11 - Browser: All **Code Snippet** Just a simple test that [overrides](https://docs.pytest.org/en/7.1.x/how-to/fixtures.html#overriding-fixtures-on-various-levels) the page fixture. ```python...

good first issue
p3-collecting-feedback