# Testing signals — webdriverio/webdriverio

> Canonical page: https://codevetter.com/unpack/webdriverio/testing-signals

# Testing signals — webdriverio/webdriverio

Scanned commit dbf0f497130676040ce4212d9cf6459adfe16c42 (2026-10-01). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

Tests and CI were inspected, not executed; their existence does not establish passing results. The bounded inspection found Vitest unit tests, type compilation fixtures, a custom smoke harness, real-browser e2e suites, and component tests. Mock-heavy unit coverage is complemented by selected integration tests, but configuration deliberately suppresses some error and coverage signals. CI execution depends on changed paths, branch, operating system, and selected matrix mode.
- The inspected unit suite uses Vitest and packages/**/*.test.ts, globally installs a fetch mock, and sets WDIO_SKIP_DRIVER_SETUP=1; this investigation produced no unit-test execution result. — [vitest.config.ts#L1-L19](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/vitest.config.ts#L1-L19) [vitest.config.ts#L41-L44](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/vitest.config.ts#L41-L44) [package.json#L48-L50](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/package.json#L48-L50)
- Unit configuration sets dangerouslyIgnoreUnhandledErrors and typecheck.ignoreSourceErrors, disables coverage by default, and excludes the BiDi handler from coverage; watermark values are configured but are not evidence of achieved coverage. — [vitest.config.ts#L5-L10](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/vitest.config.ts#L5-L10) [vitest.config.ts#L23-L39](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/vitest.config.ts#L23-L39)
- Screenshot unit tests mock filesystem access/writes and browser capture calls; inspected cases cover Classic options rejection, BiDi iframe/full-page/clip behavior, and invalid format, extension, quality, or clip inputs. — [packages/webdriverio/tests/node/saveScreenshot.test.ts#L6-L33](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/packages/webdriverio/tests/node/saveScreenshot.test.ts#L6-L33) [packages/webdriverio/tests/node/saveScreenshot.test.ts#L35-L113](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/packages/webdriverio/tests/node/saveScreenshot.test.ts#L35-L113)
- Request tests mock Undici and fetch, then assert fresh timeout signals across retries, preservation of transformRequest signals, per-session dispatcher reuse, and cleanup specifically on session deletion. — [packages/webdriver/tests/request.test.ts#L14-L24](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/packages/webdriver/tests/request.test.ts#L14-L24) [packages/webdriver/tests/request.test.ts#L516-L579](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/packages/webdriver/tests/request.test.ts#L516-L579) [packages/webdriver/tests/request.test.ts#L659-L713](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/packages/webdriver/tests/request.test.ts#L659-L713)
- Launcher tests mock config, logging, and driver setup; inspected test declarations cover retry requeue ordering, worker limits, grouped specs, hooks, and shutdown. Shared-store tests instead explicitly start a server and issue fetch requests. — [packages/wdio-cli/tests/launcher.test.ts#L12-L25](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/packages/wdio-cli/tests/launcher.test.ts#L12-L25) [packages/wdio-cli/tests/launcher.test.ts#L303-L389](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/packages/wdio-cli/tests/launcher.test.ts#L303-L389) [packages/wdio-cli/tests/launcher.test.ts#L489-L690](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/packages/wdio-cli/tests/launcher.test.ts#L489-L690) [packages/wdio-shared-store-service/tests/server.test.ts#L21-L57](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/packages/wdio-shared-store-service/tests/server.test.ts#L21-L57)
- The smoke harness runs selected tests sequentially in CI and all tests concurrently locally without a filter; contributor documentation explains that its mock WebDriver service supplies predefined driver responses. — [tests/smoke.runner.js#L45-L70](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/tests/smoke.runner.js#L45-L70) [CONTRIBUTING.md#L82-L86](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/CONTRIBUTING.md#L82-L86)
- Real-browser examples include DOM snapshots and masked input, while React component tests render and click a component. However, the Preact and miscellaneous component scripts use successful echo commands before ||, bypassing their wdio commands. — [e2e/wdio/headless/test.e2e.ts#L45-L59](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/e2e/wdio/headless/test.e2e.ts#L45-L59) [e2e/browser-runner/react.test.tsx#L11-L28](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/e2e/browser-runner/react.test.tsx#L11-L28) [e2e/package.json#L11-L13](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/e2e/package.json#L11-L13) [e2e/package.json#L29-L29](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/e2e/package.json#L29-L29)
- Inspected CI selects suites by changed paths, uses full or reduced Node/OS unit matrices, gates cloud tests to main, and builds English plus Arabic documentation. Typing checks compile webdriver, webdriverio, Mocha, Jasmine, and Cucumber fixtures; none of these checks was executed here. — [.github/workflows/test.yml#L36-L85](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/.github/workflows/test.yml#L36-L85) [.github/workflows/test-unit.yml#L20-L26](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/.github/workflows/test-unit.yml#L20-L26) [.github/workflows/test.yml#L146-L151](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/.github/workflows/test.yml#L146-L151) [.github/workflows/test-docs.yml#L28-L50](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/.github/workflows/test-docs.yml#L28-L50) [package.json#L42-L47](https://github.com/webdriverio/webdriverio/blob/dbf0f497130676040ce4212d9cf6459adfe16c42/package.json#L42-L47)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
