cypress-testing-library version: 2.3.4
node version: 8.14.0
npm version: 6.5.0
Relevant code or config
cy.queryByText(/basic/i).click(); // displays QUERYBYTEXT
cy.queryByText("confirm").click(); // displays QUERYBYTEXT confirm
Problem description:
I guess this issue doesn't concern specifically a type of query, but rather its integration with cypress:
When using a regex to select any DOM element, I don't see the corresponding regex in the cypress panel, contrary to when I use a text selector.

is it the expected behaviour? (Then why?)
Otherwise I would be delighted to try to fix the problem.
Suggested solution:
Display the stringified regex.