Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039823Retail ModulesTests Stabilizationpublic2018-12-17 16:592024-02-08 14:46
gorka_gil 
alekosmp86 
normalmajorrandom
closedout of date 
5
 
 
No
0039823: Some tests create sampledata with random id's
Having random id's could produce for example that the order is which are applied some discounts change, which produce unstable tests.

The tests should add the needed sampledata in the sampledata repository, instead create it on run time.

If this interfere with other functionality, the sampledata should be added disabled.


These tests needs to be fixed:
- I38074_VerifyComboFixedPriceDiscounts
- SplitLineWithAutomaticPromoTwoFamilyCombos
-
No tags attached.
patch I38074_test.patch (8,920) 2019-10-01 16:20
https://issues.openbravo.com/file_download.php?file_id=13333&type=bug
patch I38074_sampledata.patch (5,893) 2019-10-01 16:20
https://issues.openbravo.com/file_download.php?file_id=13334&type=bug
Issue History
2018-12-17 16:59gorka_gilNew Issue
2018-12-17 16:59gorka_gilAssigned To => alekosmp86
2018-12-17 16:59gorka_gilTriggers an Emergency Pack => No
2018-12-17 17:13hgbotCheckin
2018-12-17 17:13hgbotNote Added: 0108651
2018-12-18 15:40alekosmp86Statusnew => scheduled
2019-10-01 16:20alekosmp86File Added: I38074_test.patch
2019-10-01 16:20alekosmp86File Added: I38074_sampledata.patch
2024-02-08 14:46shuehnerNote Added: 0160468
2024-02-08 14:46shuehnerStatusscheduled => closed
2024-02-08 14:46shuehnerResolutionopen => out of date

Notes
(0108651)
hgbot   
2018-12-17 17:13   
Repository: tools/automation/pi-mobile
Changeset: bdb34ac8af4dab4adc74c2c47c50356f97a6fb64
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Mon Dec 17 17:13:03 2018 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/bdb34ac8af4dab4adc74c2c47c50356f97a6fb64 [^]

Related to issue 39823: Disable two tests that failing till this issue is fixed

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_combo/I38074_VerifyComboFixedPriceDiscounts.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/splitline/SplitLineWithAutomaticPromoTwoFamilyCombos.java
---
(0160468)
shuehner   
2024-02-08 14:46   
After mass reviewing old pos issues in 52891 => Closing as out of date