Commit eadb317d authored by Jérome Perrin's avatar Jérome Perrin

sql_browser_ui_test: adjust test for mariadb >= 10.3.38

For such query with multiple SELECT since mariadb 10.3.38, the error is
no longer a "commands out of sync" ProgrammingError, but a simple SQL
error during the parsing step - and nothing is executed.

Adjust the test to just expect "rror" which would match Error (from
ProgrammingError) and "error" from ("you have an error in your SQL syntax")
parent 12f110d4
2 merge requests!18WIP: Fix/hashseed,!17WIP: Zope4py3
......@@ -38,7 +38,7 @@
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[contains(@class, "noty_message")]/span[@class="noty_text" and contains(text(), "Error")]</td>
<td>//div[contains(@class, "noty_message")]/span[@class="noty_text" and contains(text(), "rror")]</td>
<td></td>
</tr>
<tr>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment