Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038283Retail ModulesTests Stabilizationpublic2018-04-05 16:572018-04-05 17:03
gorka_gil 
Retail 
normalminoralways
newopen 
5
 
 
No
0038283: I34280_VerifyLoginOffline review
1) In eclipse, if you open this test and run or debug it.

It don't start chrome, and gives this error:
org.openqa.selenium.WebDriverException: #### Selenium driver exception: Not ready when trying to execute a javascript ####

Looks like it fail to start chrome by itself but if executed after another test that left chrome started it works.


2) If you create a suite with these tests for example:
    I28793_CloseStoreBeforeOpenTill.class,
    I34280_VerifyLoginOffline.class,

   An execute the suite, you will notice that the test I34280_VerifyLoginOffline in this case runs, since don't need to start a new chrome.

   But after the login offline, and after close the "not enough stock" popup, appears a strange behavior:
  2.a) the translucent frame of the popup remains. The green part of the popup disappears, but the translucent frame that blocks the interaction with the pos remains there.
  2.b) although the frame that blocks the interface is there, selenium is able to click in the buttons and interact with the pos.
-
No tags attached.
Issue History
2018-04-05 16:57gorka_gilNew Issue
2018-04-05 16:57gorka_gilAssigned To => Retail
2018-04-05 16:57gorka_gilTriggers an Emergency Pack => No
2018-04-05 17:03hgbotCheckin
2018-04-05 17:03hgbotNote Added: 0103693

Notes
(0103693)
hgbot   
2018-04-05 17:03   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: cad3a2235f9a12964f089d2cf01ad0c78da0b4ba
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Thu Apr 05 17:02:41 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/cad3a2235f9a12964f089d2cf01ad0c78da0b4ba [^]

Related to issue 37388: Backed out changeset f564a4d0cdea

It breaks the test: I34280_VerifyLoginOffline

Note: created an issue 38283 to review strange things observed
in test I34280_VerifyLoginOffline that could be related

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---