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

Hey all, Thanks for the work on playwright. I'm encountering this issue when trying to run it with both python 3.9 and 3.10. I wonder if it's some interaction with...

p3-collecting-feedback

From what I can see, if a fixture fails in setup/teardown, the `pytest --output .out --tracing retain-on-failure` discards the trace. And at least sometimes the user will want the trace...

p3-collecting-feedback

The current implementation starts the browser in headed mode automatically, if pytest is invoked from VS Code's debugger. https://github.com/microsoft/playwright-pytest/blob/68bd92a133eeac597da61a0819768a589dafd6dd/pytest_playwright/pytest_playwright.py#L118-L120 While I get the idea behind this, it does not take...

p3-collecting-feedback

I am trying to output test results in another directory with the --output option. But it seems to not be working : the default directory (test-results) contains test results at...

p3-collecting-feedback

See this existing html report where we can add attachments: https://github.com/pytest-dev/pytest-html Relates https://github.com/microsoft/playwright-pytest/issues/105

p3-collecting-feedback

`playwright` can be downloaded with conda from the [Microsoft channel](https://anaconda.org/microsoft/playwright). I'd be nice to have `pytest-playwright` also available on this channel. And thanks for the great work, I love this...

p3-collecting-feedback

Hi! I have the following code: ``` class TestClass: def test_a(self, page): print("open site") self.page = page self.page.goto("https://microsoft.com") def test_b(self, page): print("check title of site") self.page = page page_title =...

p3-collecting-feedback

I need to run `aiohttp` server and use `playwright` in tests at the same time. Am I right that `pytest-playwright` right now can't help me with that? It provides fixtures...

help wanted
p3-collecting-feedback

Same thing as in js/ts world `playwright.config.ts` equivalent for python `playwright.conf.py` which would automatically parameterize all the tests. Includes https://github.com/microsoft/playwright-pytest/issues/67

p3-collecting-feedback

I usually use Allure report with PyTest+Playwright. ### Test code (intented to fail) ```python from playwright.sync_api import Page def test_github_search(page: Page): page.goto('https://github.com/') page.focus('input[name="q"]') page.keyboard.type('playwright') with page.expect_navigation(): page.keyboard.press('Enter') first_item = page.query_selector_all('.repo-list-item')[0]...

p3-collecting-feedback