Commit 49b9a3fe authored by Roque's avatar Roque

scalability test: minor fix in createSaleOrder test

parent 9ed35cb5
...@@ -85,7 +85,7 @@ def createSaleOrder(result, browser): ...@@ -85,7 +85,7 @@ def createSaleOrder(result, browser):
# Check whether the changes have been successfully updated # Check whether the changes have been successfully updated
assert browser.getTransitionMessage() == 'Data updated.' assert browser.getTransitionMessage() == 'Data updated.'
sale_order_url = browser.url sale_order_url = my_order_sale_url
# Set Sale Trade Condition, Client and Beneficiary # Set Sale Trade Condition, Client and Beneficiary
for number_button in (2,4,5): for number_button in (2,4,5):
...@@ -105,4 +105,4 @@ def createSaleOrder(result, browser): ...@@ -105,4 +105,4 @@ def createSaleOrder(result, browser):
browser.mainForm.submitSelectWorkflow(value='plan_action') browser.mainForm.submitSelectWorkflow(value='plan_action')
result('Validate', result('Validate',
browser.mainForm.submitDialogConfirm(sleep=(TMIN_SLEEP, TMAX_SLEEP))) browser.mainForm.submitDialogConfirm(sleep=(TMIN_SLEEP, TMAX_SLEEP)))
assert browser.getTransitionMessage() == 'Status changed.' assert browser.getTransitionMessage() == 'Status changed.'
\ 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