Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038002Retail ModulesTests Stabilizationpublic2018-02-26 16:272018-02-26 17:09
alekosmp86 
alekosmp86 
normalminorrandom
newopen 
5
 
 
No
0038002: CreditNoteFromCancelAndReplace
Test:
org.openbravo.test.mobile.retail.extmodules.selenium.tests.creditnote.CreditNoteFromCancelAndReplace

Error:
The database didn't return the expected data Query has timed out (10 * 1000 = 10000)
Query: "select gci.gcnv_giftcard_inst_id as gcId, gci.value, gci.amount as initBal, gci.currentamount as currBal, gci.status, gci.fin_payment_id paymentId, gci.type, bp.name as bPartner from gcnv_giftcard_inst gci join c_bpartner bp on bp.c_bpartner_id=gci.c_bpartner_id where gci.c_order_id = '523D04DD9E4B6D022AA46780423651D0' "
 - Run test in CreditNoteFromCancelAndReplace.java
 - If the queries in the test are executed before completing the synchronization, the test will fail.
The error is probably caused because the backend is queried before synchronizing it with the WebPOS.

We should force a synchronization between the POS and the backend before executing any query.
No tags attached.
Issue History
2018-02-26 16:27alekosmp86New Issue
2018-02-26 16:27alekosmp86Assigned To => Retail
2018-02-26 16:27alekosmp86Triggers an Emergency Pack => No
2018-02-26 16:45alekosmp86Assigned ToRetail => alekosmp86
2018-02-26 17:09hgbotCheckin
2018-02-26 17:09hgbotNote Added: 0102836

Notes
(0102836)
hgbot   
2018-02-26 17:09   
Repository: tools/automation/pi-mobile
Changeset: 4bed35f49266bbe3d3a778df51d5c656673f8c54
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Mon Feb 26 11:08:28 2018 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/4bed35f49266bbe3d3a778df51d5c656673f8c54 [^]

Related to issue 38002: Removed unused import so no warnings are shown in IDE.
Refer to changeset c4f18ae63184 for the fix of this issue.

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/creditnote/CreditNoteFromCancelAndReplace.java
---