okta / samples-nodejs-express-4

Express 4 samples. Will publish an artifact that can be consumed by end-to-end sample repos
Other
120 stars 117 forks source link

Issues with selenium opening the browser (browser is not defined) #147

Open ivangotti opened 1 year ago

ivangotti commented 1 year ago

I have followed the README, I have all environment variables set but "npm test" fails:

[11:30:32] I/launcher - Running 1 instances of WebDriver [11:30:32] I/local - Starting selenium standalone server... [11:30:32] E/launcher - Error: Error: Server terminated early with status 1 at /Users/ivangotti/samples-nodejs-express-4/node_modules/selenium-webdriver/remote/index.js:255:52 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [11:30:32] E/launcher - Error: ReferenceError: browser is not defined

How can I define the browser?

shuowu-okta commented 12 months ago

@ivangotti Thanks for reporting the issue! We will investigate on it. Btw, npm test is for sample e2e test, the failure of this script should not block you from running the sample.

Internal ref: OKTA-629412

av1934413 commented 11 months ago

😄