diff --git a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToCampaign.xml b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToCampaign.xml index 53b180c67b2b1aa2f3bc76d9bf7d7203420dcd36..a634664187c45c136c58e57abe6feef029d01464 100644 --- a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToCampaign.xml +++ b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToCampaign.xml @@ -66,9 +66,9 @@ <span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user">Login As Functional Test User</span>\n \n <tr>\n - <td>clickAndWait</td>\n - <td>link=Campaigns</td>\n - <td></td>\n + <td>selectAndWait</td>\n + <td>//select[@name="select_module"]</td>\n + <td>Campaigns</td>\n </tr>\n <tr>\n <td>selectAndWait</td>\n diff --git a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToCreateEvent.xml b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToCreateEvent.xml index 3b617fdff6a12340bc70d47186b015f54c652ab9..5bc26288b89c7a5131f6abe22b5dd3ce2fdcba4b 100644 --- a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToCreateEvent.xml +++ b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToCreateEvent.xml @@ -66,9 +66,9 @@ <span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user">Login As Functional Test User</span>\n \n <tr>\n - <td>clickAndWait</td>\n - <td>link=Campaigns</td>\n - <td></td>\n + <td>selectAndWait</td>\n + <td>//select[@name="select_module"]</td>\n + <td>Campaigns</td>\n </tr>\n <tal:block tal:content="structure python: here.Zuite_generateListboxBrowsing(listbox_selection=([\'title\', here.Zuite_getHowToInfo()[\'create_event_howto_campaign_title\']],), enter_object=True)"/>\n <tr>\n diff --git a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToIncomingEvent.xml b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToIncomingEvent.xml index d891a9c0301db3803bb4511a8d276a1eef6729d3..3c6e675c69fac86672821aa26e162b9a49d747ac 100644 --- a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToIncomingEvent.xml +++ b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToIncomingEvent.xml @@ -66,9 +66,9 @@ <span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user">Login As Functional Test User</span>\n \n <tr>\n - <td>clickAndWait</td>\n - <td>link=Persons</td>\n - <td></td>\n + <td>selectAndWait</td>\n + <td>//select[@name="select_module"]</td>\n + <td>Persons</td>\n </tr>\n <tal:block tal:content="structure python: here.Zuite_generateListboxBrowsing(listbox_selection=([\'title\', here.Zuite_getHowToInfo()[\'incoming_event_howto_person_title\']],), enter_object=True)"/>\n <tr>\n @@ -218,9 +218,9 @@ <td></td>\n </tr>\n <tr>\n - <td>clickAndWait</td>\n - <td>link=Events</td>\n - <td></td>\n + <td>selectAndWait</td>\n + <td>//select[@name="select_module"]</td>\n + <td>Events</td>\n </tr>\n <tr>\n <td>verifyText</td>\n @@ -326,10 +326,11 @@ <td></td>\n </tr>\n <tr>\n - <td>clickAndWait</td>\n - <td>link=Support Requests</td>\n - <td></td>\n + <td>selectAndWait</td>\n + <td>//select[@name="select_module"]</td>\n + <td>Support Requests</td>\n </tr>\n +\n <tal:block tal:content="structure python: here.Zuite_generateListboxBrowsing(listbox_selection=([\'title\', here.Zuite_getHowToInfo()[\'incoming_event_howto_ticket_title\']],), enter_object=True)"/>\n <tr>\n <td>verifyText</td>\n diff --git a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToInstanceI18N.xml b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToInstanceI18N.xml index 6448fa92c40bd0506a1e89ac8361aac3bc39869d..fb7f4f997896eea6377a0dc998b53d154727bde2 100644 --- a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToInstanceI18N.xml +++ b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToInstanceI18N.xml @@ -102,10 +102,11 @@ XXX: This is the way user would have done but it fails for FF in some conditions <td></td>\n </tr>\n <tr>\n - <td>clickAndWait</td>\n - <td>link=Personnes</td>\n - <td></td>\n + <td>selectAndWait</td>\n + <td>//select[@name="select_module"]</td>\n + <td>Personnes</td>\n </tr>\n +\n <tr>\n <td>clickAndWait</td>\n <td>Folder_show:method</td>\n diff --git a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToOrganisation.xml b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToOrganisation.xml index 85fcb34cc48d0f81ce9d76201c6667468e89ba85..11b22cd41da0ae9ba7ea6b2d7d73fe0ca038a807 100644 --- a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToOrganisation.xml +++ b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToOrganisation.xml @@ -66,9 +66,9 @@ <span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user">Login As Functional Test User</span>\n \n <tr>\n - <td>clickAndWait</td>\n - <td>link=Organisations</td>\n - <td></td>\n + <td>selectAndWait</td>\n + <td>//select[@name="select_module"]</td>\n + <td>Organisations</td>\n </tr>\n <tr>\n <td>selectAndWait</td>\n diff --git a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToOutgoingEvent.xml b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToOutgoingEvent.xml index 4f08d4a55f0f91a50ee3921a2fb09f992ad00a2f..0ac0109feadb3ff72dc1effcbec8ab6a7f339242 100644 --- a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToOutgoingEvent.xml +++ b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToOutgoingEvent.xml @@ -71,10 +71,11 @@ <td></td>\n </tr>\n <tr>\n - <td>clickAndWait</td>\n - <td>link=Campaigns</td>\n - <td></td>\n + <td>selectAndWait</td>\n + <td>//select[@name="select_module"]</td>\n + <td>Campaigns</td>\n </tr>\n +\n <tal:block tal:content="structure python: here.Zuite_generateListboxBrowsing(listbox_selection=([\'title\', here.Zuite_getHowToInfo()[\'outgoing_event_howto_campaign_title\']],), enter_object=True)"/>\n <tr>\n <td>verifyText</td>\n diff --git a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToPerson.xml b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToPerson.xml index 44f28cc793e3afc2b669fc3d927b3dee2ef6caf5..bcec21e669f239b2b7e56fbfa8bf03ae5af3ea93 100644 --- a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToPerson.xml +++ b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToPerson.xml @@ -66,9 +66,9 @@ <span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user">Login As Functional Test User</span>\n \n <tr>\n - <td>clickAndWait</td>\n - <td>link=Persons</td>\n - <td></td>\n + <td>selectAndWait</td>\n + <td>//select[@name="select_module"]</td>\n + <td>Persons</td>\n </tr>\n <tr>\n <td>selectAndWait</td>\n @@ -189,9 +189,9 @@ <td></td>\n </tr>\n <tr>\n - <td>clickAndWait</td>\n - <td>link=Persons</td>\n - <td></td>\n + <td>selectAndWait</td>\n + <td>//select[@name="select_module"]</td>\n + <td>Persons</td>\n </tr>\n <tr>\n <td>verifyText</td>\n diff --git a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToPersonAndOrganisationLinking.xml b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToPersonAndOrganisationLinking.xml index a733bb7353ba3f7499853a0b3553ed6edf9a008d..993bcda2ebcffdea92539d4d7383b4568d8b3bdf 100644 --- a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToPersonAndOrganisationLinking.xml +++ b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToPersonAndOrganisationLinking.xml @@ -71,10 +71,11 @@ <td></td>\n </tr>\n <tr>\n - <td>clickAndWait</td>\n - <td>link=Persons</td>\n - <td></td>\n + <td>selectAndWait</td>\n + <td>//select[@name="select_module"]</td>\n + <td>Persons</td>\n </tr>\n +\n <tal:block tal:content="structure python: here.Zuite_generateListboxBrowsing(listbox_selection=([\'title\', here.Zuite_getHowToInfo()[\'link_howto_person_title\']],), enter_object=True)"/>\n <tr>\n <td>assertValue</td>\n diff --git a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToPostEvent.xml b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToPostEvent.xml index d5e73481648cb827f41d0bc4ede042c511261c40..2510b2b1f04eed3001d28641081fee0dce20fee4 100644 --- a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToPostEvent.xml +++ b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToPostEvent.xml @@ -71,10 +71,11 @@ <td></td>\n </tr>\n <tr>\n - <td>clickAndWait</td>\n - <td>link=Events</td>\n - <td></td>\n + <td>selectAndWait</td>\n + <td>//select[@name="select_module"]</td>\n + <td>Events</td>\n </tr>\n +\n <tal:block tal:content="structure python: here.Zuite_generateListboxBrowsing(listbox_selection=([\'title\', here.Zuite_getHowToInfo()[\'post_event_howto_event_title\']],), enter_object=True)"/>\n <tr>\n <td>selectAndWait</td>\n diff --git a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToProduct.xml b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToProduct.xml index 644a068d738ce3257031419c4fba19ab3dcd7fb9..e03c4f3704ff5b6d46ced25f3c38a9c1e9bb78f7 100644 --- a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToProduct.xml +++ b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToProduct.xml @@ -66,9 +66,9 @@ <span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user">Login As Functional Test User</span>\n \n <tr>\n - <td>clickAndWait</td>\n - <td>link=Products</td>\n - <td></td>\n + <td>selectAndWait</td>\n + <td>//select[@name="select_module"]</td>\n + <td>Products</td>\n </tr>\n <tr>\n <td>selectAndWait</td>\n @@ -207,9 +207,9 @@ <td></td>\n </tr>\n <tr>\n - <td>clickAndWait</td>\n - <td>link=Products</td>\n - <td></td>\n + <td>selectAndWait</td>\n + <td>//select[@name="select_module"]</td>\n + <td>Products</td>\n </tr>\n <tr>\n <td>verifyText</td>\n diff --git a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml index 9d855d8cec998f00da92323dd26ddfd05464b174..65e69d833810e715d8a91d98fd8de5d7db6f25f8 100644 --- a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml +++ b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml @@ -66,9 +66,9 @@ <span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user">Login As Functional Test User</span>\n \n <tr>\n - <td>clickAndWait</td>\n - <td>link=Sale Orders</td>\n - <td></td>\n + <td>selectAndWait</td>\n + <td>//select[@name="select_module"]</td>\n + <td>Sale Orders</td>\n </tr>\n <tr>\n <td>selectAndWait</td>\n diff --git a/bt5/erp5_user_tutorial_ui_test/bt/change_log b/bt5/erp5_user_tutorial_ui_test/bt/change_log index d56c8eb838d44e1e848130df7e8d7aca04e3bb69..4495d5b7d13ec9092db92ba40c2d216090a2c25d 100644 --- a/bt5/erp5_user_tutorial_ui_test/bt/change_log +++ b/bt5/erp5_user_tutorial_ui_test/bt/change_log @@ -1,3 +1,6 @@ +21-03-2011 lucas +- Tests uses select_module list box instead of front page. + 28-01-2011 lucas - Fixed testHowToIncomingEvent - Fixed testHowToInstanceI18N diff --git a/bt5/erp5_user_tutorial_ui_test/bt/revision b/bt5/erp5_user_tutorial_ui_test/bt/revision index b02454449c8cae01aa9a1ce93c15cd4c90e8a117..66079bda3a7a6fc0aa17ca480fbb175077e6d0ad 100644 --- a/bt5/erp5_user_tutorial_ui_test/bt/revision +++ b/bt5/erp5_user_tutorial_ui_test/bt/revision @@ -1 +1 @@ -749 \ No newline at end of file +750 \ No newline at end of file