Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0038985 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Tests Stabilization | major | have not tried | 2018-07-18 16:38 | 2018-07-19 10:39 | |||||||
Reporter | jorge-garcia | View Status | public | |||||||||
Assigned To | jorge-garcia | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | scheduled | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0038985: SelectPrinterTests.java is failing in retail-qa | |||||||||||
Description | Error Message The login process did not finish (isLoggingIn has never became false) Stacktrace junit.framework.AssertionFailedError: The login process did not finish (isLoggingIn has never became false) at org.openbravo.test.mobile.retail.mobilecore.utils.RetailUtils$3.timeout(RetailUtils.java:151) at org.openbravo.test.mobile.core.utils.OBWait.<init>(OBWait.java:66) at org.openbravo.test.mobile.core.utils.OBWait.<init>(OBWait.java:35) at org.openbravo.test.mobile.retail.mobilecore.utils.RetailUtils$3.<init>(RetailUtils.java:139) at org.openbravo.test.mobile.retail.mobilecore.utils.RetailUtils.verifyThatTheLoginProcessHasEnded(RetailUtils.java:139) at org.openbravo.test.mobile.retail.mobilecore.selenium.terminals.MobileCoreTerminalHelper.logIn(MobileCoreTerminalHelper.java:406) at org.openbravo.test.mobile.retail.pack.selenium.terminals.WebPOSTerminalHelper.logIn(WebPOSTerminalHelper.java:273) at org.openbravo.test.mobile.retail.mobilecore.selenium.terminals.MobileCoreTerminalHelper.logIn(MobileCoreTerminalHelper.java:357) at org.openbravo.test.mobile.retail.pack.selenium.tests.selectingPrinter.SelectPrinterTests.NoPrintersConfigured(SelectPrinterTests.java:51) | |||||||||||
Steps To Reproduce | Execute the test several times. | |||||||||||
Proposed Solution | The problem could happen if the test or the user configures the Hardware URL from POS Terminal incorrectly, the login process could take more time than expected and fail the OBWait define for the login process in the tests. The solution is to decrease the timeout (from 20 seconds to 5 seconds) of the request for display and drawer as these kind of request are smaller than the rest of request done to the hardware manager. The rest of request done to the hardware manager keeps the old timeout. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | SelectPrinterTests.NoPrintersConfigured.png [^] (43,711 bytes) 2018-07-18 16:38
| |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Copyright © 2000 - 2009 MantisBT Group |