Commit d35d44d5 authored by Jérome Perrin's avatar Jérome Perrin

*_ui_test: make Zelenium tests compatible with Zope4 ZMI

The status message no longer use system-msg class, use simpler
"assertTextPresent" that should be enough.

Simplify the waiting for static pages, clickAndWait is enough.
parent a018e95e
...@@ -120,14 +120,13 @@ ...@@ -120,14 +120,13 @@
<tr> <tr>
<td>click</td> <td>clickAndWait</td>
<td>//input[@value='Save Changes']</td> <td>//input[@value='Save Changes']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>assertTextPresent</td>
<td>//div[@class='system-msg']</td> <td>Content changed</td>
<td></td> <td></td>
</tr> </tr>
...@@ -170,18 +169,16 @@ ...@@ -170,18 +169,16 @@
<tr> <tr>
<td>click</td> <td>clickAndWait</td>
<td>//input[@value='Save Changes']</td> <td>//input[@value='Save Changes']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>assertTextPresent</td>
<td>//div[@class='system-msg']</td> <td>Content changed</td>
<td></td> <td></td>
</tr> </tr>
</tbody></table> </tbody></table>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -68,14 +68,13 @@ ...@@ -68,14 +68,13 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>clickAndWait</td>
<td>//input[@value='Save Changes']</td> <td>//input[@value='Save Changes']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>assertTextPresent</td>
<td>//div[@class='system-msg']</td> <td>Content changed</td>
<td></td> <td></td>
</tr> </tr>
...@@ -172,18 +171,16 @@ ...@@ -172,18 +171,16 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>clickAndWait</td>
<td>//input[@value='Save Changes']</td> <td>//input[@value='Save Changes']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>assertTextPresent</td>
<td>//div[@class='system-msg']</td> <td>Content changed</td>
<td></td> <td></td>
</tr> </tr>
</tbody></table> </tbody></table>
</body> </body>
</html> </html>
\ 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