Commit Graph

9183 Commits

Author SHA1 Message Date
renovate[bot] dd0304ef84 chore(universal-xml-plugin): update dependency @xmldom/xmldom to v0.8.4 2022-10-30 08:37:46 +00:00
renovate[bot] 1342e13992 chore(base-driver): update dependency async-lock to v1.4.0 2022-10-29 13:50:17 +00:00
renovate[bot] 82fd2613dd chore(types): update webdriverio monorepo to v7.25.4 2022-10-29 07:37:47 +00:00
renovate[bot] 2c10285a8f chore(): update dependency midnight-smoker to v1.2.1 2022-10-28 06:51:15 +00:00
Mykola Mokhnach 32a2616c36 fix(support): Make upgradable versions parsing more permissive (#17666) 2022-10-27 22:01:13 +02:00
renovate[bot] 3671178d00 chore(support): update dependency @types/semver to v7.3.13 2022-10-27 14:06:15 +00:00
renovate[bot] 8ceff40b3c chore(): update dependency @types/node to v16.18.2 2022-10-27 10:29:24 +00:00
Dor Blayzer 94ee0a4127 chore(github): Replace old version of issues template (#17645)
* Update issue templates

Add bug and Feature report templates

* Delete ISSUE_TEMPLATE.md

Remove old version of Issue_template
2022-10-26 13:20:34 -07:00
renovate[bot] 85ef66a16b chore(doctor): update dependency appium-adb to v9.10.14 2022-10-26 07:24:00 +00:00
renovate[bot] 089bfcce09 chore(): update dependency ws to v8.10.0 2022-10-25 09:34:40 +00:00
Kazuaki Matsuo 52a931a8c2 docs(appium): address ruby_core_lib as recommended one (#17643)
* docs(appium): address ruby_core_lib as recommended one

* Update test-rb.md
2022-10-24 21:38:33 -07:00
Christopher Hiller 0bd4e40b38 chore(base-driver,types): implement better types for custom log formats
Previously, the value of any `Driver#supportedLogTypes` prop would ultimately be unaware of what format the log data is actually stored in (and thus, what the `GET /session/:sessionId/log` cmd responds with).  Now this can be declared by using the `LogDef<C extends Constraints, LogEntry = string>` type.

Example:

```js
  supportedLogTypes = {
    debug: /** @type {import('@appium/types').LogDef<RokuDriverCapConstraints, string>} */ ({
      description: 'Roku debug logs',
      /** @param {RokuDriver} driver */
      async getter(driver) {
        return await ['foo'];
      },
    }),
  };
```

This is a log named `debug` which stores strings.  The `getter` function is always expected to return a type of `LogEntry[]` and receives a type of `Driver<C>`. In this case, it's the default log entry type (`string`) and `RokuDriver`, which implements `Driver<RokuDriverCapConstraints>` where `RokuDriverCapConstraints` extends `Constraints`.

It was kind of tricky since `supportedLogTypes` is an instance field and we don't have access to `this`, so cannot derive the type of the `driver` parameter from it, nor can we use `this` in the `ILogCommands` interface.

Renamed these various mixin interfaces to be prefixed with `I`. All of the mixins themselves (the implementations) are now driver-aware via the `C` type parameter and thus can reference driver-specific caps or options, if needed.
2022-10-24 15:07:59 -07:00
Mike Salvia fe4c6d68a0 feat(appium): Add colorized console logs to Appium (2.x) (#17481)
* Colorizing console logs

* Push package-lock.json changes

* Remove chalk

* Cleaner code

* Address comments

* Revert "Push package-lock.json changes"

This reverts commit bc727279a6.
2022-10-24 13:47:29 -07:00
renovate[bot] 8abcb6be8d chore(): update dependency @types/node to v16.18.0 2022-10-24 10:14:29 +00:00
renovate[bot] 720f18145d chore(doctor): update dependency appium-adb to v9.10.13 2022-10-22 10:40:19 +00:00
renovate[bot] 79e063b4cf chore(gulp-plugins): update dependency eslint to v8.26.0 2022-10-22 08:33:15 +00:00
renovate[bot] 611608ecff chore(gulp-plugins): update dependency eslint-plugin-promise to v6.1.1 2022-10-20 16:22:41 +00:00
renovate[bot] 1d451bf74a chore(gulp-plugins): update dependency @babel/core to v7.19.6 2022-10-20 13:00:10 +00:00
Kazuaki Matsuo 4842ecc329 chore(doctor): cleanup node detector (#17628)
* chore: remove unused .appiumconfig.json stuff

* chore(doctor): cleanup node detector

* clean a bit

* fix test

* remove retrieveInCommonPlaces as well

* Update node-detector.js
2022-10-20 01:13:07 -07:00
Girish Nair e261b3c53d docs: updated broken links for #17436 (#17633) 2022-10-20 00:42:13 -07:00
Kazuaki Matsuo 22d5b2fd9e feat(doctor): print APPIUM_HOME (#17625)
* feat(doctor): print APPIUM_HOME

* fix review
2022-10-19 14:59:47 -07:00
renovate[bot] 13f4dfca43 chore(): update dependency midnight-smoker to v1.2.0 2022-10-19 11:14:16 +00:00
renovate[bot] 5d0fe8afe5 chore(): update dependency @types/node to v16.11.68 2022-10-19 08:24:10 +00:00
renovate[bot] b2751a9eb3 chore(gulp-plugins): update dependency @octokit/rest to v19 2022-10-18 13:47:46 -07:00
ian.zhang c0d569b05b Update migrating-1-to-2
Submit zh version
2022-10-18 13:47:17 -07:00
Christopher Hiller 125a68fe47 fix(opencv,support): override jpeg-js version
Jimp will not get upgraded so we need to do this to avoid the vuln in older versions of jpeg-js.
I also removed the relative deps from the monorepo root since they seemed to befoul the overrides. They are no longer needed due to workspaces (I think)
2022-10-18 13:33:08 -07:00
Christopher Hiller 3f047cc56f fix(universal-xml-plugin): use @xmldom/xmldom instead of xmldom
avoids vuln
2022-10-18 13:28:28 -07:00
Christopher Hiller bf8f6cda26 chore(): do not publish tsconfig.tsbuildinfo 2022-10-17 13:40:41 -07:00
renovate[bot] ff8d63c70a chore(gulp-plugins): update dependency mocha to v10.1.0 2022-10-16 09:50:58 +00:00
renovate[bot] 78e6a20ea7 chore(doctor): update dependency appium-adb to v9.10.12 2022-10-16 07:46:38 +00:00
renovate[bot] c0e0db78a8 chore(): update dependency @types/node to v16.11.66 2022-10-16 01:47:41 +00:00
renovate[bot] 55d50f614f chore(execute-driver-plugin): update dependency webdriverio to v7.25.2 2022-10-15 08:40:52 +00:00
Christopher Hiller 6b3cc1a874 Publish
- appium@2.0.0-beta.46
 - @appium/base-driver@8.7.3
 - @appium/base-plugin@1.10.5
 - @appium/doctor@1.16.28
 - @appium/docutils@0.0.13
 - @appium/fake-plugin@2.1.3
 - @appium/gulp-plugins@7.0.8
 - @appium/support@2.61.1
 - @appium/test-support@2.0.2
@appium/base-driver@8.7.3 @appium/base-plugin@1.10.5 @appium/doctor@1.16.28 @appium/docutils@0.0.13 @appium/fake-plugin@2.1.3 @appium/gulp-plugins@7.0.8 @appium/support@2.61.1 @appium/test-support@2.0.2 appium@2.0.0-beta.46
2022-10-14 14:02:09 -07:00
Christopher Hiller 51d6d69ff1 fix(basedriver): ensure "opts" is defined at time of construction 2022-10-14 14:01:07 -07:00
renovate[bot] 8c092b1172 chore(support): update dependency shell-quote to v1.7.4 2022-10-14 11:45:38 +00:00
renovate[bot] b7bd6b426a chore(workflows): update actions/setup-node digest to 8c91899 2022-10-14 08:08:01 +00:00
Dor Blayzer 8c6f8fff44 docs: update clients.md (#17606)
Add .NET client set of Appium command example
2022-10-13 22:13:33 -07:00
renovate[bot] 55f4bdca0e chore(gulp-plugins): update dependency eslint-plugin-promise to v6.1.0 2022-10-14 02:47:23 +00:00
Jonathan Lipps f545a6cde5 Publish
- appium@2.0.0-beta.45
 - @appium/base-driver@8.7.2
 - @appium/base-plugin@1.10.4
 - @appium/doctor@1.16.27
 - @appium/docutils@0.0.12
 - @appium/driver-test-support@0.2.1
 - @appium/execute-driver-plugin@2.0.6
 - @appium/fake-driver@4.2.2
 - @appium/fake-plugin@2.1.2
 - @appium/gulp-plugins@7.0.7
 - @appium/images-plugin@1.3.7
 - @appium/opencv@1.0.13
 - @appium/plugin-test-support@0.2.1
 - @appium/relaxed-caps-plugin@1.0.0-beta.13
 - @appium/support@2.61.0
 - @appium/test-support@2.0.1
 - @appium/types@0.5.0
 - @appium/universal-xml-plugin@1.0.0-beta.15
@appium/base-driver@8.7.2 @appium/base-plugin@1.10.4 @appium/doctor@1.16.27 @appium/docutils@0.0.12 @appium/driver-test-support@0.2.1 @appium/execute-driver-plugin@2.0.6 @appium/fake-driver@4.2.2 @appium/fake-plugin@2.1.2 @appium/gulp-plugins@7.0.7 @appium/images-plugin@1.3.7 @appium/opencv@1.0.13 @appium/plugin-test-support@0.2.1 @appium/relaxed-caps-plugin@1.0.0-beta.13 @appium/support@2.61.0 @appium/test-support@2.0.1 @appium/types@0.5.0 @appium/universal-xml-plugin@1.0.0-beta.15 appium@2.0.0-beta.45
2022-10-13 16:25:16 -07:00
renovate[bot] c7072027d6 chore(workflows): update actions/checkout digest to 93ea575 2022-10-11 19:04:38 +00:00
renovate[bot] ed8b65ce72 chore(gulp-plugins): update dependency @babel/preset-env to v7.19.4 2022-10-11 18:43:03 +00:00
Mykola Mokhnach 9399654c8a docs: Delete the absolute requirements section 2022-10-11 15:19:21 +02:00
Mykola Mokhnach 1547c7535e docs: Update Appium 2 installation tutorial (#17590) 2022-10-11 15:15:32 +02:00
renovate[bot] b18ba50f8e chore(fake-driver): update dependency @xmldom/xmldom to v0.8.3 2022-10-11 09:58:42 +00:00
renovate[bot] 24a0efd695 chore(types): update dependency type-fest to v3.1.0 2022-10-10 10:13:17 +00:00
renovate[bot] 2a452cec4b chore(base-driver): update dependency express to v4.18.2 2022-10-09 08:06:46 +00:00
renovate[bot] 8c7acd52a5 chore(gulp-plugins): update dependency eslint to v8.25.0 2022-10-08 07:34:35 +00:00
renovate[bot] 5bca642efa chore(base-driver): update dependency body-parser to v1.20.1 2022-10-07 13:18:13 +00:00
Mykola Mokhnach 6c451e1f7d chore(appium): Remove logging from adjustNodePath helper (#17578) 2022-10-07 10:58:56 +02:00
Christopher Hiller 9ce09845c8 chore(): replaced a ternary 2022-10-06 15:30:22 -07:00