Commit 819bb34e authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner_ui_test: Fix test

parent 4bced3df
......@@ -136,12 +136,7 @@
<tr>
<td>select</td>
<td>field_your_publication_state</td>
<td>Published</td>
</tr>
<tr>
<td>select</td>
<td>field_your_publication_state</td>
<td>Published</td>
<td>Released</td>
</tr>
<tr>
<td>type</td>
......@@ -199,8 +194,8 @@
<td>30000</td>
</tr>
<tr>
<td>store</td>
<td>id=field_your_active_process_url</td>
<td>storeValue</td>
<td>//input[@id="field_your_active_process_url"]</td>
<td>active_process_url</td>
</tr>
<tr>
......@@ -208,6 +203,11 @@
<td>${base_url}/erp5/Base_assertActiveProcessHasOneImage?active_process_url=${active_process_url}</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td>OK</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
active_process = context.getPortalObject().restrictedTraverse(active_process_url)
assert len(active_process.getResultList())
return "OK"
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