1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-31 18:11:52 +02:00

Tests: Remove useless xpath=

This commit is contained in:
Jakub Vrana
2025-03-14 05:58:45 +01:00
parent 5f3bfe8451
commit 8f336cd0b3
6 changed files with 20 additions and 20 deletions

View File

@@ -17,7 +17,7 @@
<tr><td>type</td><td>name=auth[server]</td><td>localhost:26257</td></tr>
<tr><td>type</td><td>id=username</td><td>ODBC</td></tr>
<tr><td>type</td><td>name=auth[password]</td><td>ODBC</td></tr>
<tr><td>clickAndWait</td><td>xpath=//input[@value='Login']</td><td></td></tr>
<tr><td>clickAndWait</td><td>//input[@value='Login']</td><td></td></tr>
<tr><td>verifyTextPresent</td><td>CockroachDB</td><td></td></tr>
</tbody></table>
@@ -110,7 +110,7 @@
<tr><td>click</td><td>link=Create check</td><td></td></tr>
<tr><td>type</td><td>name=name</td><td>albums_interpret_check</td></tr>
<tr><td>runScript</td><td>document.querySelector('[name="clause"]').value = 'interpret > 0'</td><td></td></tr>
<tr><td>click</td><td>xpath=//input[@value='Save']</td><td></td></tr>
<tr><td>click</td><td>//input[@value='Save']</td><td></td></tr>
<tr><td>verifyTextPresent</td><td>Check has been created.</td><td></td></tr>
<tr><td>open</td><td>/adminer/?pgsql=localhost:26257&amp;username=ODBC&amp;db=adminer_test&amp;ns=public&amp;check=albums&amp;name=albums_interpret_check</td><td></td></tr>
<tr><td>verifyTextPresent<td>((interpret > 0:::INT8))</td><td></td></tr>
@@ -267,7 +267,7 @@
<tr><td>click</td><td>link=New item</td><td></td></tr>
<tr><td>verifyTextNotPresent</td><td>stored</td><td></td></tr>
<tr><td>type</td><td>name=fields[normal]</td><td>20</td></tr>
<tr><td>click</td><td>xpath=//input[@value='Save']</td><td></td></tr>
<tr><td>click</td><td>//input[@value='Save']</td><td></td></tr>
<tr><td>verifyTextPresent</td><td>220</td><td></td></tr>
</tbody></table>