cordova-paramedic.git
4 days agoupdate DEFAULT_SAUCE_APPIUM_VERSION to 1.6.3 master
Jan Piotrowski [Tue, 11 Dec 2018 18:23:42 +0000 (19:23 +0100)] 
update DEFAULT_SAUCE_APPIUM_VERSION to 1.6.3
https://wiki.saucelabs.com/display/DOCS/2018/12/03/Announcing+end+of+life+for+Appium+versions+1.6.2+and+below+on+Emulators+and+Simulators

7 days agoImprove README (#77)
Jan Piotrowski [Sat, 8 Dec 2018 19:17:56 +0000 (20:17 +0100)] 
Improve README (#77)

- Greatly improved introduction
- Added "What does it do?" that explains all the individual things it does
- Resorted and grouped the CLI parameters
- Added some common use cases
- Added Table of Contents

9 days agoUpdated ParamedicKill.js to support qemu-system-x86_64 (#90)
Andreas Rehn [Thu, 6 Dec 2018 14:40:21 +0000 (15:40 +0100)] 
Updated ParamedicKill.js to support qemu-system-x86_64 (#90)

### Platforms affected
Android

### What does this PR do?
Kills 64bit emulator on Mojave

### What testing has been done on this change?
OSX Mojave, Emulator 28.0.16,  system-images;android-28;google_apis;x86

### Checklist
- [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database
- [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
- [ ] Added automated test coverage as appropriate for this change.

10 days ago[CI] Update Travis config: More local, Saucelabs (#81)
Jan Piotrowski [Wed, 5 Dec 2018 12:54:13 +0000 (13:54 +0100)] 
[CI] Update Travis config: More local, Saucelabs (#81)

This PR changes the Travis configuration to run paramedic with more platforms locally (added `browser`) and run on SauceLabs at all (`browser`, `ios` and `android`).

Follow up to even further improve is tracked in #82

closes #36

10 days agoRevert "update package-lock"
Jan Piotrowski [Tue, 4 Dec 2018 23:57:34 +0000 (00:57 +0100)] 
Revert "update package-lock"

This reverts commit df7cf4025f910d6b9b00bd56280384347ee913ab.

10 days agoRevert "Fix some npm audit issues (upgrade dependencies) (#40)"
Jan Piotrowski [Tue, 4 Dec 2018 23:55:30 +0000 (00:55 +0100)] 
Revert "Fix some npm audit issues (upgrade dependencies) (#40)"

This reverts commit 3efce857da410df836a17e3f624e4ba63ec09401.

10 days agoupdate package-lock
Jan Piotrowski [Tue, 4 Dec 2018 22:00:31 +0000 (23:00 +0100)] 
update package-lock

10 days agoFix some npm audit issues (upgrade dependencies) (#40)
Niklas Merz [Tue, 4 Dec 2018 21:57:03 +0000 (22:57 +0100)] 
Fix some npm audit issues (upgrade dependencies) (#40)

* Fix some security issues

* Remove package lock

10 days agoFix exec usage (#83)
Jan Piotrowski [Tue, 4 Dec 2018 21:54:21 +0000 (22:54 +0100)] 
Fix exec usage (#83)

* fix exec usage

* improve log message

* fix and improve command output

11 days agoImprove code and traceability (#78)
Jan Piotrowski [Tue, 4 Dec 2018 13:56:44 +0000 (14:56 +0100)] 
Improve code and traceability (#78)

- Mark as `0.6.0-dev`, update author, fix licence
- All executed commands are output (to make it easier to follow what is going on or debug problems)
- Some additional comments
- Some additional console output
- Multiple tiny fixes to output

3 weeks agotest browser on appveyor (#65)
Jan Piotrowski [Sat, 24 Nov 2018 20:56:38 +0000 (21:56 +0100)] 
test browser on appveyor (#65)

AppVeyor: Test browser instead of Windows

3 weeks ago[CB-12210] require a string when parsing the plugin argument. (#19)
Fil Maj [Sat, 24 Nov 2018 17:17:00 +0000 (11:17 -0600)] 
[CB-12210] require a string when parsing the plugin argument. (#19)

2 months agoRemove wp8 ref
Jesse MacFadyen [Thu, 11 Oct 2018 08:03:49 +0000 (01:03 -0700)] 
Remove wp8 ref

2 months agoremove wp8 ref
Jesse MacFadyen [Thu, 11 Oct 2018 08:01:57 +0000 (01:01 -0700)] 
remove wp8 ref

2 months agoMerge pull request #35 from apache/janpio-replace_wp8_with_browser
Jesse MacFadyen [Thu, 11 Oct 2018 07:58:37 +0000 (00:58 -0700)] 
Merge pull request #35 from apache/janpio-replace_wp8_with_browser

Remove npm script for wp8, add for browser

2 months agoFix inappbrowser on Android 7 (#50)
Jan Piotrowski [Tue, 2 Oct 2018 19:27:34 +0000 (21:27 +0200)] 
Fix inappbrowser on Android 7 (#50)

Android 7.0 tests were failing for `cordova-plugin-inappbrowser`: https://github.com/apache/cordova-plugin-inappbrowser/issues/307 Long research showed that this had to do with the permission buster hanging.

Lo and behold, here we have code for not make a plugin hang on Android 7.
Let's add the inappbrowser plugin to this check and see if this fixes things.

Closes https://github.com/apache/cordova-plugin-inappbrowser/issues/307

2 months agoSupport physical Android devices (#24)
johanlantz [Tue, 2 Oct 2018 18:56:25 +0000 (20:56 +0200)] 
Support physical Android devices (#24)

With this minor change I could run on a physical device by passing the device id with the --target parameter.

2 months agoAdd package.json files to plugins and plugin tests (#34)
Jan Piotrowski [Mon, 1 Oct 2018 19:49:44 +0000 (21:49 +0200)] 
Add package.json files to plugins and plugin tests (#34)

This PR adds the most rudimentary package.json possible for plugins and plugin tests.

fixes #31

2 months agodecrease to 9 min to work around 10min command limit on travis: https://docs.travis...
Jan Piotrowski [Mon, 1 Oct 2018 13:06:10 +0000 (15:06 +0200)] 
decrease to 9 min to work around 10min command limit on travis: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received

2 months agoincrease timeout to 10min
Jan Piotrowski [Mon, 1 Oct 2018 12:26:49 +0000 (14:26 +0200)] 
increase timeout to 10min
+ clearer output in case this timeout isn't enough

2 months agonobody needs wp8 any more, but browser would be useful 35/head
Jan Piotrowski [Sun, 30 Sep 2018 19:28:40 +0000 (21:28 +0200)] 
nobody needs wp8 any more, but browser would be useful

2 months agomost rudimentary package.json for plugins and plugin tests possible 34/head
Jan Piotrowski [Sun, 30 Sep 2018 19:14:20 +0000 (21:14 +0200)] 
most rudimentary package.json for plugins and plugin tests possible

2 months agoFix jshint errors (#32)
Jan Piotrowski [Sun, 30 Sep 2018 19:03:39 +0000 (21:03 +0200)] 
Fix jshint errors (#32)

Run `npm t` showed a list of obvious jshint errors that were simple enough to fix:

```
lib\appium\AppiumRunner.js: line 85, col 14, Unnecessary semicolon.

lib\paramedic.js: line 126, col 13, Confusing use of '!'.
lib\paramedic.js: line 126, col 54, Confusing use of '!'.
lib\paramedic.js: line 332, col 13, Confusing use of '!'.
lib\paramedic.js: line 667, col 2, Missing semicolon.
lib\paramedic.js: line 889, col 68, Missing semicolon.

lib\ParamedicConfig.js: line 140, col 2, Missing semicolon.
lib\ParamedicConfig.js: line 255, col 2, Missing semicolon.
lib\ParamedicConfig.js: line 263, col 2, Missing semicolon.
lib\ParamedicConfig.js: line 310, col 2, Missing semicolon.
lib\ParamedicConfig.js: line 314, col 2, Missing semicolon.
lib\ParamedicConfig.js: line 321, col 2, Missing semicolon.
lib\ParamedicConfig.js: line 325, col 2, Missing semicolon.

lib\PluginsManager.js: line 82, col 61, Missing semicolon.
```

Please double check that I didn't mess up the conversion of the "confusing ! usage".

2 months agoUpdate nodejs version for Travis to 6.2 (#16)
Jesse MacFadyen [Sun, 30 Sep 2018 18:03:41 +0000 (11:03 -0700)] 
Update nodejs version for Travis to 6.2 (#16)

2 months agoSwitch to Safari 11.1
Jan Piotrowski [Sat, 29 Sep 2018 21:46:03 +0000 (23:46 +0200)] 
Switch to Safari 11.1

2 months agoRun Safari tests on macOS High Sierra (10.13)
Jan Piotrowski [Sat, 29 Sep 2018 21:10:03 +0000 (23:10 +0200)] 
Run Safari tests on macOS High Sierra (10.13)

2 months agofix typo
Jan Piotrowski [Fri, 21 Sep 2018 21:21:35 +0000 (23:21 +0200)] 
fix typo

10 months agoProperly handle failed build
Alexander Sorokin [Fri, 26 Jan 2018 11:47:21 +0000 (14:47 +0300)] 
Properly handle failed build

11 months agoFixed Android apk not being found (for reals this time)
Alexander Sorokin [Tue, 9 Jan 2018 09:50:29 +0000 (12:50 +0300)] 
Fixed Android apk not being found (for reals this time)

11 months agoUpdated Android apk path
Alexander Sorokin [Tue, 9 Jan 2018 07:06:49 +0000 (10:06 +0300)] 
Updated Android apk path

11 months agoImprove README
Jan Piotrowski [Thu, 16 Nov 2017 14:43:33 +0000 (15:43 +0100)] 
Improve README

fix headlines
restructure intro
add link to workshop with explanation what it does

12 months agoBump Safari version on Sauce
Alexander Sorokin [Thu, 16 Nov 2017 08:24:06 +0000 (11:24 +0300)] 
Bump Safari version on Sauce

13 months agoRemoved unnecessary 'cordova-plugin-device' from the list of additionally installed...
Alexander Sorokin [Fri, 20 Oct 2017 11:44:14 +0000 (14:44 +0300)] 
Removed unnecessary 'cordova-plugin-device' from the list of additionally installed plugins

15 months agoDisable browser pop-up for newer version of cordova-browser
Alexander Sorokin [Wed, 30 Aug 2017 10:02:43 +0000 (13:02 +0300)] 
Disable browser pop-up for newer version of cordova-browser

16 months agoAdded periodic configs for browser
Alexander Sorokin [Tue, 1 Aug 2017 08:15:18 +0000 (11:15 +0300)] 
Added periodic configs for browser

16 months agoStop using --nofetch (no more need)
Alexander Sorokin [Tue, 1 Aug 2017 07:54:11 +0000 (10:54 +0300)] 
Stop using --nofetch (no more need)

16 months agoCB-13028 Don't always use Sauce Connect, also try to work around "Bad Gateway" error
Alexander Sorokin [Tue, 25 Jul 2017 10:58:40 +0000 (13:58 +0300)] 
CB-13028 Don't always use Sauce Connect, also try to work around "Bad Gateway" error

16 months agoCB-13028 Pick up tunnel id from env.var
Alexander Sorokin [Tue, 25 Jul 2017 08:33:29 +0000 (11:33 +0300)] 
CB-13028 Pick up tunnel id from env.var

16 months agoCB-13028 Automatically start up a Sauce Connect tunnel when testing browser
Alexander Sorokin [Tue, 25 Jul 2017 08:20:42 +0000 (11:20 +0300)] 
CB-13028 Automatically start up a Sauce Connect tunnel when testing browser

16 months agoCB-13028 Fix local browser test run
Alexander Sorokin [Fri, 21 Jul 2017 11:41:01 +0000 (14:41 +0300)] 
CB-13028 Fix local browser test run

16 months agoCB-13028 Run tests for browser platform on Sauce
Alexander Sorokin [Fri, 21 Jul 2017 11:05:42 +0000 (14:05 +0300)] 
CB-13028 Run tests for browser platform on Sauce

16 months agoCB-13028 Fix typo
Alexander Sorokin [Tue, 18 Jul 2017 10:13:40 +0000 (13:13 +0300)] 
CB-13028 Fix typo

16 months agoCB-13028 Now can test in browser! (only locally ATM)
Alexander Sorokin [Mon, 17 Jul 2017 11:41:07 +0000 (14:41 +0300)] 
CB-13028 Now can test in browser! (only locally ATM)

17 months agoBetter default Sauce Labs job name
Alexander Sorokin [Fri, 7 Jul 2017 09:23:57 +0000 (12:23 +0300)] 
Better default Sauce Labs job name

17 months agoCB-12982 Increase the WebDriver timeout and spam dots when trying to launch Appium...
Alexander Sorokin [Mon, 3 Jul 2017 13:57:58 +0000 (16:57 +0300)] 
CB-12982 Increase the WebDriver timeout and spam dots when trying to launch Appium tests

17 months agoSpam dots when connecting webdriver to avoid 'no output' termination
Alexander Sorokin [Mon, 3 Jul 2017 11:26:08 +0000 (14:26 +0300)] 
Spam dots when connecting webdriver to avoid 'no output' termination

17 months agoCB-12935 Use the same environment variable as Travis does to identify Sauce User
Alexander Sorokin [Thu, 22 Jun 2017 09:52:39 +0000 (12:52 +0300)] 
CB-12935 Use the same environment variable as Travis does to identify Sauce User

18 months agoActually fix the bug instead of shady blacklisting workarounds
Alexander Sorokin [Thu, 1 Jun 2017 06:35:18 +0000 (09:35 +0300)] 
Actually fix the bug instead of shady blacklisting workarounds

18 months agoFixed a windows handle error for long runs
Alexander Sorokin [Wed, 31 May 2017 05:58:22 +0000 (08:58 +0300)] 
Fixed a windows handle error for long runs

18 months agoFixed inappbrowser runs on Android 7
Alexander Sorokin [Tue, 30 May 2017 08:55:17 +0000 (11:55 +0300)] 
Fixed inappbrowser runs on Android 7

18 months agoSkip permission buster for splashscreen plugin
Alexander Sorokin [Fri, 26 May 2017 12:11:37 +0000 (15:11 +0300)] 
Skip permission buster for splashscreen plugin

18 months agoUpdated Sauce configs to include Appium version
Alexander Sorokin [Thu, 18 May 2017 10:34:15 +0000 (13:34 +0300)] 
Updated Sauce configs to include Appium version

18 months agoBetter parsing of --config arg
Alexander Sorokin [Thu, 18 May 2017 07:52:55 +0000 (10:52 +0300)] 
Better parsing of --config arg

18 months agoSearch for configs under 'conf' dir
Alexander Sorokin [Thu, 18 May 2017 07:18:48 +0000 (10:18 +0300)] 
Search for configs under 'conf' dir

19 months agoWhen running Appium tests locally and 4723 port is taken, don't try to install Appium...
Alexander Sorokin [Fri, 5 May 2017 12:48:33 +0000 (15:48 +0300)] 
When running Appium tests locally and 4723 port is taken, don't try to install Appium server

19 months agoAllow testing of wkwebview plugin
Alexander Sorokin [Wed, 3 May 2017 07:43:43 +0000 (10:43 +0300)] 
Allow testing of wkwebview plugin

19 months agoShow args when adding platform/plugin
Alexander Sorokin [Fri, 28 Apr 2017 11:30:40 +0000 (14:30 +0300)] 
Show args when adding platform/plugin

19 months agoAdded package.json to all the plugins
Alexander Sorokin [Fri, 21 Apr 2017 11:37:02 +0000 (14:37 +0300)] 
Added package.json to all the plugins

19 months agoAdd platforms with --nofetch
Alexander Sorokin [Tue, 25 Apr 2017 06:18:51 +0000 (09:18 +0300)] 
Add platforms with --nofetch

19 months agoAdd plugins with --nofetch
Alexander Sorokin [Fri, 21 Apr 2017 05:52:30 +0000 (08:52 +0300)] 
Add plugins with --nofetch

19 months agoFix for `waitForDeviceReady` function on Android 6 & 7
Alexander Sorokin [Mon, 17 Apr 2017 05:24:32 +0000 (08:24 +0300)] 
Fix for `waitForDeviceReady` function on Android 6 & 7

20 months agoAdded PR configs for Android 6 and 7
Alexander Sorokin [Thu, 13 Apr 2017 07:16:42 +0000 (10:16 +0300)] 
Added PR configs for Android 6 and 7

20 months agoPermission buster now handles Android 7.0 alerts
Alexander Sorokin [Thu, 13 Apr 2017 06:56:27 +0000 (09:56 +0300)] 
Permission buster now handles Android 7.0 alerts

20 months agoAdded periodic build configs for Android 6.0 and 7.0
Alexander Sorokin [Wed, 12 Apr 2017 13:54:19 +0000 (16:54 +0300)] 
Added periodic build configs for Android 6.0 and 7.0

20 months agoDon't poll for windowHandles on iOS
Alexander Sorokin [Mon, 10 Apr 2017 14:49:41 +0000 (17:49 +0300)] 
Don't poll for windowHandles on iOS

20 months agoFixed iOS polling
Alexander Sorokin [Mon, 10 Apr 2017 14:05:37 +0000 (17:05 +0300)] 
Fixed iOS polling

20 months agoUpdated wd dep, added Android permission buster
Alexander Sorokin [Fri, 7 Apr 2017 14:43:24 +0000 (17:43 +0300)] 
Updated wd dep, added Android permission buster

20 months agoCB-12629 Pass `--no-update-notifier` and `--no-telemetry` flags to each Cordova comma...
Alexander Sorokin [Mon, 3 Apr 2017 14:31:42 +0000 (17:31 +0300)] 
CB-12629 Pass `--no-update-notifier` and `--no-telemetry` flags to each Cordova command invoked

20 months agoDisable Gradle daemon on CI (take two)
Alexander Sorokin [Wed, 29 Mar 2017 12:14:10 +0000 (15:14 +0300)] 
Disable Gradle daemon on CI (take two)

20 months agoDisable Gradle daemon on CI
Alexander Sorokin [Tue, 28 Mar 2017 09:42:37 +0000 (12:42 +0300)] 
Disable Gradle daemon on CI

21 months agoCB-11473: add a `--version` flag, which will just print the version from package...
filmaj [Fri, 16 Dec 2016 04:47:02 +0000 (20:47 -0800)] 
CB-11473: add a `--version` flag, which will just print the version from package.json and exit. Closes #20.

21 months agoIncreased http timeout for Appium tests
Alexander Sorokin [Thu, 16 Feb 2017 09:34:05 +0000 (12:34 +0300)] 
Increased http timeout for Appium tests

22 months agoDon't run test FT server if --ci is passed
Alexander Sorokin [Fri, 10 Feb 2017 11:22:01 +0000 (14:22 +0300)] 
Don't run test FT server if --ci is passed

22 months agoDon't retry connection, just take a random port from increased range
Alexander Sorokin [Thu, 9 Feb 2017 13:10:44 +0000 (16:10 +0300)] 
Don't retry connection, just take a random port from increased range

22 months agoRetry creating LocalServer if port got taken during initialization
Alexander Sorokin [Tue, 7 Feb 2017 15:35:31 +0000 (18:35 +0300)] 
Retry creating LocalServer if port got taken during initialization

22 months agoFixed emulator name parsing on iOS
Alexander Sorokin [Mon, 30 Jan 2017 12:17:38 +0000 (15:17 +0300)] 
Fixed emulator name parsing on iOS

22 months agoAdded --cli argument
Alexander Sorokin [Thu, 26 Jan 2017 11:36:59 +0000 (14:36 +0300)] 
Added --cli argument

22 months agoCB-12393 Fixed --browserify argument configuration
Alexander Sorokin [Thu, 26 Jan 2017 07:27:27 +0000 (10:27 +0300)] 
CB-12393 Fixed --browserify argument configuration

22 months agoCB-12393 --browserify now affects Sauce runs too
Alexander Sorokin [Wed, 25 Jan 2017 15:38:15 +0000 (18:38 +0300)] 
CB-12393 --browserify now affects Sauce runs too

22 months agoAdded --fileTransferServer arg to specify a custom file transfer server address
Alexander Sorokin [Tue, 24 Jan 2017 10:16:04 +0000 (13:16 +0300)] 
Added --fileTransferServer arg to specify a custom file transfer server address

22 months agoCB-12357 Fixed inappbrowser plugin test polling on Android
Alexander Sorokin [Thu, 19 Jan 2017 12:44:45 +0000 (15:44 +0300)] 
CB-12357 Fixed inappbrowser plugin test polling on Android

22 months agoCB-12357 Only poll for events if previous poll is finished
Alexander Sorokin [Thu, 19 Jan 2017 12:07:24 +0000 (15:07 +0300)] 
CB-12357 Only poll for events if previous poll is finished

22 months agoCB-12357 Added alert buster
Alexander Sorokin [Tue, 17 Jan 2017 13:34:03 +0000 (16:34 +0300)] 
CB-12357 Added alert buster

23 months agoCB-12348 Added configs
Alexander Sorokin [Thu, 12 Jan 2017 08:50:41 +0000 (11:50 +0300)] 
CB-12348 Added configs

23 months agoCB-12303 Fixed premature process termination after running Appium tests
Alexander Sorokin [Thu, 29 Dec 2016 08:54:18 +0000 (11:54 +0300)] 
CB-12303 Fixed premature process termination after running Appium tests

2 years agoUse basename when searching for appium plugin tests within generated app directory...
filmaj [Mon, 12 Dec 2016 22:13:14 +0000 (14:13 -0800)] 
Use basename when searching for appium plugin tests within generated app directory, so that tests can be found if plugin is provided with either absolute or relative directories.

2 years agoCB-12209 Properly handle app uninstall timeout
Alexander Sorokin [Mon, 5 Dec 2016 10:52:18 +0000 (13:52 +0300)] 
CB-12209 Properly handle app uninstall timeout

2 years agoCB-12209 Async app uninstall
Alexander Sorokin [Fri, 2 Dec 2016 10:30:53 +0000 (13:30 +0300)] 
CB-12209 Async app uninstall

2 years agoCB-12066 Async platform add and requirements check
Alexander Sorokin [Tue, 25 Oct 2016 15:45:41 +0000 (18:45 +0300)] 
CB-12066 Async platform add and requirements check

2 years agoCB-12006 Add OSX support for paramedic
Tobias Bocanegra [Thu, 13 Oct 2016 02:46:31 +0000 (11:46 +0900)] 
CB-12006 Add OSX support for paramedic

- updated readme

2 years agoAdd github pull request template
Shazron Abdullah [Wed, 5 Oct 2016 05:18:56 +0000 (22:18 -0700)] 
Add github pull request template

2 years agoCB-11926 Pass the file transfer server address to the tests via variable 17/head
Alexander Sorokin [Mon, 3 Oct 2016 16:37:16 +0000 (19:37 +0300)] 
CB-11926 Pass the file transfer server address to the tests via variable

2 years agoYou can now specify a target to run tests on
Alexander Sorokin [Fri, 30 Sep 2016 16:14:52 +0000 (19:14 +0300)] 
You can now specify a target to run tests on

2 years agoA quick fix for running tests locally
Alexander Sorokin [Thu, 29 Sep 2016 17:36:05 +0000 (20:36 +0300)] 
A quick fix for running tests locally

2 years agoBetter file transfer server clean up
Alexander Sorokin [Thu, 29 Sep 2016 16:00:44 +0000 (19:00 +0300)] 
Better file transfer server clean up

2 years agoCB-11926 Start a server for file-transfer tests locally
Alexander Sorokin [Wed, 28 Sep 2016 14:54:22 +0000 (17:54 +0300)] 
CB-11926 Start a server for file-transfer tests locally

2 years agoRun Appium tests only for plugins under test
Alexander Sorokin [Thu, 29 Sep 2016 12:15:30 +0000 (15:15 +0300)] 
Run Appium tests only for plugins under test

2 years agoIntroduced --ci arg
Alexander Sorokin [Fri, 23 Sep 2016 10:29:09 +0000 (13:29 +0300)] 
Introduced --ci arg

2 years agoAdded a plugin to let tests know that they are running in CI env
Alexander Sorokin [Thu, 22 Sep 2016 16:32:02 +0000 (19:32 +0300)] 
Added a plugin to let tests know that they are running in CI env

2 years agoInject global PARAMEDIC flag to the app
Alexander Sorokin [Thu, 22 Sep 2016 14:30:33 +0000 (17:30 +0300)] 
Inject global PARAMEDIC flag to the app