-
Configuring --dashboard --html=report.html in addopts of pytest.ini cannot produce advanced html reports. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I would check to see that you aren't using multiple [pytest]
# Display console output, disable cacheprovider, and have the ipdb debugger replace pdb:
addopts = --capture=no -p no:cacheprovider --pdbcls=IPython.terminal.debugger:TerminalPdb --dashboard --html=report.html
# Ignore warnings such as DeprecationWarning and PytestUnknownMarkWarning
filterwarnings =
ignore::pytest.PytestWarning
ignore:.*U.*mode is deprecated:DeprecationWarning Here's the output from running a test: pytest my_first_test.py
========================================== test session starts ===========================================
platform darwin -- Python 3.10.1, pytest-7.1.2, pluggy-1.0.0
rootdir: /Users/michael/github/SeleniumBase/examples, configfile: pytest.ini
plugins: html-2.0.1, xdist-2.5.0, forked-1.4.0, metadata-2.0.1, rerunfailures-10.2, ordering-0.6, cov-3.0.0, seleniumbase-3.3.2
collected 1 item
Dashboard: /Users/michael/github/SeleniumBase/examples/dashboard.html
*********************************************************************
my_first_test.py .
---------- generated html file: file:///Users/michael/github/SeleniumBase/examples/report.html -----------
=========================================== 1 passed in 8.50s ============================================ |
Beta Was this translation helpful? Give feedback.
-
This has been fixed in https://github.com/seleniumbase/SeleniumBase/releases/tag/v3.3.3 |
Beta Was this translation helpful? Give feedback.
This has been fixed in https://github.com/seleniumbase/SeleniumBase/releases/tag/v3.3.3