Commit Graph

9198 Commits

Author SHA1 Message Date
Christopher Hiller
26dc2ff6a4 chore(): remove lerna & script cruft 2022-10-31 16:02:20 -07:00
Christopher Hiller
ac67d871eb docs(appium): update README.md 2022-10-31 16:02:20 -07:00
Christopher Hiller
9e190cc95b chore(appium,support): fix teen_process types
Version 2 of the types introduced breaking changes for ...some reason.
2022-10-31 16:02:05 -07:00
Christopher Hiller
57d4d8b51c chore(): cleanup package lock 2022-10-31 16:02:05 -07:00
Christopher Hiller
fcef7c1273 chore(renovate): rename renovate config 2022-10-31 16:02:05 -07:00
Christopher Hiller
825c4edf17 chore(renovate): use shared config and group teen_process pkgs 2022-10-31 16:02:05 -07:00
renovate[bot]
914c946883 chore(support): update dependency @types/teen_process to v2 2022-10-31 16:02:05 -07:00
Christopher Hiller
93f939982f chore(github): replace bug report template with bug report form 2022-10-31 13:26:22 -07:00
Christopher Hiller
298c06aede chore(appium/test): compare config file e2e test results against static object
previously, the tests would just call `normalizeConfig()` to determine the expected value of an assertion.  `normalizeConfig()` is what the code under test uses.  so if there's a problem in `normalizeConfig()`, this wouldn't get caught.  now it will.
2022-10-31 13:22:36 -07:00
Christopher Hiller
47f64ffcb7 chore(appium/test): make e2e subprocess output less noisy
Use `_FORCE_LOGS=1` to print all of the exec commands

also fixes a type
2022-10-31 13:22:36 -07:00
Christopher Hiller
713cc796c3 chore(appium/test): normalize fixture filenames 2022-10-31 13:22:36 -07:00
Christopher Hiller
1f89d7c2ff fix(appium): ensure appiumCliDest is recognized by config file normalizer
Closes #17638
2022-10-31 13:22:36 -07:00
Christopher Hiller
62c330505c feat(renovate-config): create reusable renovate config 2022-10-31 13:14:27 -07:00
renovate[bot]
00553c86ff chore(universal-xml-plugin): update dependency @xmldom/xmldom to v0.8.5 2022-10-31 10:16:44 +00:00
renovate[bot]
f0aebea4bd chore(): update dependency @types/node to v16.18.3 2022-10-31 09:54:57 +00:00
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