Skip to content

DevToolsActivePort file doesn't exist #2072

Description

@RedCMD

Describe the bug

npm run ui-test fails with

Image

Steps to reproduce

1. clone https://github.com/redhat-developer/vscode-extension-tester-example
2. npm i
3. npm run ui-test

Logs

1) "before all" hook in "{root}"
  2) "after all" hook in "{root}"

  0 passing (1m)
  2 failing

  1) "before all" hook in "{root}":
     SessionNotCreatedError: session not created: DevToolsActivePort file doesn't exist
      at Object.throwDecodedError (node_modules\selenium-webdriver\lib\error.js:523:15)
      at parseHttpResponse (node_modules\selenium-webdriver\lib\http.js:524:13)
      at Executor.execute (node_modules\selenium-webdriver\lib\http.js:456:28)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

  2) "after all" hook in "{root}":
     TypeError: Cannot read properties of undefined (reading 'manage')
      at VSBrowser.quit (node_modules\vscode-extension-tester\out\browser.js:214:44)
      at Context.<anonymous> (node_modules\vscode-extension-tester\out\suite\runner.js:133:31)
      at process.processImmediate (node:internal/timers:483:21)

Operating System

Windows 11

Visual Studio Code

1.104.1

vscode-extension-tester

8.17.0

NodeJS

node-v20.19.5-x64

npm

11.6.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions