Commit 76ef9ebc authored by Jérome Perrin's avatar Jérome Perrin Committed by Arnaud Fontaine

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