Commit Graph
8446 Commits
Author SHA1 Message Date
Renovate Bot fc23e07348 chore(fake-driver): update dependency xmldom to ^0.6 2021-08-13 10:36:26 +00:00
Renovate Bot b2233e84a1 chore(fake-driver): update dependency asyncbox to ^2.8.0 2021-08-13 10:08:04 +00:00
Renovate Bot d8d799a19c chore(eslint-config-appium): update dependency eslint-plugin-promise to ^5.1.0 2021-08-13 08:43:48 +00:00
Renovate Bot c3d328cb81 chore(eslint-config-appium): update dependency eslint-plugin-import to ^2.24.0 2021-08-13 05:16:49 +00:00
Renovate Bot 7f57f4ec45 chore(doctor): update dependency inquirer to ^8.1.2 2021-08-13 04:00:48 +00:00
Renovate Bot 5ed2e36b47 chore(doctor): update dependency colors to ^1.4.0 2021-08-13 02:28:57 +00:00
Renovate Bot ab2245dcfb chore(doctor): update dependency authorize-ios to ^1.2.1 2021-08-13 02:01:05 +00:00
Renovate Bot 94bcad8570 chore(doctor): update dependency appium-adb to ^8.13.2 2021-08-13 00:29:18 +00:00
Renovate Bot a6f45e5529 chore(base-driver): update dependency ws to ^7.5.3 2021-08-12 23:23:26 +00:00
Renovate Bot 59222ca0d3 chore(base-driver): update dependency webdriverio to ^6.12.1 2021-08-12 21:58:57 +00:00
Renovate Bot 6b9c778d35 chore(base-driver): update dependency serve-favicon to ^2.5.0 2021-08-12 21:07:23 +00:00
Renovate Bot 8cb6df6952 chore(base-driver): update dependency morgan to ^1.10.0 2021-08-12 19:58:08 +00:00
Renovate Bot 26bcc8db70 chore(base-driver): update dependency express to ^4.17.1 2021-08-12 18:17:05 +00:00
Renovate Bot b81d43978a chore(base-driver): update dependency body-parser to ^1.19.0 2021-08-12 16:49:09 +00:00
Renovate Bot 7095d9e7e6 chore(base-driver): update dependency async-lock to ^1.3.0 2021-08-12 15:24:28 +00:00
Renovate Bot d414b6e8ed chore(appium): update dependency yaml to ^1.10.2 2021-08-12 14:44:10 +00:00
Renovate Bot 5a09fdf722 chore(appium): update dependency ora to ^5.4.1 2021-08-12 13:27:55 +00:00
Renovate Bot bdc9bcbd02 chore(): update dependency lint-staged to ^11.1.2 2021-08-12 12:50:36 +00:00
Renovate Bot f59e79d649 chore(support): update dependency plist to ^3.0.3 2021-08-12 11:34:38 +00:00
Renovate Bot 589d776ab1 chore(): update dependency mjpeg-server to ^0.3.1 2021-08-12 08:25:08 +00:00
Renovate Bot 07787168a7 chore(appium): update dependency @appium/base-plugin to ^1.7.0 2021-08-12 05:22:29 +00:00
Jonathan Lipps 4839419748 fix(appium): when updating extensions, make sure to actually remove the previous one first to avoid npm reinstall issues 2021-08-11 20:05:13 -07:00
Jonathan Lipps 756688bddb fix(appium): when updating extensions, package fields should also be updated in extensions.yaml 2021-08-11 20:05:13 -07:00
Renovate Bot 55a5f6eac5 chore(): update dependency serve-static to ^1.14.1 2021-08-12 01:27:51 +00:00
Renovate Bot 40208145c9 chore(): update dependency handlebars to ^4.7.7 2021-08-11 23:35:31 +00:00
Renovate Bot 4eae53f1b8 chore(): update dependency appium-base-driver to ^7.9.0 2021-08-11 23:06:44 +00:00
Renovate Bot ceb70e1950 chore(test-support): update dependency lodash to ^4.17.21 2021-08-11 21:57:56 +00:00
Renovate Bot 314c597e24 chore(support): update dependency rimraf to ^3.0.2 2021-08-11 20:12:45 +00:00
Christopher Hiller 2ad262b775 chore: unify package root detection & package.json reading
This replaces all of the ad-hoc ways to find the closest `package.json` file (usually for reading the `version` field) with utility functions in the `fs` module of `@appium/support`.

- add `fs.findRoot(<dir>)` - Finds the closest parent directory from `dir` containing a `package.json`
- add `fs.readPackageJsonFrom(<dir>)` - Like above, except reads and returns the parsed contents of `package.json`
- Remove `find-root` dep from `appium` and add it to `@appium/support` instead
- Leverage these functions where needed
- Remove unnecessary `pkgRoot` export in `@appium/doctor`
- `fs-specs.js`: fix some tests which make assumptions about CWD; remove a low-value test
2021-08-10 11:52:57 -07:00
Christopher Hiller 6c769a2b7c chore: housecleaning
Just a bunch of random (mostly path-related) fixes.

## Monorepo

- Make `npm run clean` work cross-platform
- Sort root `package.json`
- Update Babel configs to suppress warning about `@babel/plugin-proposal-private-property-in-object`
- Add `.nyc_output` and `*.lerna_backup` to `.gitignore`
- Replace references to `appium-support`
- Sync `package.json` fields
- Add a [Wallaby](https://wallabyjs.com) configuration file

## appium

- `lib/config`: `package.json` resolution
- split some tests out of `config-specs.js` and into `config-e2e-specs.js` since they are very clearly not unit tests
- Improve `PROJECT_ROOT` resolution, which is still a hack
- Copy fixtures & fix paths to fixtures in tests

## @appium/base-driver

- `lib/basedriver/driver`: `package.json` resolution
- Fix broken tests when run in isolation (`chai.should()`)

## @appium/doctor

- `lib/doctor`: `package.json` resolution
- `lib/utils`: `package.json` resolution & exposed `resetLog()` which undoes what `configureBinaryLog()` does (for testing purposes)
- `utils-specs.js`: clean up after `onLogMessage` test
- copy fixtures into `build` upon transpile
- Upgrade `@appium/gulp-plugins`

## @appium/gulp-plugins

- Ensure `postTranspile` is run when `transpile` is run before tests
- Fix `.babelrc` like `babel.config.json`

## @appium/support

- Fixture resolution
- Fix broken tests when run in isolation (`chai-as-promised`)
- Copy fixtures when transpiling
2021-08-10 11:52:57 -07:00
Christopher Hiller 25cc27d161 feat(base-driver): prefer system unzip
Backport of https://github.com/appium/appium-base-driver/pull/503 to the `2.0` branch of `appium/appium`
2021-07-22 11:04:10 -07:00
Christopher Hiller 2955c172b1 feat(support): extractAllTo(): prefer system unzip
This is a straight-ahead backport of https://github.com/appium/appium-support/commit/873351aacc0402bcb229bad928abd1ad2f9c4a4b to the `2.0` branch of `appium/appium`.

Ref: https://github.com/appium/appium-support/pull/226
2021-07-22 11:03:36 -07:00
Ayan Khan d3c11e364d feat(appium): Add driver and plugin server arg injection feature (#15388)
* feat: add ability for drivers and plugins to recieve cli args

* chore: fix typo

* fix: make changes based on feedback

* feat: remove driver-specific server args from appium

* fix: resolve merge conflict

* fix: make changes based on feedback

* feat: add support for driver cli args in base driver

* feat: add support for testing driver args in fake-driver

* refactor: remove support for -custom locator strategy(should be handled by plugins instead)

* fix: makes changes based on feedback

* fix: remove outdated/unused args

* fix: fix docs

* fix: make changes based on feedback

* fix: make changes based on feedback

* fix: make changes based on feedback

* fix: make changes based on feedback

* fix: make tests pass

* test: tests are passing locally but not in CI, try something different to get them to pass

* test: try uninstalling fake-driver and reinstalling fake driver from packages

* fix: revert driver-e2e-specs.js and update node.js.yml

* fix: update package.json

* fix: add special case to npm

* fix: add todo

* fix: how relative paths are resolved in linkPackage
2021-07-15 13:41:50 -07:00
Ayan Khan a2654762b6 feat: add "run" command to the client interface in order to allow running driver-defined scripts (#15356)
* feat: add "run" command to the client interface inorder to allow the running of scripts against drivers

* feat: add "run" command to the client interface inorder to allow the running of scripts against drivers

* chore: make changes based on feedback

* chore: make more changes based on feedback

* chore: make changes based on feedback, added e2e test for plugin scripts. Need https://github.com/appium/appium-plugins/pull/7 to be merged before the e2e tests will work.

* fix: make changes based on feedback

* fix: fix cli-e2e-specs to work with monorepo

* fix: make changes based on feedback

* fix: make changes based on feedback

* fix: make changes based on feedback

* fix: make changes based on feedback

* fix: make changes based on feedback

* test: log error

* test: add logging to install

* fix: readd clear() line

* test: add logging

* test: change up the order of cli e2e tests, maybe the tests will pass in CI now?

* test: try creating and clearing appium home between test sets

* test: try unlinking fake-driver before each test set

* test: shift aroud test sets

* test: try something new

* fix: runner to use process.execPath instead of node

* fix: remove a test

* fix: readd test

* fix: tests

* test: log test error

* fix: logging

* fix: test logging

* test: add aditional logging

* fix: log

* test: try npm cache verifying

* fix: add '--no-package-lock' to link command and refactor test

* fix: remove logs

* fix: make changes based on feedback
2021-07-15 09:33:28 -07:00
Christopher Hiller c20a13ea95 fix(doctor): update reference to @appium/idb README 2021-07-03 17:35:36 -07:00
Christopher Hiller de428c60c8 chore: add node.js v16 to build matrix
- run `generate_docs` build with default Node.js
- multiline yaml
2021-06-30 10:01:58 -07:00
Kazuaki Matsuo 77bf18def6 docs: update docs in get log types and get clipboard (#15583)
* docs: improve get-log-types

* docs: add description in get clipboard for ios

* copy in to md
2021-06-28 13:35:55 +09:00
youngfree fbe864f746 docs(appium): doc/cn drivers doc for appium 2.0 (#15568) 2021-06-24 08:55:33 -07:00
renovate[bot]andRenovate Bot 9b9f7e9acf chore(gulp-plugins): update dependency globby to ^11.0.4 (#15518)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 15:19:57 -07:00
renovate[bot]andRenovate Bot 023ec51a0c chore(gulp-plugins): update dependency vinyl-paths to ^3.0.1 (#15520)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 15:19:39 -07:00
renovate[bot]andRenovate Bot e512c87109 chore(support): update dependency get-stream to ^6.0.1 (#15524)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 15:19:25 -07:00
renovate[bot]andRenovate Bot eff94987da chore(support): update dependency mkdirp to ^1.0.4 (#15529)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 15:19:11 -07:00
renovate[bot]andRenovate Bot 256c2ad200 chore(gulp-plugins): update dependency mocha to v9.0.1 (#15530)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 15:18:57 -07:00
renovate[bot]andRenovate Bot 04d11619cb chore(support): update dependency plist to ^3.0.2 (#15531)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 15:18:43 -07:00
renovate[bot]andRenovate Bot 38ebd45b51 chore(support): update dependency sanitize-filename to ^1.6.3 (#15533)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 15:18:17 -07:00
renovate[bot]andRenovate Bot 487bfd30c2 chore(support): update dependency which to ^2.0.2 (#15534)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 15:17:45 -07:00
renovate[bot]andRenovate Bot 17a2b8cad0 chore(test-support): update dependency source-map-support to v0.5.19 (#15538)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 15:16:05 -07:00
renovate[bot]andRenovate Bot 5db7517cee chore(): update dependency @appium/fake-plugin to ^1.2.0 (#15539)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 15:15:47 -07:00
Christopher Hiller b74612cae8 chore: remove unused wd (#15542) 2021-06-18 15:15:32 -07:00
renovate[bot]andRenovate Bot 88de3b3906 chore(support): update dependency jsftp to ^2.1.3 (#15528)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 15:15:06 -07:00