AI Search tests is failing on next minor
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3544206. --> Reported by: [marcus_johansson](https://www.drupal.org/user/385947) Related to !881 !887 !882 !867 >>> <p>--- AI TRACKER METADATA ---<br> <strong>Update Summary: </strong>Needs help. The search test is failing, set to major.<br> <strong>Check-in Date: </strong>09/03/2025 (US format) [When we should see progress/get an update]<br> <strong>Due Date:</strong> MM/DD/YYYY (US format) [When the issue should be fully completed]<br> <strong>Blocked by:</strong> [#XXXXXX] (New issues on new lines)<br> <strong>Additional Collaborators:</strong> @username1, @username2<br> AI Tracker found here: <a href="https://www.drupalstarforge.ai/" title="AI Tracker">https://www.drupalstarforge.ai/</a><br> --- END METADATA ---</p> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Currently PHPUnit next minor is failing with the following issue</p> <pre>&nbsp;&nbsp;&nbsp; Ai Search Setup My Sql (Drupal\Tests\ai_search\Functional\AiSearchSetupMySql)<br>&nbsp;&nbsp;&nbsp;&nbsp; &#10008; Field indexing options<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#9488;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#9500; Behat\Mink\Exception\ResponseTextException: The text "[Chocolate Cake](/web/node/1)" was not found anywhere in the text of the current page.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#9474;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#9474; /builds/project/ai/vendor/behat/mink/src/WebAssert.php:907<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#9474; /builds/project/ai/vendor/behat/mink/src/WebAssert.php:293<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#9474; /builds/project/ai/web/core/tests/Drupal/Tests/WebAssert.php:981<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#9474; /builds/project/ai/modules/ai_search/tests/src/Functional/AiSearchSetupMySqlTest.php:234<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#9524;<br>&nbsp;&nbsp;&nbsp;&nbsp; &#10008; Search view<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#9488;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#9500; Row 1 contains "cake".&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#9500; Failed asserting that 'Member for 0 seconds Submitted by ch6a6ed3 on Mon, 1 Sep 2025 - 17:08 gpwhoy2d7tne6o0rppnexhjosiaw1u8u' [ASCII](length: 102) contains "Strawberry Cheese Cake" [ASCII](length: 22).<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#9474;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#9474; /builds/project/ai/modules/ai_search/tests/src/Functional/AiSearchSetupMySqlTest.php:320</pre><p>We need to verify if this is a real issue or a testing issue before Drupal 11.3 is released.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Try to replicate the error using a setup with Drupal 11.3<br> If not, try to figure out what is failing in the test.</p>
issue