Commit 6e33e6f2 authored by Ivan Tyagov's avatar Ivan Tyagov

Domain trees use buttons, update tests accordingly.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45771 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8be252e0
......@@ -52,7 +52,7 @@ Test stock browser for confirmed state\n
<!-- }}} -->\n
\n
<!-- Check source -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site\';\n
movement_count python: 1;\n
current_inventory python: 0.0;\n
available_inventory python: -1.0;\n
......@@ -62,7 +62,7 @@ Test stock browser for confirmed state\n
</tal:block>\n
\n
<!-- Check destination -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site\';\n
movement_count python: 1;\n
current_inventory python: 0.0;\n
available_inventory python: 0.0;\n
......
......@@ -52,7 +52,7 @@ Test stock browser for delivered state\n
<!-- }}} -->\n
\n
<!-- Check source -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site\';\n
movement_count python: 1;\n
current_inventory python: -1.0;\n
available_inventory python: -1.0;\n
......@@ -62,7 +62,7 @@ Test stock browser for delivered state\n
</tal:block>\n
\n
<!-- Check destination -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site\';\n
movement_count python: 1;\n
current_inventory python: 1.0;\n
available_inventory python: 1.0;\n
......
......@@ -52,13 +52,13 @@ Test stock browser for draft state\n
<!-- }}} -->\n
\n
<!-- Check source -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site\';\n
movement_count python: 0;">\n
<tal:block metal:use-macro="here/PdmZuite_checkStockBrowser/macros/init" />\n
</tal:block>\n
\n
<!-- Check destination -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site\';\n
movement_count python: 0;">\n
<tal:block metal:use-macro="here/PdmZuite_checkStockBrowser/macros/init" />\n
</tal:block>\n
......
......@@ -52,7 +52,7 @@ Test stock browser for ordered state\n
<!-- }}} -->\n
\n
<!-- Check source -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site\';\n
movement_count python: 1;\n
current_inventory python: 0.0;\n
available_inventory python: 0.0;\n
......@@ -62,7 +62,7 @@ Test stock browser for ordered state\n
</tal:block>\n
\n
<!-- Check destination -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site\';\n
movement_count python: 1;\n
current_inventory python: 0.0;\n
available_inventory python: 0.0;\n
......
......@@ -52,7 +52,7 @@ Test stock browser for planned state\n
<!-- }}} -->\n
\n
<!-- Check source -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site\';\n
movement_count python: 1;\n
current_inventory python: 0.0;\n
available_inventory python: 0.0;\n
......@@ -62,7 +62,7 @@ Test stock browser for planned state\n
</tal:block>\n
\n
<!-- Check destination -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site\';\n
movement_count python: 1;\n
current_inventory python: 0.0;\n
available_inventory python: 0.0;\n
......
......@@ -52,7 +52,7 @@ Test stock browser for ready state\n
<!-- }}} -->\n
\n
<!-- Check source -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site\';\n
movement_count python: 1;\n
current_inventory python: 0.0;\n
available_inventory python: -1.0;\n
......@@ -62,7 +62,7 @@ Test stock browser for ready state\n
</tal:block>\n
\n
<!-- Check destination -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site\';\n
movement_count python: 1;\n
current_inventory python: 0.0;\n
available_inventory python: 0.0;\n
......
......@@ -52,7 +52,7 @@ Test stock browser for started state\n
<!-- }}} -->\n
\n
<!-- Check source -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site\';\n
movement_count python: 1;\n
current_inventory python: -1.0;\n
available_inventory python: -1.0;\n
......@@ -62,7 +62,7 @@ Test stock browser for started state\n
</tal:block>\n
\n
<!-- Check destination -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site\';\n
movement_count python: 1;\n
current_inventory python: 0.0;\n
available_inventory python: 0.0;\n
......
......@@ -52,7 +52,7 @@ Test stock browser for stopped state\n
<!-- }}} -->\n
\n
<!-- Check source -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_source_site\';\n
movement_count python: 1;\n
current_inventory python: -1.0;\n
available_inventory python: -1.0;\n
......@@ -62,7 +62,7 @@ Test stock browser for stopped state\n
</tal:block>\n
\n
<!-- Check destination -->\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site_title\';\n
<tal:block tal:define="link_title python: \'erp5_pdm_ui_test_destination_site\';\n
movement_count python: 1;\n
current_inventory python: 1.0;\n
available_inventory python: 1.0;\n
......
......@@ -43,7 +43,7 @@
<!-- Click on + link -->\n
<tr>\n
<td>clickAndWait</td>\n
<td tal:content="python: \'link=%s\' % link_title">link=node</td>\n
<td tal:content=\'string://button[@value="site/${link_title}.0"]\'>link=node</td>\n
<td></td>\n
</tr>\n
\n
......@@ -109,7 +109,7 @@
</item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
<value> <string>iso-8859-15</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
34
\ No newline at end of file
35
\ 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