keycloak / keycloak-quickstarts

Apache License 2.0
1.98k stars 984 forks source link

Failures in `ExtendAdminConsoleTest` #555

Closed mabartos closed 4 months ago

mabartos commented 6 months ago

Describe the bug

Test for extending Admin console UI via SPI is falling since this commit: https://github.com/keycloak/keycloak/commit/9e10cec665ab48a7b4f53f8f70560a5a3a2d153d

The declarative-ui feature must be turned on.

Error:  Errors: 
Error:    ExtendAdminConsoleTest.testAdminUiTodoApp:93 » NoSuchElement no such element: Unable to locate element: {"method":"css selector","selector":"#nav\-item\-page\-section\/Todo"}
  (Session info: chrome-headless-shell=125.0.6422.60)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z'
System info: host: 'fv-az1198-380', ip: '10.1.0.43', os.name: 'Linux', os.arch: 'amd64', os.version: '6.5.0-1021-azure', java.version: '17.0.11'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome-headless-shell, browserVersion: 125.0.6422.60, chrome: {chromedriverVersion: 125.0.6422.60 (3ac3319bff9f..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:38393}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: 916c7ccc93abd450e5d4c3f038a6f9e2
*** Element info: {Using=id, value=nav-item-page-section/Todo}
Error:    ExtendAdminConsoleTest.testRealmSettingsAttributes:109 » NoSuchElement no such element: Unable to locate element: {"method":"xpath","selector":"//input[@data-testid='logo']"}
  (Session info: chrome-headless-shell=125.0.6422.60)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z'
System info: host: 'fv-az[1198](https://github.com/keycloak/keycloak-quickstarts/actions/runs/9153294368/job/25162011852#step:8:1199)-380', ip: '10.1.0.43', os.name: 'Linux', os.arch: 'amd64', os.version: '6.5.0-1021-azure', java.version: '17.0.11'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome-headless-shell, browserVersion: 125.0.6422.60, chrome: {chromedriverVersion: 125.0.6422.60 (3ac3319bff9f..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:38393}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: 916c7ccc93abd450e5d4c3f038a6f9e2
*** Element info: {Using=xpath, value=//input[@data-testid='logo']}

Version

latest

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Anything else?

No response