Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0038985 | Retail Modules | Tests Stabilization | public | 2018-07-18 16:38 | 2018-07-19 10:39 |
Reporter | jorge-garcia | ||||
Assigned To | jorge-garcia | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | scheduled | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
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. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | SelectPrinterTests.NoPrintersConfigured.png (43,711) 2018-07-18 16:38 https://issues.openbravo.com/file_download.php?file_id=11974&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-07-18 16:38 | jorge-garcia | New Issue | |||
2018-07-18 16:38 | jorge-garcia | Assigned To | => jorge-garcia | ||
2018-07-18 16:38 | jorge-garcia | File Added: SelectPrinterTests.NoPrintersConfigured.png | |||
2018-07-18 16:38 | jorge-garcia | Triggers an Emergency Pack | => No | ||
2018-07-19 10:39 | jorge-garcia | Status | new => scheduled |
There are no notes attached to this issue. |