Currently, if you add `cordova-plugin-wkwebview-engine` as a plugin dependency 
to the `tests/plugin.xml` of a plugin then run the tests against the iOS 
platform using `cordova-paramedic`, they will fail because the local server 
times out waiting for a connection, despite the tests actually passing in the 
Simulator.

As highlighted in [my 
comment](https://github.com/apache/cordova-plugin-inappbrowser/pull/271#issuecomment-427492841),
 this is causing the Travis CI tests to fail for my PR to add WKWebView support 
to `cordova-plugin-inappbrowser`.

With UIWebView being deprecated in iOS 12 and the intention to add implicit 
WKWebView support to `cordova-ios@5`, there is a need to resolve this issue 
other than to unblock my PR.

<details>
<summary>Travis CI console output</summary>

```

cordova-paramedic: connecting webdriver
.........................................................................................
cordova-paramedic: connecting to app
cordova-paramedic: waiting for test results
cordova-paramedic: Tests failed to complete; ending appium session. The error 
is:
Error: waitForTests: Seems like device not connected to local server in 540 secs
    at null._onTimeout (/private/tmp/paramedic/lib/paramedic.js:467:24)
    at Timer.listOnTimeout (timers.js:92:15)
Running Appium tests on Sauce Labs
Couldn't find Appium tests, skipping...
Completed tests at 3:26:19 PM
Getting saucelabs jobs details...
============================================================================================
Job name: travis-plugin-inappbrowser-528.5
Job ID: 9e9fe12e7103401daeb12a776de27920
Job URL: https://saucelabs.com/beta/tests/9e9fe12e7103401daeb12a776de27920
Video: 
https://assets.saucelabs.com/jobs/9e9fe12e7103401daeb12a776de27920/video.flv
Appium logs: 
https://assets.saucelabs.com/jobs/9e9fe12e7103401daeb12a776de27920/selenium-server.log
============================================================================================
============================================================================================
Job name: travis-plugin-inappbrowser-528.5
Job ID: c55b39dde835418284afaa722caac636
Job URL: https://saucelabs.com/beta/tests/c55b39dde835418284afaa722caac636
Video: 
https://assets.saucelabs.com/jobs/c55b39dde835418284afaa722caac636/video.flv
Appium logs: 
https://assets.saucelabs.com/jobs/c55b39dde835418284afaa722caac636/selenium-server.log
============================================================================================
local-server: killing local file transfer server if it's up...
cordova-paramedic: Deleting the application: 
/var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/tmp-2328OlO9Er6tnA8D
/Users/travis/build/apache/cordova-plugin-inappbrowser
Finished with exit code 1
The command "node /tmp/paramedic/main.js --config pr/$PLATFORM --plugin $(pwd) 
--shouldUseSauce --buildName travis-plugin-inappbrowser-$TRAVIS_JOB_NUMBER" 
exited with 1.
Done. Your build exited with 1.

```

</details>

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

Reply via email to