diff --git a/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGSettings.xml b/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGSettings.xml index d3a2d45d9ceab358034a47ddda58938bcdcf9818..e99e366db32626299607c5796095d8660d15ecca 100644 --- a/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGSettings.xml +++ b/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGSettings.xml @@ -154,6 +154,196 @@ <td>//input[@value=\'text_area\']@checked</td>\n <td>checked</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 + <tr>\n + <td>openAndWait</td>\n + <td>${ung_url}/WebSite_logout</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>click</td>\n + <td>//td[@id="new-account-form"]</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>type</td>\n + <td>//input[@name="firstname"]</td>\n + <td>Another</td>\n + </tr>\n + <tr>\n + <td>type</td>\n + <td>//input[@name="lastname"]</td>\n + <td>User</td>\n + </tr>\n + <tr>\n + <td>type</td>\n + <td>//input[@name="email"]</td>\n + <td>example2@example.com</td>\n + </tr>\n + <tr>\n + <td>type</td>\n + <td>//input[@name="login_name"]</td>\n + <td>ung_user2</td>\n + </tr>\n + <tr>\n + <td>type</td>\n + <td>//input[@name="password"]</td>\n + <td>1234</td>\n + </tr>\n + <tr>\n + <td>type</td>\n + <td>//input[@name="confirm"]</td>\n + <td>1234</td>\n + </tr>\n + <tr>\n + <td>click</td>\n + <td>//input[@value="Create Account"]</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>waitForPageToLoad</td>\n + <td>30000</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>type</td>\n + <td>__ac_name</td>\n + <td>ung_user2</td>\n + </tr>\n + <tr>\n + <td>type</td>\n + <td>__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>click</td>\n + <td>//a[@id="settings"]</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>waitForCondition</td>\n + <td>selenium.isElementPresent("//input[@name=\'field_my_preferred_text_editor\']")</td>\n + <td>3000</td>\n + </tr>\n + <tr>\n + <td>check</td>\n + <td>//input[@value=\'fck_editor\']</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>check</td>\n + <td>//input[@value=\'text/html\']</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>clickAndWait</td>\n + <td>//html/body/div[3]/div[11]/div/button[1]</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>click</td>\n + <td>//a[@id="settings"]</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>waitForCondition</td>\n + <td>selenium.isElementPresent("//input[@name=\'field_my_preferred_text_editor\']")</td>\n + <td>3000</td>\n + </tr>\n + <tr>\n + <td>check</td>\n + <td>//input[@value=\'fck_editor\']</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>check</td>\n + <td>//input[@value=\'text/html\']</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>click</td>\n + <td>//a[@id="settings"]</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>waitForCondition</td>\n + <td>selenium.isElementPresent("//input[@name=\'field_my_preferred_text_editor\']")</td>\n + <td>3000</td>\n + </tr>\n + <tr>\n + <td>clickAndWait</td>\n + <td>//html/body/div[3]/div[11]/div/button[1]</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>click</td>\n + <td>//a[@id="settings"]</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>waitForCondition</td>\n + <td>selenium.isElementPresent("//input[@name=\'field_my_preferred_text_editor\']")</td>\n + <td>3000</td>\n + </tr>\n + <tr>\n + <td>verifyAttribute</td>\n + <td>//input[@value=\'fck_editor\']@checked</td>\n + <td>checked</td>\n + </tr>\n + <tr>\n + <td>verifyAttribute</td>\n + <td>//input[@value=\'text/html\']@checked</td>\n + <td>checked</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>__ac_name</td>\n + <td>test_user</td>\n + </tr>\n + <tr>\n + <td>type</td>\n + <td>__ac_password</td>\n + <td>test_user</td>\n + </tr>\n + <tr>\n + <td>clickAndWait</td>\n + <td>//input[@type="submit"]</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>click</td>\n + <td>//a[@id="settings"]</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>waitForCondition</td>\n + <td>selenium.isElementPresent("//input[@name=\'field_my_preferred_text_editor\']")</td>\n + <td>3000</td>\n + </tr>\n + <tr>\n + <td>verifyAttribute</td>\n + <td>//input[@value=\'text_area\']@checked</td>\n + <td>checked</td>\n + </tr>\n + <tr>\n + <td>verifyAttribute</td>\n + <td>//input[@value=\'text/plain\']@checked</td>\n + <td>checked</td>\n + </tr>\n </tbody>\n </table>\n </body>\n diff --git a/bt5/erp5_web_ung_ui_test/bt/revision b/bt5/erp5_web_ung_ui_test/bt/revision index fc9afb48e033d9a7d2a778e81ae0e9424950c1cd..2b82dfea308730c4f925388dbb683e6eae360640 100644 --- a/bt5/erp5_web_ung_ui_test/bt/revision +++ b/bt5/erp5_web_ung_ui_test/bt/revision @@ -1 +1 @@ -59 \ No newline at end of file +60 \ No newline at end of file