Commit Graph

10029 Commits

Author SHA1 Message Date
renovate[bot] 6499eea0af fix(execute-driver-plugin): update dependency webdriverio to v7.31.1 2023-04-30 14:16:26 +00:00
renovate[bot] add0eaa05f fix(opencv): update dependency sharp to v0.32.1 2023-04-30 11:57:53 +00:00
renovate[bot] 3d1e4af858 fix(docutils): update dependency yargs to v17.7.2 2023-04-30 08:22:18 +00:00
renovate[bot] e7df6fd4f0 fix(doctor): update dependency appium-adb to v9.11.2 2023-04-29 14:13:53 +00:00
renovate[bot] c37072e6a9 chore(deps): update definitelytyped 2023-04-29 11:44:08 +00:00
renovate[bot] 864ab11b8a chore(deps): update dependency @types/node to v18.16.2 2023-04-28 12:07:07 +00:00
Mykola Mokhnach 4f564ef7ad fix(base-driver): Ignore unknown script arguments (#18575) 2023-04-27 22:40:20 +02:00
renovate[bot] b2bda2188b chore(deps): update dependency lint-staged to v13.2.2 2023-04-27 16:34:23 +00:00
renovate[bot] ddadd6977d fix(docutils): update dependency yaml to v2.2.2 2023-04-26 16:47:33 +00:00
renovate[bot] fa681f6355 chore(docutils): update dependency mkdocs-material to v9.1.8 2023-04-26 11:08:15 +00:00
renovate[bot] 522177f1d3 chore(deps): update dependency @types/node to v18.16.1 2023-04-26 11:05:08 +00:00
Mykola Mokhnach ab7958c8e8 refactor(images-plugin): Replace Jimp usages with Sharp (#18572) 2023-04-26 07:24:50 +02:00
renovate[bot] 1e4bc0a273 chore(deps): update eslint-related packages to v5.59.1 2023-04-25 14:48:45 +00:00
Mykola Mokhnach 9f8b9cef70 chore: Tune elements caching logic (#18570) 2023-04-25 10:09:48 +02:00
Mykola Mokhnach 2fb844c8ad fix(opencv): Make sure allocated CV objects are properly released afterwards (#18569) 2023-04-25 06:06:43 +02:00
Mykola Mokhnach 2796639b11 feat(image-plugin): Make it possible to find elements inside of other elements (#18555) 2023-04-24 22:22:53 +02:00
renovate[bot] 65f74d818f chore(deps): update eslint-related packages 2023-04-24 14:02:37 +00:00
renovate[bot] cf398bdfd6 chore(deps): update dependency @types/node to v18.16.0 2023-04-24 10:00:15 +00:00
renovate[bot] ddfca214bf chore(deps): update dependency prettier to v2.8.8 2023-04-23 12:30:05 +00:00
renovate[bot] 0f19902918 chore(docutils): update dependency mkdocs-material to v9.1.7 2023-04-23 08:57:51 +00:00
renovate[bot] 9ad7279fa7 fix(test-support): update dependency sinon to v15.0.4 2023-04-22 13:19:04 +00:00
renovate[bot] 66922279b7 fix(support): update dependency axios to v1.3.6 2023-04-22 08:26:47 +00:00
renovate[bot] 61ca898c47 fix(execute-driver-plugin): update dependency vm2 to v3.9.17 2023-04-21 14:04:24 +00:00
renovate[bot] d3c30e5079 chore(deps): update definitelytyped 2023-04-21 09:22:50 +00:00
Jonathan Lipps 35b5ac72ab docs(appium): remove client plugin from migration guide since it's not really a thing yet 2023-04-20 13:57:55 -07:00
Christopher Hiller a4a816efeb chore: publish
- appium@2.0.0-beta.66
 - @appium/doctor@2.0.14
 - @appium/docutils@0.3.9
 - @appium/strongbox@0.3.0
@appium/doctor@2.0.14 @appium/docutils@0.3.9 @appium/strongbox@0.3.0 appium@2.0.0-beta.66
2023-04-20 12:17:55 -07:00
Christopher Hiller 93bddb4c73 feat(strongbox): allow rimraf of entire container
BREAKING CHANGE: The signature for an `ItemCtor` has changed. The second parameter is now a type extending `Strongbox` instead of a `container` string.  This allows for deeper integration between a custom `Item` implementation and a custom `Strongbox` implementation. Further, a custom `container` now must be an absolute path after it's been slugified.

- The `Strongbox.clearAll()` method now accepts a `force` param which, if `true`, will rimraf the entire container.
- Added two methods to the `Strongbox` class which can be overridden to accept custom options, apply defaults to those options, then validate and/or transform them.
- Added nearly-complete unit test coverage and added E2E coverage of the `BaseItem` implementation.
2023-04-20 12:16:41 -07:00
Christopher Hiller 8627d75a47 chore: fix wallaby config
as apparently I do not understand its glob syntax
2023-04-20 12:16:41 -07:00
renovate[bot] 45cd43488c fix(doctor): update dependency appium-adb to v9.11.1 2023-04-20 16:13:40 +00:00
Christopher Hiller c85b89ecbe fix(docutils): do not bail when no site_dir found
Also fix a couple borked log messages
2023-04-19 14:03:03 -07:00
Kazuaki Matsuo 1f9a625f00 docs(appium): fix links in languages (#18546) 2023-04-19 11:45:13 -07:00
Christopher Hiller b9ef676b73 chore: publish
- appium@2.0.0-beta.65
 - @appium/docutils@0.3.8
 - @appium/typedoc-plugin-appium@0.6.3
@appium/docutils@0.3.8 @appium/typedoc-plugin-appium@0.6.3 appium@2.0.0-beta.65
2023-04-18 16:52:19 -07:00
Christopher Hiller 66459e991e chore(typedoc-plugin-appium): add basic snapshot tests 2023-04-18 16:51:15 -07:00
Christopher Hiller 5a70d7ce78 fix(typedoc-plugin-appium): fix parameter display for execute methods 2023-04-18 16:51:15 -07:00
renovate[bot] 611a63f0ae chore(deps): update dependency midnight-smoker to v2.0.3 2023-04-18 14:12:07 +00:00
renovate[bot] e4863778c7 chore(deps): update dependency @types/sinon to v10.0.14 2023-04-18 08:05:39 +00:00
Jonathan Lipps 0ff735598a test(support): update image path for download test 2023-04-17 16:15:17 -07:00
Vishal Shah 5d705851f2 docs(appium): adding nightwatch to client list in ecosystem (#18518)
* docs: adding nightwatch to client list in ecosystem

* docs: adding nightwatch to client list in ecosystem
2023-04-17 14:53:28 -07:00
Jonathan Lipps 6ba5c52e98 docs: just use appium.io for github page frontend 2023-04-17 14:31:08 -07:00
Christopher Hiller a314166585 chore(renovate): improvements to appium group
This ensures all Appium packages from the monorepo get updated at once.
2023-04-17 14:03:03 -07:00
Christopher Hiller fe96af91f2 chore(ci): disable PR preview
The PR preview won't work when run from forks because there's no safe way to let forks write to our own `gh-pages` branch.

We'll need to find another strategy to get this working again.

For now, the docs build just builds the docs, like it did before.
2023-04-17 14:01:38 -07:00
Christopher Hiller 52ae548ddc chore(renovate): move renovate check into its own workflow
This was causing checks to not happen because of the path filter.
2023-04-17 11:19:27 -07:00
renovate[bot] 9214c15d58 chore(deps): update commitlint monorepo to v17.6.1 2023-04-14 23:28:47 +00:00
Christopher Hiller 11406e4879 chore: publish
- appium@2.0.0-beta.64
 - @appium/base-driver@9.3.7
 - @appium/base-plugin@2.2.7
 - @appium/doctor@2.0.13
 - @appium/docutils@0.3.7
 - @appium/driver-test-support@0.4.5
 - @appium/fake-plugin@3.1.11
 - @appium/plugin-test-support@0.3.13
 - @appium/support@3.1.11
 - @appium/test-support@3.0.13
 - @appium/types@0.11.0
@appium/base-driver@9.3.7 @appium/base-plugin@2.2.7 @appium/doctor@2.0.13 @appium/docutils@0.3.7 @appium/driver-test-support@0.4.5 @appium/fake-plugin@3.1.11 @appium/plugin-test-support@0.3.13 @appium/support@3.1.11 @appium/test-support@3.0.13 @appium/types@0.11.0 appium@2.0.0-beta.64
2023-04-14 12:32:15 -07:00
Christopher Hiller 640e0ae30f chore(appium,fake-plugin): squelch eslint warnings
I am not sure why the `@typescript/eslint` rule overrides the ESLint one, but it does. Squelched!
2023-04-14 12:23:54 -07:00
Christopher Hiller 6245022be9 fix(basedriver): allow arbitrary session data to be returned by getSession
This removes the implementation of `ISessionCommands` and moves the methods into the class proper (see previous changeset for reasoning).
2023-04-14 12:23:54 -07:00
Christopher Hiller 91abd5b598 fix(types): driver-specific session data now allowed
BREAKING CHANGE: `Driver.proxyCommand` now returns `Promise<unknown>` by default.  In strict mode, this forces an extension calling `this.proxyCommand()` to explicitly type the return value (because it's unknown!).

Otherwise, this concerns the `SingularSessionData` type and the function which returns it (`getSession()`).  `Driver` now accepts a type param to add arbitrary properties to the value returned by `getSession()`--as this is in-line with `XCUITestDriver` is doing.  This param is provided as the new optional second type param to `SingularSessionData`.

Further, it removes the `ISessionCommands` interface, because I didn't understand how to write it such that an isolated implementation could use the type parameter from the class it belongs to. This is probably doable, but seems icky, and I didn't want to fight with it.  It's easier to just move the implementation into the class itself, which is what will happen in `BaseDriver` (see next changeset).
2023-04-14 12:23:54 -07:00
renovate[bot] 78bc0926db fix(driver-test-support): update dependency @types/lodash to v4.14.194 2023-04-14 19:17:10 +00:00
Mohanjith Sudirikku Hannadige 59e4367cc8 fix(support): prevent s3 presigned post request failing in http upload (#18519)
AWS S3 expects file field to be the last field in the POST request.

Currently it is the first field and that prevents AWS from parsing the
other POST fields and request gives 400 error.

With the change, it makes it possible to provide formFields necessary
for http upload to S3 from appium.

Use case:

mobile: stopMediaProjectionRecording can upload screen recording to S3
for further processing
2023-04-14 13:30:32 +02:00
renovate[bot] c7d9a456d8 chore(workflows): update actions/checkout digest to 8e5e7e5 2023-04-14 09:17:28 +00:00