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.

[ Full content available at: 
https://github.com/apache/cordova-plugin-media-capture/issues/105 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to