Commit Graph
120 Commits
Author SHA1 Message Date
Jonathan Lipps 47ae708945 Publish
- appium@2.0.0-beta.14
 - @appium/base-driver@8.0.1
 - @appium/doctor@1.16.2
 - @appium/fake-driver@3.0.1
 - @appium/gulp-plugins@5.5.2
 - @appium/support@2.54.1
 - @appium/test-support@1.3.5
2021-09-14 14:03:56 -07:00
Jonathan Lipps 2b170dddb6 chore(base-driver): try to fake out lerna 2021-09-14 14:01:47 -07:00
Jonathan Lipps 5d23a15035 chore(base-driver): bring lerna gitHead into line with errant publish 2021-09-14 13:57:44 -07:00
Renovate Bot 64be12ae7f chore(): update dependency mocha to v9.1.1 2021-09-14 10:40:02 -07:00
Renovate Bot 08284eacb7 chore(support): update dependency npmlog to v5 2021-09-14 10:34:53 -07:00
Renovate Bot 7cb49d59ef chore(appium): pin dependencies 2021-09-14 09:33:34 -07:00
Jonathan Lipps 44471cd1c1 chore(base-driver): no need for basedriver to be in beta since it has a new package name 2021-09-10 10:49:52 -07:00
Jonathan Lipps 8981853e2e refactor(appium): reduce duplication in cli arg setting
chore(appium): add docstrings to cli arg related methods
2021-09-10 10:35:56 -07:00
Jonathan LippsandAyan Khan c8f12d1e95 feat(appium): support plugin-specific args via --plugin-args
Co-authored-by: Ayan Khan <ayan@headspin.io>
2021-09-10 10:35:56 -07:00
Jonathan LippsandAyan Khan 050d099e87 feat!(appium): support driver-specific args via --driver-args
Co-authored-by: Ayan Khan <ayan@headspin.io>
2021-09-10 10:35:56 -07:00
Kazuaki Matsuo 6b8ac24b25 chore(base-driver): remove non-W3C route which are already in W3C (#15809)
* chore: remove some mjsonwp route

* update hash
2021-09-10 14:46:54 +09:00
Jonathan Lipps feaa90ac21 chore: get rid of shrinkwrap and related functionality 2021-09-09 13:23:43 -07:00
Kazuaki Matsuo 71e50c5619 feat(base-driver): add /se route for log (#15788)
* feat(base-driver): add /se route for log

* fix(base-driver): fix test
2021-08-30 15:11:06 +09:00
Jonathan Lipps c9a989ab28 chore(base-driver): remove beta tag from package.json. we can publish as latest now. 2021-08-19 15:00:38 -07:00
Jonathan Lipps 4f1bf3d3b8 feat(base-driver): support appium:options capability to hold all appium caps 2021-08-19 13:38:28 -07:00
Renovate Bot 797a1990a6 chore(gulp-plugins): update dependency eslint to ^7.32.0 2021-08-17 10:34:58 -07:00
Renovate Bot 4a7b02d03a chore(gulp-plugins): update dependency babel-plugin-source-map-support to ^2.1.3 2021-08-17 10:34:41 -07:00
Jonathan Lipps eaafb29fee chore: update git tags in package.json based on last lerna release 2021-08-16 16:05:50 -07:00
Jonathan Lipps ec6a90a797 Publish
- appium@2.0.0-beta.13
 - @appium/base-driver@8.0.0-beta.7
 - @appium/doctor@1.16.1
 - @appium/eslint-config-appium@4.7.1
 - @appium/fake-driver@3.0.0
 - @appium/gulp-plugins@5.5.1
 - @appium/support@2.54.0
 - @appium/test-support@1.3.4
2021-08-16 15:48:44 -07:00
Christopher Hiller ee00285b38 chore: global chai
This PR makes `chai` and `should()` _globals_ when using Mocha:

- `chai` is configured with `chai-as-promised`
- A `.mocharc.js` requires `./test/setup.js` _from the monorepo root_.
- Updated the ESLint config to recognize the globals.
- Updated Wallaby config

All instances of `import chai...` and the like have been removed from all test files.
2021-08-13 10:40:52 -07:00
Renovate Bot b514971e99 chore(gulp-plugins): update dependency @types/mocha to ^8.2.3 2021-08-13 14:41:53 +00:00
Renovate Bot 549defda91 chore(gulp-plugins): update dependency @octokit/rest to ^18.9.0 2021-08-13 13:48:00 +00:00
Renovate Bot 11c2c802ed chore(gulp-plugins): update babel monorepo 2021-08-13 12:15:51 +00:00
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 f59e79d649 chore(support): update dependency plist to ^3.0.3 2021-08-12 11:34:38 +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 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