Commit Graph

9508 Commits

Author SHA1 Message Date
renovate[bot] 4b5ab4da7b fix(types): update dependency type-fest to v3.5.1 2023-01-05 12:11:09 +00:00
Christopher Hiller f036f0a612 chore: all pkgs consume @appium/tsconfig 2023-01-04 12:09:08 -08:00
renovate[bot] 79105b59e2 chore(deps): update commitlint monorepo to v17.4.0 2023-01-04 14:56:42 +00:00
renovate[bot] 783989b56c fix(appium): update dependency ajv to v8.12.0 2023-01-04 11:54:41 +00:00
Mykola Mokhnach 49eddb4368 docs (appium): Add "Write a Test" Java tutorial (#18000) 2023-01-04 08:58:19 +01:00
Kazuaki Matsuo b4670e13f9 docs(appium): address appium 1.x uninstallation (#17999)
* docs(appium): address appium 1.x uninstallation

* Update packages/appium/docs/en/guides/migrating-1-to-2.md

Co-authored-by: Jonathan Lipps <jlipps@gmail.com>

Co-authored-by: Jonathan Lipps <jlipps@gmail.com>
2023-01-03 17:50:48 -08:00
Christopher Hiller fe7b7b6d21 chore(base-driver): do not use EmptyObject
I do not trust it
2023-01-03 12:50:53 -08:00
Christopher Hiller 7d7b510a03 feat: create @appium/tsconfig
For the TypeDoc plugin to correctly pull information from `@appium/types` and `@appium/base-driver`, they both need `tsconfig.json` files.

They currently _have_ `tsconfig.json` files, but they extend base configs in the monorepo root, which is problematic.  Moving the configs into a package seems reasonable.  Further, all packages must publish `tsconfig.json`.  There's precedent for publishing a `tsconfig.json` this way.

FWIW the `paths` and `references` fields in the `tsconfig.json` files seem to be ignored by TypeDoc, so we can get away with this.
2023-01-03 12:50:53 -08:00
Christopher Hiller 63d8f2ca2d chore(typedoc-plugin-appium): better sorting, refactors
trying to make some things less opaque.  maybe failed
2023-01-03 12:50:53 -08:00
Christopher Hiller 8b33414901 feat(typedoc-appium-plugin): implement cross-referencing of methods
This is getting pretty close, but:

- Commands from a driver will show even w/o a `newMethodMap` or `execMethodMap`; it is able to understand that it's overriding `BaseDriver`
- It's also able to understand the associated routes
- And it's able to understand the routes even if `BaseDriver` does not implement it

Still working on the parameters display, but we have the name override working at least.

Added some docstrings in `fake-driver`, `base-driver` for testing
2023-01-03 12:50:53 -08:00
renovate[bot] 949719811a chore(deps): update dependency husky to v8.0.3 2023-01-03 13:53:07 +00:00
renovate[bot] 47ec6af185 chore(deps): update dependency eslint-config-prettier to v8.6.0 2023-01-03 10:07:18 +00:00
Dor Blayzer 9ee40374f5 docs: Remove travis CI build status in appium-doctor (#17964)
* docs: update build status link

Since June 15th, 2021, the building on travis-ci.org is ceased. Please use travis-ci.com from now on.

* docs: Fix broken link

* docs: Remove Travis CI build status
2023-01-02 13:48:46 -08:00
Kazuaki Matsuo e9042b85d9 docs(appium): add ja resources more (#18001)
* docs(appium): add more JP resources

* docs: tweak

* docs: add ja more
2023-01-02 10:32:53 -08:00
renovate[bot] 7bb4e07d68 fix(support): update dependency klaw to v4.1.0 2022-12-31 18:47:53 +00:00
renovate[bot] 098ee1932d chore(deps): update dependency eslint to v8.31.0 2022-12-31 15:30:43 +00:00
renovate[bot] 7c59380e6b fix(execute-driver-plugin): update dependency webdriverio to v7.29.1 2022-12-31 12:40:01 +00:00
renovate[bot] b763880779 fix(appium): update dependency yaml to v2.2.1 2022-12-30 14:23:56 +00:00
renovate[bot] a3fad3ed28 fix(execute-driver-plugin): update dependency webdriverio to v7.29.0 2022-12-30 12:01:46 +00:00
renovate[bot] 6055f162d8 fix(types): update dependency @types/ws to v8.5.4 2022-12-30 09:11:50 +00:00
renovate[bot] 5291ca672b fix(support): update dependency axios to v1.2.2 2022-12-29 11:18:58 +00:00
Jonathan Lipps 23224cf002 fix(appium): inability to find automationName inside appium:options (#17966)
* fix(appium): inability to find automationName inside appium:options

we fixed this before but only fixed it in basedriver's createSession, which is not
actually called by Appium's createSession (though maybe it should be)

* test(base-driver): remove appium:options test
2022-12-28 10:54:39 -08:00
Kazuaki Matsuo 0b5f7a4085 docs(): update readme links to appium.github.io (#17974)
* docs(): update readme links to appium.github.io

* docs(): use latest
2022-12-27 14:45:41 -08:00
renovate[bot] d2cf2ed4e3 chore(deps): update dependency lerna to v6.3.0 2022-12-27 12:58:19 +00:00
renovate[bot] 3f3b1529ed chore(deps): update dependency @types/node to v18.11.18 2022-12-27 09:58:08 +00:00
renovate[bot] 8c8bfe824d fix(types): update dependency type-fest to v3.5.0 2022-12-26 10:26:59 +00:00
renovate[bot] 2bb4f32329 fix(execute-driver-plugin): update dependency webdriverio to v7.28.1 2022-12-25 08:44:30 +00:00
renovate[bot] ac2c735968 fix(doctor): update dependency appium-adb to v9.10.21 2022-12-24 10:26:38 +00:00
renovate[bot] 29bf77cf5a fix(doctor): update dependency appium-adb to v9.10.20 2022-12-23 11:17:08 +00:00
renovate[bot] 28c6204b75 fix(appium): update dependency yaml to v2.2.0 2022-12-22 12:08:46 +00:00
Kazuaki Matsuo e0dc5b6299 docs(appium): add /appium/ (#17969) 2022-12-21 16:41:33 -08:00
Jonathan Lipps 6fb1f2cc32 docs(appium): fix reference building script paths 2022-12-21 12:06:42 -08:00
Jonathan Lipps 2e76ba9607 chore: publish
- appium@2.0.0-beta.48
 - @appium/base-driver@9.1.0
 - @appium/base-plugin@2.0.1
 - @appium/doctor@2.0.1
 - @appium/docutils@0.1.1
 - @appium/driver-test-support@0.3.1
 - @appium/execute-driver-plugin@3.0.1
 - @appium/fake-plugin@3.0.1
 - @appium/images-plugin@2.0.1
 - @appium/opencv@2.0.1
 - @appium/plugin-test-support@0.3.1
 - @appium/support@3.0.1
 - @appium/test-support@3.0.1
 - @appium/typedoc-plugin-appium@0.2.1
 - @appium/types@0.7.0
@appium/base-driver@9.1.0 @appium/base-plugin@2.0.1 @appium/doctor@2.0.1 @appium/docutils@0.1.1 @appium/driver-test-support@0.3.1 @appium/execute-driver-plugin@3.0.1 @appium/fake-plugin@3.0.1 @appium/images-plugin@2.0.1 @appium/opencv@2.0.1 @appium/plugin-test-support@0.3.1 @appium/support@3.0.1 @appium/test-support@3.0.1 @appium/typedoc-plugin-appium@0.2.1 @appium/types@0.7.0 appium@2.0.0-beta.48
2022-12-21 11:57:39 -08:00
Jonathan Lipps aab415685e fix(docutils): package should publish the base mkdocs yml (#17968) 2022-12-21 11:54:50 -08:00
Jonathan Lipps d13d292c4b docs(appium): add grid 4 appium setup examples (#17965) 2022-12-21 10:58:46 -08:00
Christopher Hiller df250cc1e0 fix(appium): fix manifest migrations
Manifest migrations were not being fully applied due to a method in `Manifest` which refused to overwrite data.

- `Manifest` now has full control of the manifest file and its in-memory representation. Nothing else should ever modify the in-memory data directly; instead, use its API. This restriction also applies to migrations.
- Corrected some incorrect explanations in `manifest-migrations`
- `Manifest#addExtension` became `Manifest#setExtension` and allows overwriting of data, which prevented migrations from being fully applied.
- More tests
2022-12-19 10:37:33 -08:00
renovate[bot] 5565febc9d chore(deps): update dependency typedoc to v0.23.23 2022-12-18 11:41:04 +00:00
renovate[bot] 49a0fe164b chore(deps): update dependency @types/node to v18.11.17 2022-12-18 09:58:38 +00:00
renovate[bot] 94911eb59f chore(deps): update dependency eslint to v8.30.0 2022-12-17 14:13:16 +00:00
renovate[bot] 1b4a41bce9 chore(deps): update dependency @types/node to v18.11.16 2022-12-17 11:20:33 +00:00
renovate[bot] 5d0d4f5a44 fix(test-support): update dependency sinon to v15.0.1 2022-12-16 11:18:48 +00:00
renovate[bot] f81e2e92ef fix(execute-driver-plugin): update dependency webdriverio to v7.28.0 2022-12-16 08:50:11 +00:00
Kazuaki Matsuo 316ecca8b1 feat(base): add get computed role and label in W3C v2 (#17928)
* feat(base): add get computed role and label in W3C v2

* add command names

* chore: add type

* chore: use `?` instead of `| null`

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

* Revert "chore: use `?` instead of `| null`"

This reverts commit 62af5e80ac.

Co-authored-by: Christopher Hiller <boneskull@boneskull.com>
2022-12-15 20:46:44 -08:00
Christopher Hiller 20667be9a2 fix(appium): ensure migration always gets applied
The manifest file was not getting its migrations applied _to disk_ in all situations.  Essentially: the migration could repeat over and over, depending on the environment--the changes would only exist in memory.

Added a test, as well.  I didn't originally add a test because the whole migration thing came out of a rabbit hole intended to fix a separate issue.  My bad!
2022-12-15 17:11:35 -08:00
Christopher Hiller 48b7b05a1f chore(support): quiet some noisy debug logging 2022-12-15 17:11:35 -08:00
Christopher Hiller 2df077b08c chore: remove packweb.json 2022-12-15 17:11:14 -08:00
Jonathan Lipps 0e195caafe fix: add 'webSocketUrl' as standard cap for bidi support (#17936) 2022-12-15 16:36:50 -08:00
Christopher Hiller 9842e231c5 chore: remove @appium/gulp-plugins
Closes #17907
2022-12-15 16:11:58 -08:00
Christopher Hiller feeaac4713 chore: revert 840a3b4a02
This reverts a workaround which has since been fixed in `sync-monorepo-packages@1.0.2`.
2022-12-15 16:11:48 -08:00
renovate[bot] ad7e2648c1 chore(deps): update dependency sync-monorepo-packages to v1.0.2 2022-12-15 15:07:14 -08:00