Jonathan Lipps
ca90a11813
Publish
...
- appium@2.0.0-beta.24
- @appium/base-driver@8.2.3
- @appium/doctor@1.16 .8
- @appium/eslint-config-appium@5.0.1
- @appium/fake-driver@3.2.3
- @appium/gulp-plugins@6.0.1
- @appium/support@2.55 .3
- @appium/test-support@1.3.10
2022-01-11 13:04:16 -08:00
Mykola Mokhnach
40a6f054dc
fix: Switch colors package to a non-compomised repository ( #16317 )
2022-01-11 06:45:13 +01:00
Mykola Mokhnach
d69fc6002c
refactor(base-driver): Make configureApp helper more flexible ( #16168 )
2021-12-15 09:51:00 +01:00
Kazuaki Matsuo
9a85a41b9e
fix(base-driver): follow W3C capabilities more strictly ( #16193 )
...
* fix(base-driver): strict capabilities to follow W3C spec more strictly
* fix typo
* just leave a warning message
2021-12-12 01:49:20 +09:00
Jonathan Lipps
7b3893a362
fix(appium): fix incorrect handling of delete session with regard to plugin driver assignment
...
also take the opportunity to constantize a few more strings
2021-12-01 09:42:25 -08:00
Mykola Mokhnach
07887b7c18
refactor(base-driver): Always assume the returned responses are in W3C format ( #16175 )
2021-11-29 22:55:48 +01:00
Renovate Bot
618f4ebb87
chore(base-driver): update dependency ws to v7.5.6
2021-11-24 09:23:38 +00:00
Jonathan Lipps
280d409df6
Publish
...
- appium@2.0.0-beta.23
- @appium/base-driver@8.2.2
- @appium/fake-driver@3.2.2
2021-11-23 09:56:08 -08:00
Jonathan Lipps
0e7b19aabe
chore!(base-driver): remove support for execute driver script since it will be a plugin moving forward
2021-11-23 09:54:19 -08:00
Christopher Hiller
e36a701058
Publish
...
- appium@2.0.0-beta.22
- @appium/base-driver@8.2.1
- @appium/doctor@1.16 .7
- @appium/eslint-config-appium@5.0.0
- @appium/fake-driver@3.2.1
- @appium/gulp-plugins@6.0.0
- @appium/support@2.55 .2
- @appium/test-support@1.3.9
2021-11-19 12:07:28 -08:00
Renovate Bot
894a5928ac
chore(test-support): update dependency source-map-support to v0.5.21
2021-11-19 13:23:40 +00:00
Christopher Hiller
85cd55bc2c
fix(base-driver): create cjs wrapper
2021-11-18 12:08:50 -08:00
Jonathan Lipps
d7882a15ee
Publish
...
- appium@2.0.0-beta.20
- @appium/base-driver@8.2.0
- @appium/doctor@1.16 .6
- @appium/eslint-config-appium@4.7.4
- @appium/fake-driver@3.2.0
- @appium/gulp-plugins@5.5.5
- @appium/support@2.55 .1
- @appium/test-support@1.3.8
2021-11-15 12:15:51 -08:00
Kazuaki Matsuo
1307b2554a
chore(base): Make useSystemUnzip option configurable via process environment ( #16082 )
2021-11-13 17:40:46 +09:00
Jonathan Lipps
5b9a4c2ffa
chore(appium): some cosmetic improvements to session and proxy naming etc
2021-11-12 22:15:06 -05:00
Jonathan Lipps
70910087d1
fix(appium): fix interaction of plugins with proxying
...
Previously, you could not 'await next()' in a plugin and trigger the default proxy behaviour.
Now this is possible.
2021-11-12 22:15:06 -05:00
Jonathan Lipps
9e6c0a13ef
feat(fake-driver): add a new 'PROXY' context that does 'proxying' for use in testing
2021-11-12 22:15:06 -05:00
Jonathan Lipps
c5f363f5d9
refactor(base-driver): all drivers now support executeCommand
2021-11-12 22:15:06 -05:00
Renovate Bot
6bdb7a045c
chore(eslint-config-appium): update babel monorepo to v7.16.3
2021-11-11 01:49:34 +00:00
Christopher Hiller
548310d018
chore(appium): use Ajv to validate CLI args
...
This now consumes Ajv directly to validate CLI args. Since a JSON schema is made of JSON schemas, we can simply validate an argument against _the schema for that argument_.
- Replaced parser transformation functions (`parseSecurityFeatures()`, `parseJsonStringOrFile()`) with custom transforms which are bound to keyword `appiumCliTransformer`. e.g., any option that can now accept a JSON string or filepath on the command line may use `appiumCliTransformer: 'json'`. This is the default behavior for `array` and `object` -type options, which cannot easily be expressed on the CLI. The config file does _not_ support this behavior, so the value must be whatever the schema `type` says (e.g., an `object` instead of a JSON string or filepath). To this end, removed `parser-helpers.js`
- Further, we now disallow union types in the schema. A prop must have a single type.
- Added custom keywords `appiumCliDest`, `appiumCliDescription`, and `appiumCliTransformer`. Previously (if existed), this could have been any value--these are now typed by the schema--e.g., a number for `appiumCliDest` will fail.
- Added more types and TS checks around
- Fixed misspelling of "successfully" in various places
- Removed `@oclifg/errors` because we can now use `better-ajv-errors` to display them, as intended. It looks great!
- Moved all schema-related stuff to `lib/schema/` because I had too many modules
- Added more constants to please @mykola-mokhnach 😄
- Handles untyped properties or `null`-typed properties
- `getSchema()`, `validate()` etc now accept a schema ID. The schema ID is derived from the argument name. This is how we handle validation for each argument individually. The config file is still validated against the entire schema at once.
- Fixed problem where only `driverConfigs` were ever used to call extension commands!
- Added some semaphore-like things to `ExtConfigIO` to avoid multiple reads/writes at once
- Fixed display of metavars in `--help`
- More tests; removed tests for removed code
2021-11-09 11:57:26 -08:00
Jonathan Lipps
71357e52e1
Publish
...
- appium@2.0.0-beta.19
- @appium/base-driver@8.1.2
- @appium/doctor@1.16 .5
- @appium/eslint-config-appium@4.7.3
- @appium/fake-driver@3.1.0
- @appium/gulp-plugins@5.5.4
- @appium/support@2.55 .0
- @appium/test-support@1.3.7
2021-11-09 14:07:38 -05:00
Renovate Bot
6bb9439089
chore(gulp-plugins): update babel monorepo to v7.16.0
2021-10-30 10:41:03 +00:00
Renovate Bot
fb957786fa
chore(support): update dependency axios to v0.24.0
2021-10-27 12:06:57 +00:00
Renovate Bot
2fae09b9f1
chore(support): update dependency axios to v0.23.0
2021-10-21 20:50:00 +00:00
Corneliu Duplachi
0e633939f9
fix(base-driver): type inconsistency ( #15982 )
...
* fix(base-driver): type inconsistency
* reset is set in BaseDriver
2021-10-18 14:30:10 -07:00
Kazuaki Matsuo
829eb6623d
chore(base-driver): Add params to setWindowRect handler ( #15974 )
2021-10-17 08:07:04 +09:00
Corneliu Duplachi
476dbf3e32
chore(base-driver): add type definition for optional commands ( #15931 )
...
* feat(base-driver): add type definition for optional commands
* update type definition
* reuse Rect in Size, Position type
* fix: actions is unwrapped
2021-10-08 19:10:02 -07:00
Renovate Bot
7a476af925
chore(support): update dependency axios to v0.22.0
2021-10-01 10:48:41 +00:00
Christopher Hiller
a172196d43
chore(base-driver): revert name change of TEST_HOST to DEFAULT_TEST_HOST
...
This would have been a breaking change if other packages depend on it, since I think it's a public API
2021-09-28 07:54:20 -07:00
Christopher Hiller
cf86871d4f
fix(base-driver): allow https in helper URL generation
...
- use constants/helpers for `jsonwp-proxy` url tests
2021-09-28 07:54:20 -07:00
Christopher Hiller
01d7c1bd7e
fix(base-driver): better URL handling in driver-e2e tests
...
- fix a potential port-reuse issue in `getTestPort()` helper
- dedupe `127.0.0.1` constant
- export curried `createAppiumURL(address, port, session, pathname)` helper for less error-prone URL generation
- export some HTTP method names as constants
2021-09-28 07:54:20 -07:00
Christopher Hiller
a3b021a0e8
chore: replace occurrences of 'localhost' with '127.0.01'; use random ports; closes #15399
...
- `base-driver` gets a new `helpers` module with a `getTestPort` function; this is now used throughout the tests
- `fake-driver` can't use random ports because it depends on `appium-base-driver`'s test suite, and that is _not_ the current appium-2.0-compatible `@appium/base-driver`
2021-09-28 07:54:20 -07:00
Renovate Bot
760aebadac
chore(fake-driver): update dependency asyncbox to v2.9.2
2021-09-21 07:47:00 +00:00
Jonathan Lipps
01dd42ee17
Publish
...
- appium@2.0.0-beta.18
- @appium/base-driver@8.1.1
- @appium/fake-driver@3.0.5
2021-09-16 10:37:18 -07:00
Jonathan Lipps
31af0e1167
chore(base-driver): start to document BaseDriver types for TS users
2021-09-16 10:24:56 -07:00
Jonathan Lipps
4f89d398a4
Publish
...
- appium@2.0.0-beta.17
- @appium/base-driver@8.1.0
- @appium/doctor@1.16 .4
- @appium/fake-driver@3.0.4
2021-09-16 10:15:01 -07:00
Jonathan Lipps
3e5aec945b
feat(base-driver): allow drivers, and plugins to declare that certain routes must never be proxied
2021-09-16 10:13:57 -07:00
Jonathan Lipps
e0c7754af6
Publish
...
- appium@2.0.0-beta.16
- @appium/base-driver@8.0.3
- @appium/fake-driver@3.0.3
2021-09-15 12:02:01 -07:00
Renovate Bot
96079de6b3
chore(fake-driver): update dependency asyncbox to v2.9.1
2021-09-15 08:41:36 +00:00
Jonathan Lipps
4ec2d1edd7
Publish
...
- appium@2.0.0-beta.15
- @appium/base-driver@8.0.2
- @appium/doctor@1.16 .3
- @appium/eslint-config-appium@4.7.2
- @appium/fake-driver@3.0.2
- @appium/gulp-plugins@5.5.3
- @appium/support@2.54 .2
- @appium/test-support@1.3.6
2021-09-14 14:08:52 -07:00
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
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 and Ayan 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
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