I am running this puppeteer test on master:
聽./ci/tests/puppeteer/run.sh --scenario ./ci/tests/puppeteer/scenarios/"palantir-login"
It fails with:
[22:43:23.261] DEBUG (2497117): 馃敺 'Chromium directory: /home/rbon/workspace/vendor-support/cas-server/ci/tests/puppeteer/chromium'
[22:43:23.261] INFO (2497117): 馃崁 'Attempt #0 to launch browser...'
[22:43:23.262] DEBUG (2497117): 馃敺 'Chromium user data directory: /home/rbon/workspace/vendor-support/cas-server/ci/tests/puppeteer/chromium/user-data-dir'
[22:43:23.563] DEBUG (2497117): 馃敺 'Waiting for 1 second(s)...'
[22:43:24.585] INFO (2497117): 馃崁 'Browser Chrome/136.0.7103.49 / Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/
136.0.0.0 Safari/537.36 is launched...'
[22:43:24.585] INFO (2497117): 馃崁 'Chromium Executable Path:'
[22:43:25.015] DEBUG (2497117): 馃敺 'Waiting for 0.5 second(s)...'
[22:43:25.529] INFO (2497117): 馃崁 'Response status: 403'
[22:43:25.529] DEBUG (2497117): 馃敺 'Logging in with casadmin and password'
2025-06-23 22:43:41,872 INFO [org.apereo.cas.services.mgmt.AbstractServicesManager] - <Loaded [1] service(s) from cache [EmbeddedResourceBasedServiceRegistry].>
2025-06-23 22:43:51,871 INFO [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <[0] expired tickets removed.>
[22:43:55.548] ERROR (2497117): 馃摏
TimeoutError: Waiting for selector `#username` failed: Waiting failed: 30000ms exceeded
聽 聽 at new WaitTask (/home/rbon/workspace/vendor-support/cas-server/ci/tests/puppeteer/node_modules/puppeteer-core/src/common/WaitTask.ts:76:28)
聽 聽 at IsolatedWorld.waitForFunction (/home/rbon/workspace/vendor-support/cas-server/ci/tests/puppeteer/node_modules/puppeteer-core/src/api/Realm.ts:74:22)
聽 聽 at CSSQueryHandler.waitFor (/home/rbon/workspace/vendor-support/cas-server/ci/tests/puppeteer/node_modules/puppeteer-core/src/common/QueryHandler.ts:170:50)
聽 聽 at CdpFrame.waitForSelector (/home/rbon/workspace/vendor-support/cas-server/ci/tests/puppeteer/node_modules/puppeteer-core/src/api/Frame.ts:747:13)
聽 聽 at CdpPage.waitForSelector (/home/rbon/workspace/vendor-support/cas-server/ci/tests/puppeteer/node_modules/puppeteer-core/src/api/Page.ts:3015:12)
聽 聽 at Object.exports.submitLoginCredentials (/home/rbon/workspace/vendor-support/cas-server/ci/tests/puppeteer/cas.js:246:5)
聽 聽 at Object.exports.loginWith (/home/rbon/workspace/vendor-support/cas-server/ci/tests/puppeteer/cas.js:256:9)
聽 聽 at /home/rbon/workspace/vendor-support/cas-server/ci/tests/puppeteer/scenarios/palantir-login/script.js:8:20
[22:43:55.548] DEBUG (2497117): 馃敺 'Waiting for 1 second(s)...'
TypeError: Cannot read properties of undefined (reading 'status')
聽 聽 at /home/rbon/workspace/vendor-support/cas-server/ci/tests/puppeteer/scenarios/palantir-login/script.js:10:31
馃敟 聽Script: ./ci/tests/puppeteer/scenarios/palantir-login/script.js with config: ./ci/tests/puppeteer/scenarios/palantir-login/script.json failed with return code 1
Progress: [] %
**************************************************************************
馃敟 聽Test scenario [palantir-login] has failed with exit code 1.
From the browser dev tools network tab, there is no redirect to the log in page (or does it trigger browser basic auth?)
The test does not run on github because:
Required environment variable DUO_SECURITY_ADMIN_SKEY is not set; skipping test execution.
So I can not compare execution logs.
Is there anything I have to do to get this test to run locally?
--
Ray Bon
Programmer Analyst
Development Services, University Systems
I acknowledge and respect the L蓹k虛史蓹艐蓹n (Songhees and X史seps蓹m/Esquimalt) Peoples on whose territory the university stands, and the L蓹k虛史蓹艐蓹n and W瘫S脕NE膯 Peoples whose historical relationships with the land continue to this day.