Related to issue 38888: Failing SS Build
authorMartin Taal <martin.taal@openbravo.com>
Thu, 15 Nov 2018 23:50:24 +0100
changeset 7874 9747eff4ee26
parent 7873 0f682f0cdf5e
child 7875 ef0bf450cb0d
Related to issue 38888: Failing SS Build
Added extra wait after scrim is shown
src-test/org/openbravo/test/mobile/retail/multiserver/selenium/terminals/WebPOSCentralOfflineTerminalHelper.java
--- a/src-test/org/openbravo/test/mobile/retail/multiserver/selenium/terminals/WebPOSCentralOfflineTerminalHelper.java	Thu Nov 15 23:37:16 2018 +0100
+++ b/src-test/org/openbravo/test/mobile/retail/multiserver/selenium/terminals/WebPOSCentralOfflineTerminalHelper.java	Thu Nov 15 23:50:24 2018 +0100
@@ -102,6 +102,8 @@
       final String isHiddenScript = String.format(
           "document.getElementById('%s').style.display === 'none'", idDom);
       if (!(Boolean) SeleniumHelper.executeScriptWithReturn(isHiddenScript)) {
+        // give the scrim time to show/build
+        OBUtils.pause(1000);
         tap(dom);
         logIn();
       }