Commit Graph

9690 Commits

Author SHA1 Message Date
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
renovate[bot] 2cb1af4357 fix(doctor): update dependency appium-adb to v9.10.19 2022-12-15 15:07:08 -08:00
Christopher Hiller 45b6aed22d chore(fossa): fix invalid .fossa.yml "revision" prop 2022-12-15 15:06:59 -08:00
Sarin Suriyakoon 26c84c9361 refactor: add type for driver install 2022-12-15 15:05:21 -08:00
Christopher Hiller ad06a0612f chore(appium): fix E2E test for update functionality
The problem was that after we published a new major of `@appium/fake-driver`, the `updateVersion` field of the response was `null`, but `unsafeUpdateVersion` was populated; the test only used the former.  Now, the test uses `updateVersion` but falls back to `unsafeUpdateVersion`.
2022-12-15 14:43:46 -08:00
Jonathan Lipps fe67e4cb2f feat(appium): add chromium driver to list of officially supported drivers (#17939) 2022-12-14 14:28:53 -08:00
Christopher Hiller fee1c98ee9 chore: run e2e tests in parallel
This change makes Lerna execute E2E tests across two cores.  Some of the slower E2E suites (`appium`, `support`, `opencv` and `base-driver`) also run in parallel via Mocha's `--parallel` flag.

In Appium, the main culprit was `cli.e2e.spec.js`, which I split into four files: `args` (argument handling), `cli-driver` (`driver` command), `cli-plugin` (`plugin` command) and `local` (behavior when Appium is a dependency).  This should run faster (in theory) since Mocha runs tests in parallel _per file_ and will expand to the available cores.

CI has limited cores, so this won't really help there--but it will speed up local development.  When running tests locally, you may see various delays, as Mocha buffers the output of a single test file.

This is a continuation of the work I did in #17252.
2022-12-14 13:28:31 -08:00
Christopher Hiller 9fea6980e5 chore(commitlint): disable DUMB RULES
This disables the rules which:

- require specific capitalization
- disallow the use of periods in subjects
- warn if there's no leading blank line in the commit body

because the above are dumb
2022-12-14 13:27:28 -08:00
renovate[bot] 37f71c327a fix(types): update dependency type-fest to v3.4.0 2022-12-14 14:57:42 +00:00
renovate[bot] 172fcb9aff fix(types): update definitelytyped 2022-12-14 13:01:18 +00:00
renovate[bot] 3993decde4 chore(workflows): update actions/checkout digest to 755da8c 2022-12-14 10:10:32 +00:00
Jonathan Lipps 0823f0b60e chore: publish
- appium@2.0.0-beta.47
 - @appium/base-driver@9.0.0
 - @appium/base-plugin@2.0.0
 - @appium/doctor@2.0.0
 - @appium/docutils@0.1.0
 - @appium/driver-test-support@0.3.0
 - @appium/eslint-config-appium@8.0.0
 - @appium/execute-driver-plugin@3.0.0
 - @appium/fake-driver@5.0.0
 - @appium/fake-plugin@3.0.0
 - @appium/gulp-plugins@8.0.0
 - @appium/images-plugin@2.0.0
 - @appium/opencv@2.0.0
 - @appium/plugin-test-support@0.3.0
 - @appium/relaxed-caps-plugin@1.0.0-beta.14
 - @appium/schema@0.1.0
 - @appium/support@3.0.0
 - @appium/test-support@3.0.0
 - @appium/typedoc-plugin-appium@0.2.0
 - @appium/types@0.6.0
 - @appium/universal-xml-plugin@1.0.0-beta.16
@appium/base-driver@9.0.0 @appium/base-plugin@2.0.0 @appium/doctor@2.0.0 @appium/docutils@0.1.0 @appium/driver-test-support@0.3.0 @appium/eslint-config-appium@8.0.0 @appium/execute-driver-plugin@3.0.0 @appium/fake-driver@5.0.0 @appium/fake-plugin@3.0.0 @appium/gulp-plugins@8.0.0 @appium/images-plugin@2.0.0 @appium/opencv@2.0.0 @appium/plugin-test-support@0.3.0 @appium/relaxed-caps-plugin@1.0.0-beta.14 @appium/schema@0.1.0 @appium/support@3.0.0 @appium/test-support@3.0.0 @appium/typedoc-plugin-appium@0.2.0 @appium/types@0.6.0 @appium/universal-xml-plugin@1.0.0-beta.16 appium@2.0.0-beta.47
2022-12-13 16:10:05 -08:00
Jonathan Lipps 840a3b4a02 chore: fix sync-pkgs invocation 2022-12-13 15:57:19 -08:00
Jonathan Lipps 14fc2d2b24 chore: don't use nx with lerna because of nx cache issues or something 2022-12-13 15:49:17 -08:00
Christopher Hiller 8f4c09c8a7 chore(ci): remove broken commitlint job 2022-12-13 15:35:30 -08:00
Christopher Hiller 8f9b57fbc2 chore(appium): pull output path from typedoc config 2022-12-13 15:35:30 -08:00
Christopher Hiller b959d7a141 chore: use commitlint via npm in pre-commit 2022-12-13 15:35:30 -08:00
Jonathan Lipps 6c61eb8f4e fix(appium): fixup 2022-12-13 15:35:30 -08:00
Jonathan Lipps 2b0b8d8d5d Update packages/appium/docs/scripts/build-reference.js
Co-authored-by: Christopher Hiller <boneskull@boneskull.com>
2022-12-13 15:35:30 -08:00