Commit Graph

9690 Commits

Author SHA1 Message Date
renovate[bot] 6c4ba8caa5 fix(types): update dependency type-fest to v3.5.3 2023-01-21 02:08:38 +00:00
Christopher Hiller 12245ae98c chore(ci): add job to disallow merges of PRs
...if it has the "On Hold" label
2023-01-20 15:01:06 -08:00
Christopher Hiller 96eb4d7b3f chore(types): remove @wdio/types
Due to problems where multiple versions of `@wdio/types` can be installed in the dep tree of external modules, and the fact we are not using most of the types we pull in, it makes sense to remove this module.

The "standard" W3C caps have been pulled out of `@wdio/types`.  We do not need any webdriverio or vendor-specific cap types.  Those only make sense when consuming wdio itself and/or writing client-side code.

This will also make it easier to upgrade `webdriverio`; it too depends on `@wdio/types`.

Note: there were several Appium-specific caps in `@wdio/types` that I did not recognize.  Perhaps these were driver-specific and not accurately labeled as such.  Driver-specific caps belong in drivers.
2023-01-20 14:57:24 -08:00
Jonathan Lipps 11015b8871 test(appium): add e2e tests for plugin use of executeMethod(Map) 2023-01-20 14:21:08 -08:00
Christopher Hiller de6e83d196 chore(appium,types): rename cli command types
`PluginCommand` and `DriverCommand` both conflicted with `PluginCommand` and `DriverCommand` in `@appium/types`.  The former are string literals representing CLI args; the latter represent methods on plugin and driver classes.

This renames the former to make it clear it's CLI-specific
2023-01-20 14:21:08 -08:00
Christopher Hiller b8b7aae060 chore(types): tweak Plugin a little bit more
- `onUnexpectedShutdown` will always receive an `ExternalDriver` in a `Plugin`
- `handle` is actually a "known" `PluginCommand`
2023-01-20 14:21:08 -08:00
Christopher Hiller 9cd228247a chore: update MethodMap/ExecuteMethodMap to support plugins 2023-01-20 14:21:08 -08:00
Jonathan Lipps 84abed920a feat(base-plugin): add ability for plugins to implement execute methods 2023-01-20 14:21:08 -08:00
Christopher Hiller a96d952a06 chore(ci): add doc build to ci 2023-01-20 10:31:46 -08:00
renovate[bot] 854c5ec946 fix(support): update dependency @types/glob to v8.0.1 2023-01-20 16:23:41 +00:00
renovate[bot] 6726f6ddb5 chore(docutils): update dependency mkdocs-material to v9.0.6 2023-01-20 12:42:33 +00:00
Christopher Hiller 108c1abae0 chore(typedoc-plugin-appium): disable sorting
Sorting is handled by typedoc and it supersedes whatever we do with it.  The correct way to implement a custom sort would be...something else.  YAGNI for now
2023-01-19 14:31:43 -08:00
Christopher Hiller ec48c9cea7 fix(typedoc-plugin-appium): non-appium theme should not cause a fatal error
This was preventing tests from running
2023-01-19 14:31:43 -08:00
Christopher Hiller 4cb9bec7a0 chore(typedoc-plugin-appium): remove cruft 2023-01-19 14:31:43 -08:00
Christopher Hiller 92a45be902 chore(typedoc-plugin-appium): reorganize the tests
many of these were actually E2E tests (and slow)
2023-01-19 14:31:43 -08:00
Christopher Hiller a8365391dc chore(fake-driver): annihilate loathsome mixin classes
I did here what I did to `appium-xcuitest-driver`, which was to assign the command methods to the class as fields.  Easier this way.
2023-01-19 14:31:43 -08:00
Christopher Hiller 18772f4f0d fix(docs): fix filename of basedriver commands
I'm unsure about a) where the filename I just changed came from, and b) if we have control over the filename, and c) if so, how much control.

But anyway: it seems to generate a file named `appium_base_driver-1._appium_base_driver.md`.
2023-01-17 11:33:12 -08:00
Christopher Hiller d0e1cb2f65 fix(typedoc-plugin-appium): reduce severity of "missing method" error
This is either a bug in the plugin or a bug in `@appium/base-driver` (tbd).  But it was causing `typedoc` to fail with a fatal error, and we don't want that to happen (yet).  This change punts on the problem to get the docs build working
2023-01-17 11:33:12 -08:00
Christopher Hiller ed1edab209 fix(typedoc-plugin-appium): fix keywords for typedoc plugin autodetection 2023-01-17 11:33:12 -08:00
Christopher Hiller 52560a41b3 chore(scripts): fix typo in sync-pkgs script
The typo caused the `keywords` field in `packages/typedoc-plugin-appium/package.json` to be overwritten.  Because of this, the `keywords` field lost the magic keyword that `typedoc` uses to automatically detect a plugin.  Thus, `@appium/typedoc-plugin-appium` could not be found, and its specific options caused `typedoc` to fail.
2023-01-17 11:33:12 -08:00
renovate[bot] f76a5a71c9 fix(doctor): update dependency appium-adb to v9.10.24 2023-01-17 15:08:06 +00:00
renovate[bot] 8b15e2ca3a chore(deps): update dependency eslint-plugin-import to v2.27.5 2023-01-17 12:02:35 +00:00
renovate[bot] d7b35ab28b fix(support): update dependency glob to v8.1.0 2023-01-16 12:46:32 +00:00
renovate[bot] 54fdcea08a chore(deps): update dependency eslint to v8.32.0 2023-01-15 21:09:46 +00:00
renovate[bot] 64fd8ce940 fix(types): update dependency type-fest to v3.5.2 2023-01-15 17:22:46 +00:00
renovate[bot] 34081b44c8 fix(doctor): update dependency appium-adb to v9.10.23 2023-01-15 14:12:40 +00:00
renovate[bot] 12afa8934a chore(docutils): update dependency mkdocs-material to v9.0.5 2023-01-15 10:27:54 +00:00
renovate[bot] 3b213d40e7 fix(doctor): update dependency appium-adb to v9.10.22 2023-01-14 13:52:57 +00:00
renovate[bot] 8466cf6fcb chore(deps): update dependency prettier to v2.8.3 2023-01-14 11:00:36 +00:00
renovate[bot] 5c2168fb09 chore(deps): update dependency lerna to v6.4.1 2023-01-14 00:51:50 +00:00
Jonathan Lipps 67c9bdfbce chore: publish
- appium@2.0.0-beta.52
 - @appium/base-driver@9.2.3
 - @appium/base-plugin@2.1.3
 - @appium/doctor@2.0.5
 - @appium/docutils@0.1.5
 - @appium/driver-test-support@0.3.5
 - @appium/execute-driver-plugin@3.0.5
 - @appium/fake-driver@5.1.3
 - @appium/fake-plugin@3.1.3
 - @appium/images-plugin@2.0.5
 - @appium/opencv@2.0.5
 - @appium/plugin-test-support@0.3.5
 - @appium/relaxed-caps-plugin@1.0.4
 - @appium/schema@0.2.3
 - @appium/support@3.1.3
 - @appium/test-support@3.0.5
 - @appium/tsconfig@0.2.3
 - @appium/typedoc-plugin-appium@0.3.3
 - @appium/types@0.8.3
 - @appium/universal-xml-plugin@1.0.4
@appium/base-driver@9.2.3 @appium/base-plugin@2.1.3 @appium/doctor@2.0.5 @appium/docutils@0.1.5 @appium/driver-test-support@0.3.5 @appium/execute-driver-plugin@3.0.5 @appium/fake-driver@5.1.3 @appium/fake-plugin@3.1.3 @appium/images-plugin@2.0.5 @appium/opencv@2.0.5 @appium/plugin-test-support@0.3.5 @appium/relaxed-caps-plugin@1.0.4 @appium/schema@0.2.3 @appium/support@3.1.3 @appium/test-support@3.0.5 @appium/tsconfig@0.2.3 @appium/typedoc-plugin-appium@0.3.3 @appium/types@0.8.3 @appium/universal-xml-plugin@1.0.4 appium@2.0.0-beta.52
2023-01-13 13:28:45 -08:00
Jonathan Lipps 9e0a313d7c chore: update lerna git head 2023-01-13 13:26:36 -08:00
Jonathan Lipps 84b211330d chore: publish
- appium@2.0.0-beta.51
 - @appium/base-driver@9.2.2
 - @appium/base-plugin@2.1.2
 - @appium/doctor@2.0.4
 - @appium/docutils@0.1.4
 - @appium/driver-test-support@0.3.4
 - @appium/execute-driver-plugin@3.0.4
 - @appium/fake-driver@5.1.2
 - @appium/fake-plugin@3.1.2
 - @appium/images-plugin@2.0.4
 - @appium/opencv@2.0.4
 - @appium/plugin-test-support@0.3.4
 - @appium/relaxed-caps-plugin@1.0.3
 - @appium/schema@0.2.2
 - @appium/support@3.1.2
 - @appium/test-support@3.0.4
 - @appium/tsconfig@0.2.2
 - @appium/typedoc-plugin-appium@0.3.2
 - @appium/types@0.8.2
 - @appium/universal-xml-plugin@1.0.3
@appium/base-driver@9.2.2 @appium/base-plugin@2.1.2 @appium/doctor@2.0.4 @appium/docutils@0.1.4 @appium/driver-test-support@0.3.4 @appium/execute-driver-plugin@3.0.4 @appium/fake-driver@5.1.2 @appium/fake-plugin@3.1.2 @appium/images-plugin@2.0.4 @appium/opencv@2.0.4 @appium/plugin-test-support@0.3.4 @appium/relaxed-caps-plugin@1.0.3 @appium/schema@0.2.2 @appium/support@3.1.2 @appium/test-support@3.0.4 @appium/tsconfig@0.2.2 @appium/typedoc-plugin-appium@0.3.2 @appium/types@0.8.2 @appium/universal-xml-plugin@1.0.3 appium@2.0.0-beta.51
2023-01-13 13:25:31 -08:00
Jonathan Lipps e77e5a2a4f chore: update lerna git head 2023-01-13 13:23:55 -08:00
Jonathan Lipps 35f4e2b7e4 chore: publish
- appium@2.0.0-beta.50
 - @appium/base-driver@9.2.1
 - @appium/base-plugin@2.1.1
 - @appium/doctor@2.0.3
 - @appium/docutils@0.1.3
 - @appium/driver-test-support@0.3.3
 - @appium/execute-driver-plugin@3.0.3
 - @appium/fake-driver@5.1.1
 - @appium/fake-plugin@3.1.1
 - @appium/images-plugin@2.0.3
 - @appium/opencv@2.0.3
 - @appium/plugin-test-support@0.3.3
 - @appium/relaxed-caps-plugin@1.0.2
 - @appium/schema@0.2.1
 - @appium/support@3.1.1
 - @appium/test-support@3.0.3
 - @appium/tsconfig@0.2.1
 - @appium/typedoc-plugin-appium@0.3.1
 - @appium/types@0.8.1
 - @appium/universal-xml-plugin@1.0.2
@appium/base-driver@9.2.1 @appium/base-plugin@2.1.1 @appium/doctor@2.0.3 @appium/docutils@0.1.3 @appium/driver-test-support@0.3.3 @appium/execute-driver-plugin@3.0.3 @appium/fake-driver@5.1.1 @appium/fake-plugin@3.1.1 @appium/images-plugin@2.0.3 @appium/opencv@2.0.3 @appium/plugin-test-support@0.3.3 @appium/relaxed-caps-plugin@1.0.2 @appium/schema@0.2.1 @appium/support@3.1.1 @appium/test-support@3.0.3 @appium/tsconfig@0.2.1 @appium/typedoc-plugin-appium@0.3.1 @appium/types@0.8.1 @appium/universal-xml-plugin@1.0.2 appium@2.0.0-beta.50
2023-01-13 13:19:27 -08:00
Jonathan Lipps 568e6d3b19 chore: ensure all packages mention public access in their publish config 2023-01-13 13:18:47 -08:00
Jonathan Lipps b48a697d5b chore: commit lerna publish changes 2023-01-13 13:12:00 -08:00
Jonathan Lipps 422142302f chore: publish
- appium@2.0.0-beta.49
 - @appium/base-driver@9.2.0
 - @appium/base-plugin@2.1.0
 - @appium/doctor@2.0.2
 - @appium/docutils@0.1.2
 - @appium/driver-test-support@0.3.2
 - @appium/execute-driver-plugin@3.0.2
 - @appium/fake-driver@5.1.0
 - @appium/fake-plugin@3.1.0
 - @appium/images-plugin@2.0.2
 - @appium/opencv@2.0.2
 - @appium/plugin-test-support@0.3.2
 - @appium/relaxed-caps-plugin@1.0.1
 - @appium/schema@0.2.0
 - @appium/support@3.1.0
 - @appium/test-support@3.0.2
 - @appium/tsconfig@0.2.0
 - @appium/typedoc-plugin-appium@0.3.0
 - @appium/types@0.8.0
 - @appium/universal-xml-plugin@1.0.1
@appium/base-driver@9.2.0 @appium/base-plugin@2.1.0 @appium/doctor@2.0.2 @appium/docutils@0.1.2 @appium/driver-test-support@0.3.2 @appium/execute-driver-plugin@3.0.2 @appium/fake-driver@5.1.0 @appium/fake-plugin@3.1.0 @appium/images-plugin@2.0.2 @appium/opencv@2.0.2 @appium/plugin-test-support@0.3.2 @appium/relaxed-caps-plugin@1.0.1 @appium/schema@0.2.0 @appium/support@3.1.0 @appium/test-support@3.0.2 @appium/tsconfig@0.2.0 @appium/typedoc-plugin-appium@0.3.0 @appium/types@0.8.0 @appium/universal-xml-plugin@1.0.1 appium@2.0.0-beta.49
2023-01-13 13:09:28 -08:00
Jonathan Lipps c65054c232 chore(relaxed-caps-plugin): take out of beta 2023-01-13 13:08:17 -08:00
Jonathan Lipps 888d892a17 chore(universal-xml-plugin): take xml plugin out of beta 2023-01-13 13:07:48 -08:00
Christopher Hiller 4f65cb3865 chore(typedoc-plugin-appium): fussing
- made test helpers more sane
- add a test or two
- export a `setup` fn from main entry point to configure options and theme
2023-01-13 11:49:57 -08:00
Christopher Hiller e98928a39d chore(typedoc-plugin-appium): make empty test a pending 2023-01-13 11:49:57 -08:00
Christopher Hiller 03c505d321 chore(typedoc-plugin-appium): wrap all tests in same suite title
Everything else here is whitespace.

Using this pattern helps with some 3p tools to navigate tests in the monorepo, as they can easily be grouped by the top-level suite title
2023-01-13 11:49:57 -08:00
Christopher Hiller 2a12b88b2f feat(typedoc-plugin-appium): display response type
This now displays the type of the response in the command output.  Since all return types from commands are `Promise<T>`, it unwraps `T` and displays only that (since `Promise` is very specific to JS).
2023-01-13 11:49:57 -08:00
Christopher Hiller 734127144d chore(typedoc-plugin-appium): tweak guard; avoid bad link 2023-01-13 11:49:57 -08:00
Christopher Hiller 8c421220c5 chore(typedoc-plugin-appium): remove unused import 2023-01-13 11:49:57 -08:00
Christopher Hiller 0cad4b785c chore(typedoc-plugin-appium): rename some vars 2023-01-13 11:49:57 -08:00
Christopher Hiller 00e7e3f1ef chore(wallaby): add templates to wallaby, enabling theme tests 2023-01-13 11:49:57 -08:00
Christopher Hiller 75183ba38b chore(typedoc-plugin-appium): refactored some stuff that didn't make sense
- better test organization
- plugin now exports a couple `Promise`-returning functions for programmatic consumption. TypeDoc doesn't use these, but they're helpful to test with
- simplified `omitDefaultReflections()`; moved into `converter/builder` module since it's a post-conversion thing
2023-01-13 11:49:57 -08:00
Jonathan Lipps ad1dce5545 fix(base-driver): move setClipboard deprecation to correct place 2023-01-13 09:45:11 -08:00