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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038985
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Tests Stabilizationmajorhave not tried2018-07-18 16:382018-07-19 10:39
Reporterjorge-garciaView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix 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

0038985: SelectPrinterTests.java is failing in retail-qa

DescriptionError 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 ReproduceExecute the test several times.
Proposed SolutionThe 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.
TagsNo tags attached.
Attached Filespng file icon SelectPrinterTests.NoPrintersConfigured.png [^] (43,711 bytes) 2018-07-18 16:38

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker