Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020118Openbravo ERPI. Performancepublic2012-03-26 17:582022-02-01 08:08
plujan 
Triage Platform Base 
normalmajorhave not tried
acknowledgedopen 
5
pi 
 
Core
No
0020118: Time between showing Success message and refreshing the window is too long
When completing a Goods Receipt, Selenium tests failed because they found Document Status "Draft" after completing the Receipt.

The reason is that Selenium tests are looking for the Process Completed Successfully banner as a trigger for the verification of the status. But the window refresh is delayed some extra seconds, making the test to fail.
1. Create a Goods Receipt with one line
2. Complete it
3. Check that for a moment, if the connection is slow could be one second, the success message is displayed before refreshing the window. See screenshot.
No tags attached.
png PROa_createPurchaseOrderAndInvoice (1).png (72,828) 2012-03-26 17:58
https://issues.openbravo.com/file_download.php?file_id=5095&type=bug
png
Issue History
2012-03-26 17:58plujanNew Issue
2012-03-26 17:58plujanAssigned To => alostale
2012-03-26 17:58plujanFile Added: PROa_createPurchaseOrderAndInvoice (1).png
2012-03-26 17:58plujanModules => Core
2012-03-30 12:11hgbotCheckin
2012-03-30 12:11hgbotNote Added: 0046967
2012-05-08 17:03alostaleNote Added: 0048462
2012-05-08 17:03alostaleTypedefect => design defect
2012-09-24 20:46AugustoMauchNote Added: 0052383
2012-09-24 20:46AugustoMauchPriorityurgent => normal
2012-09-24 20:46AugustoMauchStatusnew => scheduled
2017-03-31 14:36alostaleStatusscheduled => acknowledged
2017-04-10 14:33alostaleAssigned Toalostale => platform
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

Notes
(0046967)
hgbot   
2012-03-30 12:11   
Repository: tools/automation/int
Changeset: a756139f8004a64d1106dcbd83599d2e2169c93b
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Mon Mar 26 17:59:20 2012 +0200
URL: http://code.openbravo.com/tools/automation/int/rev/a756139f8004a64d1106dcbd83599d2e2169c93b [^]

Adds workaround to issue 20118

---
M src-test/com/openbravo/test/integration/erp/testsuites/smoke/procurement/PROa_OrderToInvoice.java
---
(0048462)
alostale   
2012-05-08 17:03   
Setting as design defect: this fix would require a refactor in the process flow
(0052383)
AugustoMauch   
2012-09-24 20:46   
Impact: mid
Plan: mid