AI search tests should check if CommonMarkConverter is present
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3534436. -->
Reported by: [lussoluca](https://www.drupal.org/user/138068)
Related to !718
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>In the <code>AiSearchSetupMySqlTest</code> test class, there is an assert that checks if the page contains <code>'[Chocolate Cake]('.$this->nodes[0]->toUrl()->toString().')'</code>. This is only true when the class <code>CommonMarkConverter</code> is not present.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4>
<p>In a local environment, if (for some reason) the <code>CommonMarkConverter</code> class exists, the test failed.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Run a different assertion if the <code>CommonMarkConverter</code> class exists or not.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>Review the MR</p>
issue