Commit 166abc36 authored by Lu Xu's avatar Lu Xu 👀 Committed by Rafael Monnerat

slapos_jio_zh_ui_test: fix test

parent 40e886c5
...@@ -81,12 +81,12 @@ ...@@ -81,12 +81,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//span[@data-i18n="Login and/or password is incorrect."]</td> <td>//span[@data-i18n="账号或密码错误。"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//span[@data-i18n="Login and/or password is incorrect."]</td> <td>//span[@data-i18n="账号或密码错误。"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
...@@ -96,12 +96,12 @@ ...@@ -96,12 +96,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//span[@data-i18n="Login and/or password is incorrect."]</td> <td>//span[@data-i18n="账号或密码错误。"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//span[@data-i18n="Login and/or password is incorrect."]</td> <td>//span[@data-i18n="账号或密码错误。"]</td>
<td></td> <td></td>
</tr> </tr>
</tbody> </tbody>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<table cellpadding="1" cellspacing="1" border="1"> <table cellpadding="1" cellspacing="1" border="1">
<thead> <thead>
<tr> <tr>
<td rowspan="1" colspan="3">Test SlapOS JS Subscribe</td> <td rowspan="1" colspan="3">test SlapOS JS Reset Password By Mail</td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
...@@ -34,12 +34,12 @@ ...@@ -34,12 +34,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//a[text()='I forgot my password!']</td> <td>//a[text()='忘记密码']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>clickAndWait</td> <td>clickAndWait</td>
<td>//a[text()='I forgot my password!']</td> <td>//a[text()='忘记密码']</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -56,12 +56,12 @@ ...@@ -56,12 +56,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//a[text()=' Create New Account ']</td> <td>//a[@data-i18n=' Create New Account ']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>clickAndWait</td> <td>clickAndWait</td>
<td>//a[text()=' Create New Account ']</td> <td>//a[@data-i18n=' Create New Account ']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
...@@ -165,12 +165,12 @@ ...@@ -165,12 +165,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//a[text()=' Create New Account ']</td> <td>//a[@data-i18n='创建新用户']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>clickAndWait</td> <td>clickAndWait</td>
<td>//a[text()=' Create New Account ']</td> <td>//a[@data-i18n='创建新用户']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
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