Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037065
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POStrivialhave not tried2017-10-13 14:572018-08-13 14:49
ReporterguilleaerView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037065: Test to verify attributes functionality are pending

DescriptionSome test to verify attributes functionality are pending to be developed


Stock validation module
-----------------------
-> Currently we don't have any test which verifies that without having any valid bin in the store marked as overissue (old allow negative stock) the stock validation module doesn't allow to sell the product

Stock Validation Module together with Use Attribute preference
--------------------------------------------------------------
-> Verify that error is shown if nothing is written in the input destinated to write attribute values

-> Using a product which expect 2 attributes (Balaclava) write just one value. An error should be shown and the line shouldn't be added to the ticket

-> Using a product which expect expiration date attribute (Balaclava) write an incorrect string or use a wrong date format. An error should be shown and the line shouldn't be added to the ticket. then the ticket can be removed

-> Using a product which does not have at all inventory (not present in m_storage_detail) try to add it to the ticket. It should work. Then the ticket can be removed (this test assumes that at least there is one bin marked as overissue in the store)

-> Using a product which does not have stock but it is present in m_storage_detail with stock 0. Try to add it to the ticket. It should work. Then the ticket can be removed (this test assumes that the bin which is being pointed by m_storage_detail is marked as overissue)

-> Using a product which does not have stock but it is present in m_storage_detail with stock 0. Try to add it to the ticket. It should not allow to sell it. Then the ticket can be removed (this test assumes that the bin which is being pointed by m_storage_detail is NOT marked as overissue)

-> Basic test using a product (to be defined) which works with several attributes (apart from lot, serialNo, expdate). All of the attributes are marked as "instance attribute" and the value is mandatory.

-> Same as tested above using an attribute which is marked as list.
One test should try to give a value which is not in the list of possible values. In that case the product can't be added to the ticket

//Test for issue 37308

Add to sample data 2 different att set instance ID with the same description
For instance:
AttsetIntanceId: A Description: #0925_16-11-2019
AttsetIntanceId: B Description: #0925_16-11-2019
Add to the sample data stock (1000) for product "Balaclava" with AttSetIntanceId "B"
  -> new entry in m_storage_detail pointing to B
Sell product using the description (0925_16-11-2019)
Ensure that att set instance selected is the one which is related to a m_storage_detail with stock
Steps To ReproduceN/A
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0036966 closedguilleaer When entering the attribute value, the user shouldn't need to follow internal Openbravo format 
related to defect 0037308 closedguilleaer [Support For Attributes]: Attribute set instance without stock selected when there is stock with other instance and same value 

-  Notes
(0106260)
hgbot (developer)
2018-08-09 16:23

Repository: tools/automation/pi-mobile
Changeset: da7440124fc0f8d64823b316ab4c3cd073f1dc6e
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Wed Aug 01 13:12:23 2018 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/da7440124fc0f8d64823b316ab4c3cd073f1dc6e [^]

Related to issue 37065: added automated test

* Test case: verify that an error is thrown when the attribute is not fully defined

---
M src-test/org/openbravo/test/mobile/core/utils/AllowedErrorsHelper.java
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/stockvalidation/I37065E_VerifyProductAttributesAreFullyDefined.java
---
(0106324)
hgbot (developer)
2018-08-13 14:49

Repository: tools/automation/pi-mobile
Changeset: edeb8bfaa9a5d81437026294ff16f332d5422890
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Fri Aug 10 15:10:50 2018 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/edeb8bfaa9a5d81437026294ff16f332d5422890 [^]

Stabilization of test for issue 37065: added an entry in AllowedErrorsHelper class
for this test since an error is expected to happen.

---
M src-test/org/openbravo/test/mobile/core/utils/AllowedErrorsHelper.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/stockvalidation/I37065E_VerifyProductAttributesAreFullyDefined.java
---

- Issue History
Date Modified Username Field Change
2017-10-13 14:57 guilleaer New Issue
2017-10-13 14:57 guilleaer Assigned To => Retail
2017-10-13 14:57 guilleaer Triggers an Emergency Pack => No
2017-10-13 14:57 guilleaer Relationship added related to 0036966
2017-10-13 15:16 guilleaer Note Added: 0099912
2017-10-13 15:16 guilleaer Description Updated View Revisions
2017-10-13 15:16 guilleaer Note Deleted: 0099912
2017-11-29 17:09 guilleaer Relationship added related to 0037308
2017-11-29 17:15 guilleaer Description Updated View Revisions
2018-08-09 16:23 hgbot Checkin
2018-08-09 16:23 hgbot Note Added: 0106260
2018-08-13 14:49 hgbot Checkin
2018-08-13 14:49 hgbot Note Added: 0106324


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker