Unable to launch TESTs on LINUX UBUNTU #1450
Unanswered
swathisuja
asked this question in
Q&A
Replies: 1 comment 6 replies
-
hello, are you running tests in some display? xvfb? frame or something else? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have the extester set up and works fine in windows OS. But in Linux Ubuntu 22.04
Node 18.20.0 and also 20.12.1
Yarn 1.22.19
When I run the tests, it fails at launching browser with error:
0 passing (243ms)
2 failing
"before all" hook in "{root}":
SessionNotCreatedError: session not created: Chrome failed to start: exited normally.
(session not created: DevToolsActivePort file doesn't exist)
(The process started from chrome location /home/workspace/resources/VSCode-linux-x64/code is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:521:15)
at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:514:13)
at Executor.execute (node_modules/selenium-webdriver/lib/http.js:446:28)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
"after all" hook in "{root}":
TypeError: Cannot read properties of undefined (reading 'manage')
at VSBrowser.quit (node_modules/vscode-extension-tester/out/browser.js:174:44)
at Context. (node_modules/vscode-extension-tester/out/suite/runner.js:126:31)
at process.processImmediate (node:internal/timers:478:21)
Screenshot of Proper installation of Extension vsix, vscode, chrome driver :
Supported chrome is installed in machine. Unable to run tests on Linux hence blocking from running of docker.
Added comments in #485
Kindly look into this and help to get the tests run.
Thanks,
Swathi.
Beta Was this translation helpful? Give feedback.
All reactions