Skip to content

Commit fd9a227

Browse files
committed
Use two decimal places for dashboard times in seconds
1 parent 546e9bc commit fd9a227

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8948,6 +8948,7 @@ def __process_dashboard(self, has_exception, init=False):
89488948
if not init:
89498949
duration_ms = int(time.time() * 1000) - self.__start_time_ms
89508950
duration = float(duration_ms) / 1000.0
8951+
duration = "{:.2f}".format(duration)
89518952
sb_config._duration[test_id] = duration
89528953
if (
89538954
has_exception

0 commit comments

Comments
 (0)