Skip to content

Instantly share code, notes, and snippets.

@gartha1
Created August 3, 2022 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gartha1/2d8da245e62ec6abc22c113e8cef58e4 to your computer and use it in GitHub Desktop.
Save gartha1/2d8da245e62ec6abc22c113e8cef58e4 to your computer and use it in GitHub Desktop.
C:\pythontest\playwrighttest1>pytest
================================================= test session starts =================================================
platform win32 -- Python 3.10.6, pytest-7.1.2, pluggy-1.0.0
rootdir: C:\pythontest\playwrighttest1
plugins: base-url-2.0.0, playwright-0.3.0
collected 1 item
test_my_application.py E [100%]
======================================================= ERRORS ========================================================
__ ERROR at setup of test_homepage_has_Playwright_in_title_and_get_started_link_linking_to_the_intro_page[chromium] ___
file C:\pythontest\playwrighttest1\test_my_application.py, line 5
def test_homepage_has_Playwright_in_title_and_get_started_link_linking_to_the_intro_page(
E fixture 'foo' not found
> available fixtures: _verify_url, base_url, browser, browser_channel, browser_context_args, browser_name, browser_type, browser_type_launch_args, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, context, delete_output_dir, device, doctest_namespace, is_chromium, is_firefox, is_webkit, launch_browser, monkeypatch, page, playwright, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
> use 'pytest --fixtures [testpath]' for help on them.
C:\pythontest\playwrighttest1\test_my_application.py:5
================================================== warnings summary ===================================================
test_my_application.py: 28 warnings
C:\Users\USER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyee\__init__.py:65: DeprecationWarning: pyee.AsyncIOEventEmitter has been moved to the pyee.asyncio module.
warn(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=============================================== short test summary info ===============================================
ERROR test_my_application.py::test_homepage_has_Playwright_in_title_and_get_started_link_linking_to_the_intro_page[chromium]
============================================ 28 warnings, 1 error in 6.05s ============================================
C:\pythontest\playwrighttest1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment