janpio commented on issue #105: Build is failing
URL: 
https://github.com/apache/cordova-plugin-media-capture/issues/105#issuecomment-423688455
 
 
   Ok, recap time:
   - Some time in the past the tests stopped working although the environment 
did not change.
   - When Sauce executes a command (probably to maximize the browser window, 
but I couldn't find out if we trigger that or if this is an automatic thing) an 
exception is triggered:
   ```
   10:12:56.965 INFO - Executing: [execute script: return screen.width, []])
   10:12:57.153 INFO - Done: [execute script: return screen.width, []]
   10:12:57.163 INFO - Executing: [execute script: return screen.height, []])
   10:12:57.170 INFO - Done: [execute script: return screen.height, []]
   10:12:57.177 INFO - Executing: [set window position])
   10:12:57.204 WARN - Exception thrown
   org.openqa.selenium.NoSuchWindowException: A request to use a window could 
not be satisfied because the window could not be found. (WARNING: The server 
did not provide any stacktrace information)
   ...
   ```
   - This probably has as a follow up problem that 
[`window._jasmineParamedicProxyCache` does not contain the array the script 
expects](https://github.com/apache/cordova-paramedic/blob/31155dfd9287e9c53b034bc00dba4473f7c9bf5c/lib/appium/helpers/wdHelper.js#L234-L255),
 which sends it into a loop that fails at the end (spamming the error message 
`appium: Error: Cannot get the event cache: it doesn't exist in the app. Got 
this instead: null`)
   - No idea what is causing this.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to