diff --git a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testTopSearchBoxClicking.xml b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testTopSearchBoxClicking.xml index 6dd619dd36347d830deedfeea3e1ea1e682cffc1..b17f816ef102422ff61d1aee493b353c618dd3ed 100644 --- a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testTopSearchBoxClicking.xml +++ b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testTopSearchBoxClicking.xml @@ -56,7 +56,7 @@ <tal:block metal:use-macro="here/KMZuite_CommonTemplate/macros/createKMWebSite" />\n \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></td>\n </tr>\n @@ -85,26 +85,61 @@ <td>//tr[@id=\'listbox_data_line_0\']//span[@class=\'search_result_title\']</td>\n <td>test_km_web_site_page</td>\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 <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 </tr>\n <tr>\n - <td>verifyText</td>\n - <td>//ul[@class=\'breadcrumb\']/li[1]/a</td>\n - <td>Home</td>\n + <td>verifyTextPresent</td>\n + <td>No result</td>\n + <td></td>\n </tr>\n <tr>\n - <td>verifyText</td>\n - <td>//ul[@class=\'breadcrumb\']/li[2]/a</td>\n - <td>Web Pages</td>\n + <td>verifyValue</td>\n + <td>field_your_search_text_listbox</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 <td>verifyText</td>\n - <td>//ul[@class=\'breadcrumb\']/li[3]/a</td>\n - <td>test page</td>\n + <td>//tr[@id=\'listbox_data_line_0\']//span[@class=\'search_result_title\']</td>\n + <td>test_km_web_site_page</td>\n </tr>\n +\n +\n <tal:block metal:use-macro="here/KMZuite_CommonTemplate/macros/deleteKMWebSite" />\n \n </tbody></table>\n diff --git a/bt5/erp5_km_ui_test/bt/revision b/bt5/erp5_km_ui_test/bt/revision index 0aeb5485442b9ed8a2d59d629933a00db4473ebf..a76c74dcec6ab8ba53c5d5b4de054eb43f68fe67 100644 --- a/bt5/erp5_km_ui_test/bt/revision +++ b/bt5/erp5_km_ui_test/bt/revision @@ -1 +1 @@ -74 \ No newline at end of file +75 \ No newline at end of file