Commit Graph

748 Commits

Author SHA1 Message Date
Christopher Hiller c26af8f852 Publish
- appium@2.0.0-beta.44
 - @appium/base-driver@8.7.1
 - @appium/base-plugin@1.10.3
 - @appium/doctor@1.16.26
 - @appium/docutils@0.0.11
 - @appium/driver-test-support@0.2.0
 - @appium/eslint-config-appium@7.0.0
 - @appium/execute-driver-plugin@2.0.5
 - @appium/fake-driver@4.2.1
 - @appium/fake-plugin@2.1.1
 - @appium/gulp-plugins@7.0.6
 - @appium/images-plugin@1.3.6
 - @appium/opencv@1.0.12
 - @appium/plugin-test-support@0.2.0
 - @appium/relaxed-caps-plugin@1.0.0-beta.12
 - @appium/support@2.60.0
 - @appium/test-support@2.0.0
 - @appium/types@0.4.1
 - @appium/universal-xml-plugin@1.0.0-beta.14
2022-09-07 12:40:03 -07:00
renovate[bot] bfef2db517 chore(gulp-plugins): update babel monorepo to v7.19.0 2022-09-06 19:52:27 +00:00
renovate[bot] 49d6a81973 chore(types): update webdriverio monorepo to v7.24.0 2022-09-01 18:33:17 +00:00
renovate[bot] ce44fc0fcf chore(doctor): update dependency appium-adb to v9.10.9 2022-09-01 14:04:20 +00:00
Mykola Mokhnach 5ab78297e1 feat(support): Move module root detection utility into support package (#17427) 2022-08-30 07:54:36 +02:00
renovate[bot] 3764149753 chore(execute-driver-plugin): update dependency vm2 to v3.9.11 2022-08-29 18:22:34 +00:00
renovate[bot] 21b7aa9b93 chore(doctor): update dependency appium-adb to v9.10.8 2022-08-29 14:35:18 +00:00
renovate[bot] e916a58d93 chore(doctor): update dependency appium-adb to v9.10.7 2022-08-28 12:09:02 +00:00
renovate[bot] 4090b56931 chore(doctor): update dependency appium-adb to v9.10.6 2022-08-27 21:22:51 +00:00
renovate[bot] d48283cdca chore(gulp-plugins): update dependency eslint to v8.23.0 2022-08-27 12:31:24 +00:00
renovate[bot] b2ad5a49db chore(gulp-plugins): update dependency eslint-plugin-promise to v6.0.1 2022-08-25 13:36:03 +00:00
Christopher Hiller 89cf01fda3 fix(support): update checks eat errors from non-existent packages 2022-08-24 15:00:34 -07:00
Christopher Hiller 7d7bb7abc3 fix(appium): eat update info errors
If a user runs e.g., "appium driver list --updates" and one of the installed drivers is _not_ published to npm, an error will no longer be emitted.

Closes #17357
2022-08-24 15:00:34 -07:00
renovate[bot] f0608a5d01 chore(types): update dependency type-fest to v2.19.0 2022-08-24 17:32:45 +00:00
renovate[bot] 9bf9cc70fa chore(gulp-plugins): update dependency @babel/core to v7.18.13 2022-08-24 00:51:12 +00:00
Christopher Hiller 12cdbb7fdd chore(types): better types for w3c actions
The previous types were very loose.  I found some decent ones and stole them.
2022-08-23 13:50:11 -07:00
Christopher Hiller d14a0c5c0b chore(): add RouteMatcher type
Replaces the bare tuple `[string, RegExp]` with a named type.  Used by `Driver.getProxyAvoidList()`

Narrows the type def to only allow known HTTP methods as the first item in the tuple.
2022-08-23 13:50:11 -07:00
Christopher Hiller 74378cca66 fix(types): add inclusionCaseInsensitive to Constraint type 2022-08-23 13:50:11 -07:00
Christopher Hiller 92f4677b94 docs(plugin-test-support): fix typo 2022-08-23 13:42:47 -07:00
Christopher Hiller 6820f5ec4e chore(appium): remove test export
BREAKING CHANGE:

This removes the `test` export from `appium`.  `import * from 'appium/test'` is no longer supported.

Use `@appium/test-support`, `@appium/driver-test-support` or `@appium/plugin-test-support` instead.

See #17398
2022-08-23 13:42:47 -07:00
Christopher Hiller 743c764d5e chore(test-support): remove driver/plugin-specific methods
BREAKING CHANGE:

This removes plugin/driver specific methods from `@appium/test-support`, and also removes the peer dep on `appium`.
The methods can now be found in `@appium/plugin-test-support` and `@appium/driver-test-support`.

Closes #17398
2022-08-23 13:42:47 -07:00
Christopher Hiller ca1480adcf chore(docutils): sync package.json 2022-08-23 13:42:47 -07:00
Christopher Hiller 8ea98b1fe9 chore(base-plugin): sync package.json 2022-08-23 13:42:47 -07:00
Christopher Hiller e09e5051c8 chore(fake-plugin): sync package.json 2022-08-23 13:42:47 -07:00
Christopher Hiller 44e5f1ba05 test(execute-driver-plugin): use @appium/plugin-test-support 2022-08-23 13:42:47 -07:00
Christopher Hiller 0f735774af test(images-plugin): use @appium/plugin-test-support
also sync package.json
2022-08-23 13:42:47 -07:00
Christopher Hiller 61de659616 chore(relaxed-caps-plugin): sync package.json 2022-08-23 13:42:47 -07:00
Christopher Hiller 07d4a81d27 chore(universal-xml-plugin): sync package.json 2022-08-23 13:42:47 -07:00
Christopher Hiller d2a92c8bc1 test(fake-driver): use @appium/driver-test-support
also publish types, since that wasn't happening
2022-08-23 13:42:47 -07:00
Christopher Hiller c37f4500c2 test(base-driver): use @appium/driver-test-support 2022-08-23 13:42:47 -07:00
Christopher Hiller 108b8c0209 feat(plugin-test-support): create @appium/plugin-test-support
This provides setup/teardown functions to plugins for their E2E tests

Extracted from `@appium/base-plugin` by way of `@appium/test-support`
2022-08-23 13:42:47 -07:00
Christopher Hiller 41289724dc feat(driver-test-support): create package
This package contains driver-specific test utilities extracted from `@appium/base-driver` by way of `@appium/test-support`
2022-08-23 13:42:47 -07:00
renovate[bot] cf4f533022 chore(types): update webdriverio monorepo to v7.23.0 2022-08-22 14:39:25 +00:00
renovate[bot] 94dd88fc98 chore(execute-driver-plugin): update dependency webdriverio to v7.22.0 2022-08-20 15:39:08 +00:00
Mykola Mokhnach 39d5cee1b7 feat(appium): Adjust NODE_PATH so NPM could properly resolve component peer dependencies (#17325) 2022-08-20 13:35:04 +02:00
renovate[bot] 3470ec5101 chore(types): update dependency type-fest to v2.18.1 2022-08-19 10:16:14 +00:00
renovate[bot] 0668bc45dc chore(images-plugin): update dependency lru-cache to v7.14.0 2022-08-17 10:48:31 +00:00
renovate[bot] a815e3be9d chore(types): update webdriverio monorepo to v7.21.0 2022-08-17 02:53:06 +00:00
Christopher Hiller b5947991cf fix(types): Driver extends ExecuteCommands (#17363)
Closes #17359
2022-08-16 13:35:21 -07:00
renovate[bot] 75a9154366 chore(gulp-plugins): update dependency eslint to v8.22.0 2022-08-14 09:51:20 +00:00
renovate[bot] 8eea316484 chore(support): update dependency @types/semver to v7.3.12 2022-08-12 14:07:44 +00:00
renovate[bot] 7dbf3c2127 chore(support): update dependency @types/semver to v7.3.11 2022-08-11 12:05:02 +00:00
renovate[bot] d3c4d40b44 chore(gulp-plugins): update dependency eslint-plugin-mocha to v10.1.0 2022-08-11 09:11:47 +00:00
renovate[bot] 6357b30051 chore(gulp-plugins): update dependency eslint to v8.21.0 2022-08-11 02:41:19 +00:00
Christopher Hiller cfdf898e04 fix(appium): do not throw ENAMETOOLONG on long cli arg
Some CLI args can be interpreted as filenames or JSON/CSV blobs.  Appium first assumes the value is a file and attempts to open it.  But if a blob is given and it is of some _problematic length_, the OS will throw an `ENAMETOOLONG` exception trying to open a filepath with a huge blob.  If the JSON is reasonably small, an `ENOENT` will be thrown instead.  Previous to this change, we were only looking for `ENOENT`; now we treat `ENAMETOOLONG` errors as JSON blobs.  If the problem is that the filename _is_ actually too long, the user will get an "invalid JSON" error, which will probably be confusing, but is less likely to happen than the more-common error this addresses.

If someone complains about it in the future, we can take another look, but it's going to take more effort than it's worth atm to fix it (imo).
2022-08-10 15:51:31 -07:00
Christopher Hiller 159703744f fix(types): add missing @types/ws dep 2022-08-10 14:54:51 -07:00
Jonathan Lipps 7ae4b5cb6a docs(appium): fix env var typo in docs publishing (#17318) 2022-08-10 11:43:28 -07:00
Christopher Hiller 887cb449e6 chore(eslint-config-appium): upgrade to ESLint v8
BREAKING CHANGE:

This change upgrades to ESLint v8 and removes `@babel/eslint-parser`, which is only necessary if we're using mid-stage TC39 proposals (which we aren't).  I think `@babel/core` was a peer dep of `@babel/eslint-parser`, so I removed that too.  And removed cruft from the main configuration.

ESLint rules _very likely_ had breaking changes, but I didn't experience any on our codebase.  However, this version of ESLint seems to be incompatible with `gulp-eslint`, so `@appium/gulp-plugins` should be held back from upgrading.

In addition:

- Updated `README.md`
- Updated some fields in `package.json`
- Loosened `peerDependencies`, as they're supposed to be loose.
2022-08-10 11:36:28 -07:00
Jonathan Lipps c58f32441d Publish
- appium@2.0.0-beta.43
 - @appium/base-driver@8.7.0
 - @appium/base-plugin@1.10.2
 - @appium/doctor@1.16.25
 - @appium/docutils@0.0.10
 - @appium/fake-driver@4.2.0
 - @appium/fake-plugin@2.1.0
 - @appium/gulp-plugins@7.0.5
 - @appium/images-plugin@1.3.5
 - @appium/support@2.59.5
 - @appium/test-support@1.5.0
 - @appium/types@0.4.0
2022-08-10 07:45:24 -07:00
Jonathan Lipps 337ec3e7ba feat(base-driver,fake-driver,appium): add convenience methods for defining execute script overloads (#17321)
* feat(base-driver,fake-driver,appium): add convenience methods for defining execute script overloads

* Update packages/appium/docs/en/ecosystem/build-drivers.md

Co-authored-by: Christopher Hiller <boneskull@boneskull.com>

* Update packages/appium/docs/en/ecosystem/build-drivers.md

Co-authored-by: Christopher Hiller <boneskull@boneskull.com>

* Update packages/appium/docs/en/ecosystem/build-drivers.md

Co-authored-by: Christopher Hiller <boneskull@boneskull.com>

* Update packages/appium/docs/en/ecosystem/build-drivers.md

Co-authored-by: Christopher Hiller <boneskull@boneskull.com>

* review

* review

Co-authored-by: Christopher Hiller <boneskull@boneskull.com>
2022-08-09 20:47:47 -07:00