Skip to content

fix(webdriverio): support mock for cdp and w3c #65

fix(webdriverio): support mock for cdp and w3c

fix(webdriverio): support mock for cdp and w3c #65

Triggered via pull request March 27, 2025 18:54
Status Failure
Total duration 5m 46s
Artifacts 4

test.yml

on: pull_request
Build  /  build
1m 51s
Build / build
Static Code Analysis  /  Static Code Analysis
52s
Static Code Analysis / Static Code Analysis
Matrix: Component Tests / check
Matrix: Smoke Tests / check
Matrix: Unit Tests / check
Typing Tests  /  Typing Tests
42s
Typing Tests / Typing Tests
Interop Tests  /  CJS Interoperability Tests
40s
Interop Tests / CJS Interoperability Tests
E2E Tests  /  Cloud Connection Tests
E2E Tests / Cloud Connection Tests
Matrix: E2E Tests / launch_check
Waiting for pending jobs
Matrix: E2E Tests / multiremote_check
Waiting for pending jobs
Matrix: E2E Tests / standalone_check
Waiting for pending jobs
Matrix: E2E Tests / testrunner_check
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

107 errors
Smoke Tests / Smoke Test (ubuntu-latest.20)
Process completed with exit code 1.
Smoke Tests / Smoke Test (ubuntu-latest.22)
Process completed with exit code 1.
Typing Tests / Typing Tests
Process completed with exit code 1.
Typing Tests / Typing Tests
Property 'response' does not exist on type 'Matches'.
Typing Tests / Typing Tests
Property 'isBlocked' does not exist on type 'Matches'.
Typing Tests / Typing Tests
Expected 1 arguments, but got 0.
Typing Tests / Typing Tests
Argument of type 'true' is not assignable to parameter of type 'ErrorReason'.
Smoke Tests / Smoke Test (macos-latest.22)
Process completed with exit code 1.
Smoke Tests / Smoke Test (ubuntu-latest.18.20.0)
Process completed with exit code 1.
packages/wdio-appium-service/tests/launcher.test.ts: packages/wdio-appium-service/tests/launcher.test.ts#L51
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/wdio-appium-service/tests/launcher.test.ts:51:25 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/wdio-allure-reporter/tests/suite.test.ts > devtools command reporting > should attach screenshot on hook failure: packages/wdio-allure-reporter/tests/suite.test.ts#L907
AssertionError: expected [ { …(14) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ packages/wdio-allure-reporter/tests/suite.test.ts:907:29
packages/wdio-allure-reporter/tests/suite.test.ts > webdriver command reporting > should attach screenshot on hook failure: packages/wdio-allure-reporter/tests/suite.test.ts#L907
AssertionError: expected [ { …(14) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ packages/wdio-allure-reporter/tests/suite.test.ts:907:29
packages/wdio-allure-reporter/tests/suite.test.ts > Hook reporting > should report failed before each hook: packages/wdio-allure-reporter/tests/suite.test.ts#L556
AssertionError: expected undefined to be defined ❯ packages/wdio-allure-reporter/tests/suite.test.ts:556:26
packages/devtools/tests/utils.test.ts: packages/devtools/tests/utils.test.ts#L32
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/utils.test.ts:32:25 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/launcher.test.ts: packages/devtools/src/launcher.ts#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/launcher.ts:3:31 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/index.test.ts: packages/devtools/tests/index.test.ts#L6
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/index.test.ts:6:25 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/elementStore.test.ts > should clear elements of a specific frame: packages/devtools/tests/elementStore.test.ts#L51
AssertionError: expected +0 to be 2 // Object.is equality - Expected + Received - 2 + 0 ❯ packages/devtools/tests/elementStore.test.ts:51:37
packages/devtools/tests/devtoolsdriver.test.ts: packages/devtools/src/devtoolsdriver.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/devtoolsdriver.ts:2:31 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/devtools.test.ts: packages/devtools/src/index.ts#L5
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/index.ts:5:31 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
Component Tests / Component Test (macos-latest.20)
Process completed with exit code 1.
packages/wdio-appium-service/tests/launcher.test.ts: packages/wdio-appium-service/tests/launcher.test.ts#L51
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/wdio-appium-service/tests/launcher.test.ts:51:25 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/wdio-allure-reporter/tests/suite.test.ts > devtools command reporting > should attach screenshot on hook failure: packages/wdio-allure-reporter/tests/suite.test.ts#L907
AssertionError: expected [ { …(14) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ packages/wdio-allure-reporter/tests/suite.test.ts:907:29
packages/wdio-allure-reporter/tests/suite.test.ts > webdriver command reporting > should attach screenshot on hook failure: packages/wdio-allure-reporter/tests/suite.test.ts#L907
AssertionError: expected [ { …(14) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ packages/wdio-allure-reporter/tests/suite.test.ts:907:29
packages/wdio-allure-reporter/tests/suite.test.ts > Hook reporting > should report failed before each hook: packages/wdio-allure-reporter/tests/suite.test.ts#L556
AssertionError: expected undefined to be defined ❯ packages/wdio-allure-reporter/tests/suite.test.ts:556:26
packages/devtools/tests/utils.test.ts: packages/devtools/tests/utils.test.ts#L32
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/utils.test.ts:32:25 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/launcher.test.ts: packages/devtools/src/launcher.ts#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/launcher.ts:3:31 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/index.test.ts: packages/devtools/tests/index.test.ts#L6
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/index.test.ts:6:25 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/elementStore.test.ts > should clear elements of a specific frame: packages/devtools/tests/elementStore.test.ts#L51
AssertionError: expected +0 to be 2 // Object.is equality - Expected + Received - 2 + 0 ❯ packages/devtools/tests/elementStore.test.ts:51:37
packages/devtools/tests/devtoolsdriver.test.ts: packages/devtools/src/devtoolsdriver.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/devtoolsdriver.ts:2:31 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/devtools.test.ts: packages/devtools/src/index.ts#L5
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/index.ts:5:31 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
Component Tests / Component Test (macos-latest.18)
Process completed with exit code 1.
packages/wdio-appium-service/tests/launcher.test.ts: packages/wdio-appium-service/tests/launcher.test.ts#L51
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/wdio-appium-service/tests/launcher.test.ts:51:25 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/wdio-allure-reporter/tests/suite.test.ts > devtools command reporting > should attach screenshot on hook failure: packages/wdio-allure-reporter/tests/suite.test.ts#L907
AssertionError: expected [ { …(14) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ packages/wdio-allure-reporter/tests/suite.test.ts:907:29
packages/wdio-allure-reporter/tests/suite.test.ts > webdriver command reporting > should attach screenshot on hook failure: packages/wdio-allure-reporter/tests/suite.test.ts#L907
AssertionError: expected [ { …(14) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ packages/wdio-allure-reporter/tests/suite.test.ts:907:29
packages/wdio-allure-reporter/tests/suite.test.ts > Hook reporting > should report failed before each hook: packages/wdio-allure-reporter/tests/suite.test.ts#L556
AssertionError: expected undefined to be defined ❯ packages/wdio-allure-reporter/tests/suite.test.ts:556:26
packages/devtools/tests/utils.test.ts: packages/devtools/tests/utils.test.ts#L32
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/utils.test.ts:32:25 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/launcher.test.ts: packages/devtools/src/launcher.ts#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/launcher.ts:3:31 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/index.test.ts: packages/devtools/tests/index.test.ts#L6
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/index.test.ts:6:25 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/elementStore.test.ts > should clear elements of a specific frame: packages/devtools/tests/elementStore.test.ts#L51
AssertionError: expected +0 to be 2 // Object.is equality - Expected + Received - 2 + 0 ❯ packages/devtools/tests/elementStore.test.ts:51:37
packages/devtools/tests/devtoolsdriver.test.ts: packages/devtools/src/devtoolsdriver.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/devtoolsdriver.ts:2:31 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/devtools.test.ts: packages/devtools/src/index.ts#L5
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/index.ts:5:31 Caused by: Caused by: Error: Failed to load url /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /home/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/wdio-allure-reporter/tests/suite.test.ts > Hook reporting > should report failed before each hook: packages/wdio-allure-reporter/tests/suite.test.ts#L556
AssertionError: expected undefined to be defined ❯ packages/wdio-allure-reporter/tests/suite.test.ts:556:26
packages/wdio-browser-runner/tests/utils.test.ts: packages/wdio-browser-runner/src/utils.ts#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/wdio-browser-runner/src/utils.ts:3:31 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/wdio-browser-runner/tests/runner.test.ts: packages/wdio-local-runner/build/index.js#L1
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/wdio-local-runner/build/index.js:1:1 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/wdio-appium-service/tests/launcher.test.ts: packages/wdio-appium-service/tests/launcher.test.ts#L51
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/wdio-appium-service/tests/launcher.test.ts:51:25 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/utils.test.ts: packages/devtools/tests/utils.test.ts#L32
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/utils.test.ts:32:25 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/launcher.test.ts: packages/devtools/src/launcher.ts#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/launcher.ts:3:31 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/index.test.ts: packages/devtools/tests/index.test.ts#L6
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/index.test.ts:6:25 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/elementStore.test.ts > should clear elements of a specific frame: packages/devtools/tests/elementStore.test.ts#L51
AssertionError: expected +0 to be 2 // Object.is equality - Expected + Received - 2 + 0 ❯ packages/devtools/tests/elementStore.test.ts:51:37
packages/devtools/tests/devtoolsdriver.test.ts: packages/devtools/src/devtoolsdriver.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/devtoolsdriver.ts:2:31 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/devtools.test.ts: packages/devtools/src/index.ts#L5
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/index.ts:5:31 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
Smoke Tests / Smoke Test (windows-latest.22)
Process completed with exit code 1.
Smoke Tests / Smoke Test (windows-latest.18.20.0)
Process completed with exit code 1.
packages/wdio-allure-reporter/tests/suite.test.ts > Hook reporting > should report failed before each hook: packages/wdio-allure-reporter/tests/suite.test.ts#L556
AssertionError: expected undefined to be defined ❯ packages/wdio-allure-reporter/tests/suite.test.ts:556:26
packages/wdio-browser-runner/tests/utils.test.ts: packages/wdio-browser-runner/src/utils.ts#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/wdio-browser-runner/src/utils.ts:3:31 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/wdio-browser-runner/tests/runner.test.ts: packages/wdio-local-runner/build/index.js#L1
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/wdio-local-runner/build/index.js:1:1 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/wdio-appium-service/tests/launcher.test.ts: packages/wdio-appium-service/tests/launcher.test.ts#L51
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/wdio-appium-service/tests/launcher.test.ts:51:25 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/utils.test.ts: packages/devtools/tests/utils.test.ts#L32
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/utils.test.ts:32:25 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/launcher.test.ts: packages/devtools/src/launcher.ts#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/launcher.ts:3:31 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/index.test.ts: packages/devtools/tests/index.test.ts#L6
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/index.test.ts:6:25 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/elementStore.test.ts > should clear elements of a specific frame: packages/devtools/tests/elementStore.test.ts#L51
AssertionError: expected +0 to be 2 // Object.is equality - Expected + Received - 2 + 0 ❯ packages/devtools/tests/elementStore.test.ts:51:37
packages/devtools/tests/devtoolsdriver.test.ts: packages/devtools/src/devtoolsdriver.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/devtoolsdriver.ts:2:31 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/devtools.test.ts: packages/devtools/src/index.ts#L5
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/index.ts:5:31 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
Smoke Tests / Smoke Test (macos-latest.18.20.0)
Process completed with exit code 1.
Smoke Tests / Smoke Test (macos-latest.20)
Process completed with exit code 1.
Component Tests / Component Test (macos-latest.22)
Process completed with exit code 1.
Smoke Tests / Smoke Test (windows-latest.20)
Process completed with exit code 1.
packages/wdio-appium-service/tests/launcher.test.ts: packages/wdio-appium-service/tests/launcher.test.ts#L51
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/wdio-appium-service/tests/launcher.test.ts:51:25 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/wdio-allure-reporter/tests/suite.test.ts > devtools command reporting > should attach screenshot on hook failure: packages/wdio-allure-reporter/tests/suite.test.ts#L907
AssertionError: expected [ { …(14) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ packages/wdio-allure-reporter/tests/suite.test.ts:907:29
packages/wdio-allure-reporter/tests/suite.test.ts > webdriver command reporting > should attach screenshot on hook failure: packages/wdio-allure-reporter/tests/suite.test.ts#L907
AssertionError: expected [ { …(14) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ packages/wdio-allure-reporter/tests/suite.test.ts:907:29
packages/wdio-allure-reporter/tests/suite.test.ts > Hook reporting > should report failed before each hook: packages/wdio-allure-reporter/tests/suite.test.ts#L556
AssertionError: expected undefined to be defined ❯ packages/wdio-allure-reporter/tests/suite.test.ts:556:26
packages/devtools/tests/utils.test.ts: packages/devtools/tests/utils.test.ts#L32
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/utils.test.ts:32:25 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/launcher.test.ts: packages/devtools/src/launcher.ts#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/launcher.ts:3:31 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/index.test.ts: packages/devtools/tests/index.test.ts#L6
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/index.test.ts:6:25 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/elementStore.test.ts > should clear elements of a specific frame: packages/devtools/tests/elementStore.test.ts#L51
AssertionError: expected +0 to be 2 // Object.is equality - Expected + Received - 2 + 0 ❯ packages/devtools/tests/elementStore.test.ts:51:37
packages/devtools/tests/devtoolsdriver.test.ts: packages/devtools/src/devtoolsdriver.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/devtoolsdriver.ts:2:31 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/devtools.test.ts: packages/devtools/src/index.ts#L5
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/index.ts:5:31 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/wdio-appium-service/tests/launcher.test.ts: packages/wdio-appium-service/tests/launcher.test.ts#L51
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/wdio-appium-service/tests/launcher.test.ts:51:25 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/wdio-allure-reporter/tests/suite.test.ts > devtools command reporting > should attach screenshot on hook failure: packages/wdio-allure-reporter/tests/suite.test.ts#L907
AssertionError: expected [ { …(14) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ packages/wdio-allure-reporter/tests/suite.test.ts:907:29
packages/wdio-allure-reporter/tests/suite.test.ts > webdriver command reporting > should attach screenshot on hook failure: packages/wdio-allure-reporter/tests/suite.test.ts#L907
AssertionError: expected [ { …(14) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ packages/wdio-allure-reporter/tests/suite.test.ts:907:29
packages/wdio-allure-reporter/tests/suite.test.ts > Hook reporting > should report failed before each hook: packages/wdio-allure-reporter/tests/suite.test.ts#L556
AssertionError: expected undefined to be defined ❯ packages/wdio-allure-reporter/tests/suite.test.ts:556:26
packages/devtools/tests/utils.test.ts: packages/devtools/tests/utils.test.ts#L32
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/utils.test.ts:32:25 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/launcher.test.ts: packages/devtools/src/launcher.ts#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/launcher.ts:3:31 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/index.test.ts: packages/devtools/tests/index.test.ts#L6
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/index.test.ts:6:25 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/elementStore.test.ts > should clear elements of a specific frame: packages/devtools/tests/elementStore.test.ts#L51
AssertionError: expected +0 to be 2 // Object.is equality - Expected + Received - 2 + 0 ❯ packages/devtools/tests/elementStore.test.ts:51:37
packages/devtools/tests/devtoolsdriver.test.ts: packages/devtools/src/devtoolsdriver.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/devtoolsdriver.ts:2:31 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/devtools.test.ts: packages/devtools/src/index.ts#L5
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/index.ts:5:31 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/wdio-appium-service/tests/launcher.test.ts: packages/wdio-appium-service/tests/launcher.test.ts#L51
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/wdio-appium-service/tests/launcher.test.ts:51:25 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/wdio-allure-reporter/tests/suite.test.ts > devtools command reporting > should attach screenshot on hook failure: packages/wdio-allure-reporter/tests/suite.test.ts#L907
AssertionError: expected [ { …(14) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ packages/wdio-allure-reporter/tests/suite.test.ts:907:29
packages/wdio-allure-reporter/tests/suite.test.ts > webdriver command reporting > should attach screenshot on hook failure: packages/wdio-allure-reporter/tests/suite.test.ts#L907
AssertionError: expected [ { …(14) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ packages/wdio-allure-reporter/tests/suite.test.ts:907:29
packages/wdio-allure-reporter/tests/suite.test.ts > Hook reporting > should report failed before each hook: packages/wdio-allure-reporter/tests/suite.test.ts#L556
AssertionError: expected undefined to be defined ❯ packages/wdio-allure-reporter/tests/suite.test.ts:556:26
packages/devtools/tests/utils.test.ts: packages/devtools/tests/utils.test.ts#L32
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/utils.test.ts:32:25 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/launcher.test.ts: packages/devtools/src/launcher.ts#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/launcher.ts:3:31 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/index.test.ts: packages/devtools/tests/index.test.ts#L6
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/index.test.ts:6:25 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/elementStore.test.ts > should clear elements of a specific frame: packages/devtools/tests/elementStore.test.ts#L51
AssertionError: expected +0 to be 2 // Object.is equality - Expected + Received - 2 + 0 ❯ packages/devtools/tests/elementStore.test.ts:51:37
packages/devtools/tests/devtoolsdriver.test.ts: packages/devtools/src/devtoolsdriver.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/devtoolsdriver.ts:2:31 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/devtools.test.ts: packages/devtools/src/index.ts#L5
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/index.ts:5:31 Caused by: Caused by: Error: Failed to load url D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: D:/a/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/wdio-appium-service/tests/launcher.test.ts: packages/wdio-appium-service/tests/launcher.test.ts#L51
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/wdio-appium-service/tests/launcher.test.ts:51:25 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/wdio-allure-reporter/tests/suite.test.ts > devtools command reporting > should attach screenshot on hook failure: packages/wdio-allure-reporter/tests/suite.test.ts#L907
AssertionError: expected [ { …(14) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ packages/wdio-allure-reporter/tests/suite.test.ts:907:29
packages/wdio-allure-reporter/tests/suite.test.ts > webdriver command reporting > should attach screenshot on hook failure: packages/wdio-allure-reporter/tests/suite.test.ts#L907
AssertionError: expected [ { …(14) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ packages/wdio-allure-reporter/tests/suite.test.ts:907:29
packages/wdio-allure-reporter/tests/suite.test.ts > Hook reporting > should report failed before each hook: packages/wdio-allure-reporter/tests/suite.test.ts#L556
AssertionError: expected undefined to be defined ❯ packages/wdio-allure-reporter/tests/suite.test.ts:556:26
packages/devtools/tests/utils.test.ts: packages/devtools/tests/utils.test.ts#L32
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/utils.test.ts:32:25 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-utils/node). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/launcher.test.ts: packages/devtools/src/launcher.ts#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/launcher.ts:3:31 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/index.test.ts: packages/devtools/tests/index.test.ts#L6
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/tests/index.test.ts:6:25 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/elementStore.test.ts > should clear elements of a specific frame: packages/devtools/tests/elementStore.test.ts#L51
AssertionError: expected +0 to be 2 // Object.is equality - Expected + Received - 2 + 0 ❯ packages/devtools/tests/elementStore.test.ts:51:37
packages/devtools/tests/devtoolsdriver.test.ts: packages/devtools/src/devtoolsdriver.ts#L2
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/devtoolsdriver.ts:2:31 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17
packages/devtools/tests/devtools.test.ts: packages/devtools/src/index.ts#L5
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ packages/devtools/src/index.ts:5:31 Caused by: Caused by: Error: Failed to load url /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger (resolved id: /Users/runner/work/webdriverio/webdriverio/__mocks__/@testplane/wdio-logger). Does the file exist? ❯ loadAndTransform node_modules/.pnpm/vite@5.4.14_@types+node@20.17.17_terser@5.37.0/node_modules/vite/dist/node/chunks/dep-CHZK6zbr.js:51922:17

Artifacts

Produced during runtime
Name Size Digest
component-tests-macos-latest-18-logs Expired
6.38 KB
sha256:9faf89d2b3fe1b4d2a9bbb59e98978446af5afe980ef54ed4c235535e8672ddc
component-tests-macos-latest-20-logs Expired
6.32 KB
sha256:2471881f2617f464c69792f56ea3be558280d82dedb1df9378cb0279e1bba315
component-tests-macos-latest-22-logs Expired
6.32 KB
sha256:77115af7de8993d91db6599e11b4a59c2b538f87a85d1e90b0b4d5f0fcf04e45
webdriverio Expired
1.35 MB
sha256:e93d5de2008ff20b5af31468842234b601836cef1dfef27ee6f850b6fd7606c7