Skip to content

Commit b3c995f

Browse files
committed
Fix bug with "--archive-logs"
1 parent a54f571 commit b3c995f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/plugins/pytest_plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1718,8 +1718,8 @@ def _create_dashboard_assets_():
17181718
def pytest_itemcollected(item):
17191719
if "--co" in sys_argv or "--collect-only" in sys_argv:
17201720
return
1721+
sb_config.item_count += 1
17211722
if sb_config.dashboard:
1722-
sb_config.item_count += 1
17231723
test_id, display_id = _get_test_ids_(item)
17241724
sb_config._results[test_id] = "Untested"
17251725
sb_config._duration[test_id] = "-"

0 commit comments

Comments
 (0)