1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 09:34:10 +02:00

Selenium tests

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@509 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2008-10-01 16:10:34 +00:00
parent 78639a98ca
commit 47fd1f7349
19 changed files with 997 additions and 0 deletions

42
tests/8-create-view.html Normal file
View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>Create view</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Create view</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/phpMinAdmin/?db=selenium&amp;createv=</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>select</td>
<td>SELECT albums.id, albums.album, interprets.interpret<br />FROM albums<br />LEFT JOIN interprets ON albums.interpret = interprets.id</td>
</tr>
<tr>
<td>type</td>
<td>name</td>
<td>albums_interprets</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//input[@value='Save']</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>View has been created.</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>