diff --git a/locust/test/test_main.py b/locust/test/test_main.py index 3e94f87df9..ec8500baab 100644 --- a/locust/test/test_main.py +++ b/locust/test/test_main.py @@ -599,6 +599,7 @@ def test_autostart_wo_run_time(self): "locust", "-f", mocked.file_path, + "--legacy-ui", "--web-port", str(port), "--autostart", @@ -631,6 +632,7 @@ def test_autostart_w_run_time(self): "locust", "-f", mocked.file_path, + "--legacy-ui", "--web-port", str(port), "-t", @@ -721,6 +723,7 @@ def tick(self): "locust", "-f", mocked.file_path, + "--legacy-ui", "--web-port", str(port), "--autostart", @@ -788,6 +791,7 @@ def my_task(self): "locust", "-f", f"{mocked1.file_path},{mocked2}", + "--legacy-ui", "--web-port", str(port), "--autostart", @@ -1081,6 +1085,7 @@ def test_html_report_option(self): "locust", "-f", mocked.file_path, + "--legacy-ui", "--host", "https://test.com/", "--run-time",