Commit 6946a8b0 authored by Gabriel Monnerat's avatar Gabriel Monnerat

improve test asserts

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44402 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d074c5f8
...@@ -109,6 +109,41 @@ ...@@ -109,6 +109,41 @@
<td>//div[@class="ui-dialog-buttonset"]/button[1]</td>\n <td>//div[@class="ui-dialog-buttonset"]/button[1]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n
<td>click</td>\n
<td>//a[@name="document_title"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>click</td>\n
<td>//p[@id="more_properties"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//input[@id="reference"]</td>\n
<td>web.Page.UNG.Test</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//input[@id="version"]</td>\n
<td>002</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//input[@id="language"]</td>\n
<td>pt-br</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//textarea[@id="keyword_list"]</td>\n
<td>My Subject</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>//input[@id="name"]</td>\n
<td>Document Shared</td>\n
</tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//a[@id="share_document"]</td>\n <td>//a[@id="share_document"]</td>\n
...@@ -240,6 +275,46 @@ ...@@ -240,6 +275,46 @@
<td>//textarea[@id="keyword_list"]</td>\n <td>//textarea[@id="keyword_list"]</td>\n
<td>My Subject</td>\n <td>My Subject</td>\n
</tr>\n </tr>\n
<tr>\n
<td>type</td>\n
<td>//input[@id="reference"]</td>\n
<td>web.Page.Change.Reference</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//div[@class="ui-dialog-buttonset"]/button[1]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>openAndWait</td>\n
<td>${ung_url}/WebSite_logout</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//input[@name="__ac_name"]</td>\n
<td>ung_user</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>//input[@name="__ac_password"]</td>\n
<td>1234</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//input[@type="submit"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//table[@class="listbox your_listbox your_listbox-table"]/tbody/tr/td[3]/a</td>\n
<td></td>\n
</tr>\n
<!--<tr>\n
<td>click</td>\n
<td>//span[@class="ui-icon ui-icon-closethick"]</td>\n
<td></td>\n
</tr>-->\n
</tbody>\n </tbody>\n
</table>\n </table>\n
</body>\n </body>\n
......
23 24
\ No newline at end of file \ No newline at end of file
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