Commit Graph

9510 Commits

Author SHA1 Message Date
Kazuaki Matsuo c61fe7df69 docs(appium): adjust grid docs from appium.io (#17626)
* docs(appium): adjust grid

* Apply suggestions from code review

Co-authored-by: Christopher Hiller <boneskull@boneskull.com>

* update grid url

Co-authored-by: Christopher Hiller <boneskull@boneskull.com>
2022-11-02 00:23:46 -07:00
renovate[bot] 8e9692fae7 chore(js): pin dependency webdriverio to 7.25.4 2022-11-02 06:34:13 +00:00
Christopher Hiller 4fd887cf99 chore(renovate): blacklist more esm-only packages 2022-11-01 16:12:04 -07:00
Christopher Hiller b6825633c7 chore(renovate): remove baseBranches
the default uses the default branch, which is what we want
2022-11-01 16:08:44 -07:00
Christopher Hiller 9a7cb33b16 chore(renovate): fix typo in group 2022-11-01 16:05:26 -07:00
Christopher Hiller 7554f8ab94 chore(renovate): override base branch 2022-11-01 16:03:02 -07:00
Christopher Hiller d72010ad8b chore(renovate): fix renovate redux 2022-11-01 16:00:31 -07:00
Christopher Hiller 7945d77e6c chore(renovate): attempt to fix renovate 2022-11-01 15:56:44 -07:00
renovate[bot] b7b9453a5c chore(support): update dependency axios to v1 (#17568) 2022-11-01 14:22:52 +01:00
Christopher Hiller aa415bc646 fix(support): force type of promisified read() 2022-10-31 16:02:44 -07:00
renovate[bot] 0617492f3f chore(): update dependency @types/node to v18 2022-10-31 16:02:44 -07:00
Christopher Hiller 97522a7170 chore(opencv): increase test timeout 2022-10-31 16:02:20 -07:00
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