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

When trying to use `[pytest-playwright-asyncio](https://pypi.org/project/pytest-playwright-asyncio/)`, a `ValueError` is raised due to a duplicate option name: ``` Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line...

The browser_name is only get from pytest execution parameters and default add to tests. But if we need to mark part of tests as multi browser test, will meet error...

Fixes #195. Using `"browser_name"` as an indirect parameter, pytest keeps the original order of the tests. Without pytest-playwright: ``` my_tests/test_a.py::test_aa[case_1] PASSED [ 12%] my_tests/test_a.py::test_aa[case_2] PASSED [ 25%] my_tests/test_a.py::test_ab[case_1] PASSED [...