We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 673d736 commit 9393240Copy full SHA for 9393240
seleniumbase/plugins/pytest_plugin.py
@@ -667,6 +667,12 @@ def pytest_runtest_setup():
667
sb_config.item_count_untested = sb_config.item_count
668
dashboard_html = os.getcwd() + "/dashboard.html"
669
star_len = len("Dashboard: ") + len(dashboard_html)
670
+ try:
671
+ terminal_size = os.get_terminal_size().columns
672
+ if terminal_size > 30 and star_len > terminal_size:
673
+ star_len = terminal_size
674
+ except Exception:
675
+ pass
676
stars = "*" * star_len
677
colorama.init(autoreset=True)
678
c1 = colorama.Fore.BLUE + colorama.Back.LIGHTCYAN_EX
0 commit comments