diff --git a/doc/newsfragments/2404_new.run_all_button.rst b/doc/newsfragments/2404_new.run_all_button.rst index c9fe34a09..bc91e9051 100644 --- a/doc/newsfragments/2404_new.run_all_button.rst +++ b/doc/newsfragments/2404_new.run_all_button.rst @@ -1 +1 @@ -Added a new "Run all MultiTests" button to toolbar on the interactive GUI. \ No newline at end of file +Introduced a new plan-level Run button to the toolbar on the interactive GUI. \ No newline at end of file diff --git a/testplan/web_ui/testing/src/Toolbar/InteractiveButtons.js b/testplan/web_ui/testing/src/Toolbar/InteractiveButtons.js index 34b30f3c5..e3f6e7607 100644 --- a/testplan/web_ui/testing/src/Toolbar/InteractiveButtons.js +++ b/testplan/web_ui/testing/src/Toolbar/InteractiveButtons.js @@ -165,35 +165,25 @@ export const RunAllButton = (props) => { ); } else { + let title; if (props.filter) { - return ( - -
- -
-
- ); + title="Run filtered tests"; } else { - return ( - -
- -
-
- ); + title="Run all tests"; } + return ( + +
+ +
+
+ ); } };