Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039875Retail ModulesTests Stabilizationpublic2019-01-04 11:252019-01-29 17:36
gorka_gil 
gorka_gil 
normalmajoralways
closedfixed 
5
 
RR19Q2 
marvintm
No
0039875: Test DocumentnoComputingLogicIntegrity fail when a previous test do a layaway
If execute:
    ConvertOrderToQuotation.class,
    DocumentnoComputingLogicIntegrity.class,

The test ConvertOrderToQuotation when doing the final layaway don't increase this attribute:
    OB.MobileApp.model.attributes.terminal.lastDocumentNumber

Which result in test DocumentnoComputingLogicIntegrity failing.
-
Not clear but probably the layaway should also increase this attribute.
No tags attached.
depends on backport 0039984RR19Q1 closed gorka_gil Test DocumentnoComputingLogicIntegrity fail when a previous test do a layaway 
Issue History
2019-01-04 11:25gorka_gilNew Issue
2019-01-04 11:25gorka_gilAssigned To => gorka_gil
2019-01-04 11:25gorka_gilTriggers an Emergency Pack => No
2019-01-04 11:35hgbotCheckin
2019-01-04 11:35hgbotNote Added: 0108830
2019-01-04 13:12gorka_gilNote Added: 0108834
2019-01-08 17:57hgbotCheckin
2019-01-08 17:57hgbotNote Added: 0108861
2019-01-08 17:57hgbotStatusnew => resolved
2019-01-08 17:57hgbotResolutionopen => fixed
2019-01-08 17:57hgbotFixed in SCM revision => http://code.openbravo.com/tools/automation/pi-mobile/rev/22bb846710151ce64a55c004bf55a611f1a95e34 [^]
2019-01-21 12:04gorka_gilStatusresolved => new
2019-01-21 12:04gorka_gilResolutionfixed => open
2019-01-21 12:04gorka_gilStatusnew => scheduled
2019-01-21 12:04gorka_gilStatusscheduled => resolved
2019-01-21 12:04gorka_gilResolutionopen => fixed
2019-01-29 17:36marvintmReview Assigned To => marvintm
2019-01-29 17:36marvintmStatusresolved => closed
2019-01-29 17:36marvintmFixed in Version => RR19Q2

Notes
(0108830)
hgbot   
2019-01-04 11:35   
Repository: tools/automation/pi-mobile
Changeset: 8f3630928626530e06de8ddc78bd2c1c5831e74f
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Fri Jan 04 11:35:17 2019 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/8f3630928626530e06de8ddc78bd2c1c5831e74f [^]

Related to issue 39875: Disable test DocumentnoComputingLogicIntegrity till issue is fixed

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/documentno/DocumentnoComputingLogicIntegrity.java
---
(0108834)
gorka_gil   
2019-01-04 13:12   
Probably adding a reload at the bigginning of test DocumentnoComputingLogicIntegrity, should fix the problem.

And apart create a new test to check the documentno computing integrity in layaways.
(0108861)
hgbot   
2019-01-08 17:57   
Repository: tools/automation/pi-mobile
Changeset: 22bb846710151ce64a55c004bf55a611f1a95e34
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Jan 08 17:56:37 2019 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/22bb846710151ce64a55c004bf55a611f1a95e34 [^]

Fixes issue 39875: Fix test DocumentnoComputingLogicIntegrity - lastDocumentNumber is set only in the loading, so need to do reload

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/documentno/DocumentnoComputingLogicIntegrity.java
---