Commit c0147956 authored by Ivan Tyagov's avatar Ivan Tyagov

Test bottom listbox sub search.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36737 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7eb3f269
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<tal:block metal:use-macro="here/KMZuite_CommonTemplate/macros/createKMWebSite" />\n <tal:block metal:use-macro="here/KMZuite_CommonTemplate/macros/createKMWebSite" />\n
\n \n
<tr>\n <tr>\n
<td>open</td>\n <td>openAndWait</td>\n
<td>${base_url}/web_site_module/km_test_web_site/en</td>\n <td>${base_url}/web_site_module/km_test_web_site/en</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
...@@ -85,26 +85,61 @@ ...@@ -85,26 +85,61 @@
<td>//tr[@id=\'listbox_data_line_0\']//span[@class=\'search_result_title\']</td>\n <td>//tr[@id=\'listbox_data_line_0\']//span[@class=\'search_result_title\']</td>\n
<td>test_km_web_site_page</td>\n <td>test_km_web_site_page</td>\n
</tr>\n </tr>\n
\n
<!-- Test listbox sub search -->\n
<tr>\n
<td>verifyValue</td>\n
<td>field_your_search_text_listbox</td>\n
<td>Pouet</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_your_search_text</td>\n
<td>Pouet</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_your_search_text_listbox</td>\n
<td>Pouet_NO_EXISTS</td>\n
</tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//tr[@id=\'listbox_data_line_0\']//a</td>\n <td>//input[@name=\'WebSite_viewQuickSearchResultList:method\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyTextPresent</td>\n
<td>//ul[@class=\'breadcrumb\']/li[1]/a</td>\n <td>No result</td>\n
<td>Home</td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyValue</td>\n
<td>//ul[@class=\'breadcrumb\']/li[2]/a</td>\n <td>field_your_search_text_listbox</td>\n
<td>Web Pages</td>\n <td>Pouet_NO_EXISTS</td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_your_search_text</td>\n
<td>Pouet_NO_EXISTS</td>\n
</tr>\n
\n
<tr>\n
<td>type</td>\n
<td>field_your_search_text_listbox</td>\n
<td>Pouet</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//input[@name=\'WebSite_viewQuickSearchResultList:method\']</td>\n
<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyText</td>\n <td>verifyText</td>\n
<td>//ul[@class=\'breadcrumb\']/li[3]/a</td>\n <td>//tr[@id=\'listbox_data_line_0\']//span[@class=\'search_result_title\']</td>\n
<td>test page</td>\n <td>test_km_web_site_page</td>\n
</tr>\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
</tbody></table>\n </tbody></table>\n
......
74 75
\ 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