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:
@@ -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&username=ODBC&db=adminer_test&ns=public&check=albums&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>
|
||||
|
||||
|
Reference in New Issue
Block a user