Commit 1ca57b91 authored by Ivan Tyagov's avatar Ivan Tyagov

Test that entering bad URL will show a nice message to user to correct it.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35733 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2f30c2e9
...@@ -161,6 +161,28 @@ ...@@ -161,6 +161,28 @@
<td>link=Front-page-ERP5.com-Test</td>\n <td>link=Front-page-ERP5.com-Test</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<!-- Test bad link -->\n
\n
<tr>\n
<td>clickAndWait</td>\n
<td>link=New Link</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_your_url</td>\n
<td>http://www.erp5-nosuch.org-nosuch</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>dialog_submit_button</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyTextPresent</td>\n
<td>Wrong or not accessible URL address</td>\n
<td></td>\n
</tr>\n
\n \n
<tal:block metal:use-macro="here/KMZuite_CommonTemplate/macros/deleteKMWebSite" />\n <tal:block metal:use-macro="here/KMZuite_CommonTemplate/macros/deleteKMWebSite" />\n
\n \n
......
49 50
\ 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