Skip to content

Commit 01ce846

Browse files
committed
Make sure that untested Dashboard tests are displayed
1 parent dffa3c6 commit 01ce846

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

seleniumbase/plugins/pytest_plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,7 @@ def pytest_collection_finish(session):
672672
Print the dashboard path if at least one test runs.
673673
https://docs.pytest.org/en/stable/reference.html """
674674
if sb_config.dashboard and len(session.items) > 0:
675+
sb_config.item_count_untested = sb_config.item_count
675676
dash_path = os.getcwd() + "/dashboard.html"
676677
star_len = len("Dashboard: ") + len(dash_path)
677678
try:

0 commit comments

Comments
 (0)