Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036276Retail ModulesWeb POSpublic2017-06-19 17:442017-06-27 17:28
gorka_gil 
gorka_gil 
hightrivialalways
closedfixed 
5
 
RR17Q3 
Sandrahuguet
No
0036276: Improve I35383_EnsureNumericSearchsContinueWorking_StockCriteria test
The test is filtering per stock greater than 1.

It fail because a test before it, do a return an add stock to avalanche transceiver.

To workaround it the filter is doing now stock greater than 50.

The real fix should be do a query to db to know which will be the first product with stock.
Execute the test CreditNoteAddRemoveTransaction in eclipse.

Later execute the test I35383_EnsureNumericSearchsContinueWorking_StockCriteria.

It will fail with :
The expected value for 'products_row1_identifier (testId = products_row1_identifier)' does not match the existing value.
Expected: "WVG/B0004 - Baby carrier"
     but: was "WVG/M0019 - Avalanche transceiver"
No tags attached.
related to defect 0035383 closed gorka_gil Magnifying glass in product search should be disabled in remote mode if no filter is applied 
Issue History
2017-06-19 17:44gorka_gilNew Issue
2017-06-19 17:44gorka_gilAssigned To => gorka_gil
2017-06-19 17:44gorka_gilTriggers an Emergency Pack => No
2017-06-19 18:30gorka_gilRelationship addedrelated to 0035485
2017-06-19 18:30gorka_gilRelationship deletedrelated to 0035485
2017-06-19 18:30gorka_gilRelationship addedrelated to 0035383
2017-06-19 18:30gorka_gilStatusnew => scheduled
2017-06-21 12:02hgbotCheckin
2017-06-21 12:02hgbotNote Added: 0097548
2017-06-21 12:02hgbotStatusscheduled => resolved
2017-06-21 12:02hgbotResolutionopen => fixed
2017-06-21 12:02hgbotFixed in SCM revision => http://code.openbravo.com/tools/automation/pi-mobile/rev/2bfec6980b4687889473097ebd63a93181fb66af [^]
2017-06-21 17:50SandrahuguetReview Assigned To => Sandrahuguet
2017-06-26 15:50SandrahuguetStatusresolved => new
2017-06-26 15:50SandrahuguetResolutionfixed => open
2017-06-26 15:59SandrahuguetNote Added: 0097671
2017-06-27 10:52hgbotCheckin
2017-06-27 10:52hgbotNote Added: 0097702
2017-06-27 10:52hgbotStatusnew => resolved
2017-06-27 10:52hgbotResolutionopen => fixed
2017-06-27 10:52hgbotFixed in SCM revisionhttp://code.openbravo.com/tools/automation/pi-mobile/rev/2bfec6980b4687889473097ebd63a93181fb66af [^] => http://code.openbravo.com/tools/automation/pi-mobile/rev/6eae4449e7675ee169b2584a47370f577b96d1f2 [^]
2017-06-27 17:28SandrahuguetNote Added: 0097714
2017-06-27 17:28SandrahuguetStatusresolved => closed
2017-06-27 17:28SandrahuguetFixed in Version => RR17Q3

Notes
(0097548)
hgbot   
2017-06-21 12:02   
Repository: tools/automation/pi-mobile
Changeset: 2bfec6980b4687889473097ebd63a93181fb66af
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Jun 20 13:26:19 2017 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/2bfec6980b4687889473097ebd63a93181fb66af [^]

Fixes issue 36276: Improve I35383_EnsureNumericSearchsContinueWorking_StockCriteria test

Now it will just check that the search returns values.
In case that the restriction of 3 characters is applied the search will return no elements

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/stockcriteria_highvol/I35383_EnsureNumericSearchsContinueWorking_StockCriteria.java
---
(0097671)
Sandrahuguet   
2017-06-26 15:59   
code review pending to be applied
(0097702)
hgbot   
2017-06-27 10:52   
Repository: tools/automation/pi-mobile
Changeset: 6eae4449e7675ee169b2584a47370f577b96d1f2
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Thu Jun 22 09:43:43 2017 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/6eae4449e7675ee169b2584a47370f577b96d1f2 [^]

Fixes issue 36276: Improve I35383_EnsureNumericSearchsContinueWorking_StockCriteria test

Improve the tests, ensuring one product at least has stock

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/stockcriteria_highvol/I35383_EnsureNumericSearchsContinueWorking_StockCriteria.java
---
(0097714)
Sandrahuguet   
2017-06-27 17:28   
reviewed and tested