Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038723Retail ModulesWeb POSpublic2018-06-07 17:562018-11-16 09:54
gorka_gil 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
 
marvintm
No
0038723: SaleAndCashupVerifyingDatabase tests don't work in synchronize mode
These tests are failing in ci:
 - Synchronized_SaleAndCashupVerifyingDatabaseI
 - Synchronized_SaleAndCashupVerifyingDatabaseII

These tests are just the normal SaleAndCashupVerifyingDatabaseI and SaleAndCashupVerifyingDatabaseII, having enabled the synchronized mode.

In a quick look, looks like the cashupid generated in the pos and the one stored in the backend db don't match.
-
No tags attached.
related to defect 0038585 closed gorka_gil Tests for synchronize mode and remote business partner 
Issue History
2018-06-07 17:56gorka_gilNew Issue
2018-06-07 17:56gorka_gilAssigned To => Retail
2018-06-07 17:56gorka_gilTriggers an Emergency Pack => No
2018-06-07 18:01hgbotCheckin
2018-06-07 18:01hgbotNote Added: 0105010
2018-06-07 18:02gorka_gilNote Added: 0105011
2018-06-07 18:02gorka_gilRelationship addedrelated to 0038585
2018-10-11 14:57ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-10-11 14:57ranjith_qualiantech_comStatusnew => scheduled
2018-10-16 08:51hgbotCheckin
2018-10-16 08:51hgbotNote Added: 0107312
2018-10-25 07:14ranjith_qualiantech_comStatusscheduled => resolved
2018-10-25 07:14ranjith_qualiantech_comResolutionopen => fixed
2018-11-16 09:54marvintmReview Assigned To => marvintm
2018-11-16 09:54marvintmStatusresolved => closed

Notes
(0105010)
hgbot   
2018-06-07 18:01   
Repository: tools/automation/pi-mobile
Changeset: 2feb07f7070a930d7e94db57fa16dae106cce1b3
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Thu Jun 07 18:00:52 2018 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/2feb07f7070a930d7e94db57fa16dae106cce1b3 [^]

Related to issue 38585: Disable tests Synchronized_SaleAndCashupVerifyingDatabaseI and Synchronized_SaleAndCashupVerifyingDatabaseII till issue 38723 is fixed

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/synchronizedtransactions/Synchronized_SaleAndCashupVerifyingDatabaseI.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/synchronizedtransactions/Synchronized_SaleAndCashupVerifyingDatabaseII.java
---
(0105011)
gorka_gil   
2018-06-07 18:02   
Note the tests has been commented till this issue is fixed, for enable again the tests is needed to do backout of the commit : 2feb07f7070a
(0107312)
hgbot   
2018-10-16 08:51   
Repository: tools/automation/pi-mobile
Changeset: a4a13e599986608dea727b82ef8c54d93ce35079
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Oct 16 12:21:23 2018 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a4a13e599986608dea727b82ef8c54d93ce35079 [^]

Verifies issue 38723 : Modified Test 'Synchronized_SaleAndCashupVerifyingDatabaseI'

* Modified Test 'Synchronized_SaleAndCashupVerifyingDatabaseI'
* Cashup will be rebuild from Server before completing the ticket
* After Completing the Cashup, Temporary Cashup will generated in local db, Before completing the ticket, final cashup will be generated
* Refactored Both test, To get cashUpId after completing the ticket

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/SaleAndCashupVerifyingDatabaseI.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/SaleAndCashupVerifyingDatabaseII.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/synchronizedtransactions/Synchronized_SaleAndCashupVerifyingDatabaseI.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/synchronizedtransactions/Synchronized_SaleAndCashupVerifyingDatabaseII.java
---