Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044478Retail ModulesWeb POSpublic2020-06-24 17:222020-08-18 06:49
prakashmurugesan88 
prakashmurugesan88 
normalminorhave not tried
closedfixed 
5
 
RR20Q3 
marvintm
No
0044478: Automated test LPNR270_MultiCardGeneratedToAutomaticSubscription failing frequently in try
Automated test LPNR270_MultiCardGeneratedToAutomaticSubscription failing frequently in try with error,

LoyaltySubscriptions_header' not found

https://builds.openbravo.com/job/try-ret-modules-oracle-suite6/234/ [^]
 
Seems Loyalty Subscription details not rendered after saving customer,

Check LPNR270_MultiCardGeneratedToAutomaticSubscription test for steps

https://builds.openbravo.com/job/try-ret-modules-oracle-suite6/234/ [^]

No tags attached.
Issue History
2020-06-24 17:22prakashmurugesan88New Issue
2020-06-24 17:22prakashmurugesan88Assigned To => prakashmurugesan88
2020-06-24 17:22prakashmurugesan88Triggers an Emergency Pack => No
2020-06-24 17:23prakashmurugesan88Statusnew => scheduled
2020-06-24 17:39hgbotCheckin
2020-06-24 17:39hgbotNote Added: 0121049
2020-06-25 07:57hgbotCheckin
2020-06-25 07:57hgbotNote Added: 0121052
2020-06-26 14:01hgbotCheckin
2020-06-26 14:02hgbotNote Added: 0121128
2020-06-30 07:10hgbotCheckin
2020-06-30 07:10hgbotNote Added: 0121150
2020-08-17 07:39prakashmurugesan88Note Added: 0122089
2020-08-17 07:39prakashmurugesan88Statusscheduled => resolved
2020-08-17 07:39prakashmurugesan88Resolutionopen => fixed
2020-08-18 06:49marvintmReview Assigned To => marvintm
2020-08-18 06:49marvintmStatusresolved => closed
2020-08-18 06:49marvintmFixed in Version => RR20Q3

Notes
(0121049)
hgbot   
2020-06-24 17:39   
Repository: tools/automation/pi-mobile
Changeset: 8894232ac1340cfda251f6f5a1f12df00d520c25
Author: Prakash M <prakash <at> qualiantech.com>
Date: Wed Jun 24 20:55:24 2020 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/8894232ac1340cfda251f6f5a1f12df00d520c25 [^]

Related to BUG-44478: Added verfication of loyalty subscription details after new
customer save in LPNR270_MultiCardGeneratedToAutomaticSubscription test

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/loyalty/subscriptions/LPNR270_MultiCardGeneratedToAutomaticSubscription.java
---
(0121052)
hgbot   
2020-06-25 07:57   
Repository: erp/pmods/org.openbravo.retail.loyalty.programs
Changeset: b9d2de6cea27a71ca6fa0e1015cac74ac0bd71fc
Author: Prakash M <prakash <at> qualiantech.com>
Date: Thu Jun 25 11:26:56 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.loyalty.programs/rev/b9d2de6cea27a71ca6fa0e1015cac74ac0bd71fc [^]

Related to BUG-44478: Offline test faling in try after customer save as loyalty
subscription details are not loaded after customer save.

* It takes time to save data in indexed db.
* And loyaty summary try rendered before data save in indexed db.
* Therefore loyaty summary is empty

* Added wait to allow subscription details to be saved in db before loyalty
summary rendering.

---
M web/org.openbravo.retail.loyalty.programs/js/utils/obrlputils.js
---
(0121128)
hgbot   
2020-06-26 14:01   
Repository: erp/pmods/org.openbravo.retail.loyalty.programs
Changeset: 2a226326905fb9c5e6aac37d81248c2f97e4b5bb
Author: Prakash M <prakash <at> qualiantech.com>
Date: Fri Jun 26 17:17:37 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.loyalty.programs/rev/2a226326905fb9c5e6aac37d81248c2f97e4b5bb [^]

Related to BUG-44478: Backed out changeset: b9d2de6cea27

* LPNR100_MultiCardGeneratedToAutomaticSubscriptionWhenCustomerIsCreated test
failing in try

---
M web/org.openbravo.retail.loyalty.programs/js/utils/obrlputils.js
---
(0121150)
hgbot   
2020-06-30 07:10   
Repository: erp/pmods/org.openbravo.retail.loyalty.programs
Changeset: 2653fd891f252d512284ef9b852b9395e1f9dcb7
Author: Prakash M <prakash <at> qualiantech.com>
Date: Tue Jun 30 10:40:01 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.loyalty.programs/rev/2653fd891f252d512284ef9b852b9395e1f9dcb7 [^]

Related to BUG-44478: Offline test faling in try after new customer save
as loyalty subscription details are not loaded after customer save.

* It takes time to save data in indexed db.
* And loyaty summary try rendered before data save in indexed db.
* Therefore loyaty summary is empty

* Added wait to allow subscription details to be saved in db before loyalty
summary rendering.

---
M web/org.openbravo.retail.loyalty.programs/js/hooks/obrlp_postCustomerSave.js
---
(0122089)
prakashmurugesan88   
2020-08-17 07:39   
No occurrences in last 15 runs in try