AI search tests should check if CommonMarkConverter is present

Created on 7 July 2025, about 1 month ago

Problem/Motivation

In the AiSearchSetupMySqlTest test class, there is an assert that checks if the page contains '[Chocolate Cake]('.$this->nodes[0]->toUrl()->toString().')'. This is only true when the class CommonMarkConverter is not present.

Steps to reproduce (required for bugs, but not feature requests)

In a local environment, if (for some reason) the CommonMarkConverter class exists, the test failed.

Proposed resolution

Run a different assertion if the CommonMarkConverter class exists or not.

Remaining tasks

Review the MR

🐛 Bug report
Status

Active

Version

1.2

Component

AI Search

Created by

🇮🇹Italy lussoluca Italy

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024