Improve test coverage
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3482425. -->
Reported by: [lostcarpark](https://www.drupal.org/user/346773)
Related to !9
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>At present test cover is limited to checking menu options are present on page.</p>
<p>I'd like to add some tests that verify the correct response is shown when clicking an option on the tools menu.</p>
<p>Note that checking functionality, such as clearing cache, is challenging, so I'm not looking at that for now. The tests will check that the correct response, e.g. "All caches cleared", is shown when a tool is selected.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Add tests that verify response when command is selected.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>Write new tests. Verify pass.</p>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue