Commit 49678aa4 authored by Jérome Perrin's avatar Jérome Perrin

user_tutorial_ui_test: use assert* instead of verify* to stop test

verify* style assertion continue test execution, whereas assert* mark test as failed.
If something went wrong, better to exit early.
parent 82c5ecae
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyTextPresent</td> <td>assertTextPresent</td>
<td tal:content="python: <td tal:content="python:
here.Zuite_getHowToInfo()['manager_username']"></td> here.Zuite_getHowToInfo()['manager_username']"></td>
<td></td> <td></td>
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyTextPresent</td> <td>assertTextPresent</td>
<td>Done.</td> <td>Done.</td>
<td></td> <td></td>
</tr> </tr>
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyTextPresent</td> <td>assertTextPresent</td>
<td>Done.</td> <td>Done.</td>
<td></td> <td></td>
</tr> </tr>
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyTextPresent</td> <td>assertTextPresent</td>
<td>Done.</td> <td>Done.</td>
<td></td> <td></td>
</tr> </tr>
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyTextPresent</td> <td>assertTextPresent</td>
<td tal:content="python: <td tal:content="python:
here.Zuite_getHowToInfo()['functional_test_username']"></td> here.Zuite_getHowToInfo()['functional_test_username']"></td>
<td></td> <td></td>
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyTextPresent</td> <td>assertTextPresent</td>
<td>Init Ok.</td> <td>Init Ok.</td>
<td></td> <td></td>
</tr> </tr>
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyTextPresent</td> <td>assertTextPresent</td>
<td>Done.</td> <td>Done.</td>
<td></td> <td></td>
</tr> </tr>
...@@ -240,7 +240,7 @@ ...@@ -240,7 +240,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyTextPresent</td> <td>assertTextPresent</td>
<td tal:content="python: <td tal:content="python:
here.Zuite_getHowToInfo()['functional_another_test_username']"></td> here.Zuite_getHowToInfo()['functional_another_test_username']"></td>
<td></td> <td></td>
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyTextPresent</td> <td>assertTextPresent</td>
<td>Init Ok.</td> <td>Init Ok.</td>
<td></td> <td></td>
</tr> </tr>
...@@ -313,7 +313,7 @@ ...@@ -313,7 +313,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyTextPresent</td> <td>assertTextPresent</td>
<td tal:content="python: <td tal:content="python:
here.Zuite_getHowToInfo()['person_howto_reference']"></td> here.Zuite_getHowToInfo()['person_howto_reference']"></td>
<td></td> <td></td>
......
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