[Keycloak Quickstarts CI failure] loginToAdminConsole method fails in ArquillianSysoutEventListenerProviderTest.testEventListenerOutput due to Unable to locate element: {"method":"css selector","selector":"#username"} exception
kami619 opened this issue · comments
Before reporting an issue
- I have searched existing issues
- I have reproduced the issue with the latest nightly release
Area
admin/ui
Describe the bug
[Keycloak Quickstarts CI failure] loginToAdminConsole method fails in ArquillianSysoutEventListenerProviderTest.testEventListenerOutput due to Unable to locate element: {"method":"css selector","selector":"#username"} exception
https://github.com/keycloak/keycloak-quickstarts/actions/runs/6622165110/job/17987258467
Problematic block of code causing the failure:
Version
nightly (10/24/2023)
Expected behavior
The username element is expected to be present.
Actual behavior
The script is not able to locate the element.
How to Reproduce?
https://github.com/keycloak/keycloak-quickstarts/actions/runs
Extension tests are failing daily under Quickstarts CI due to this.
Anything else?
We observed a similar failure in the most recent run for the Jakarta tests https://github.com/keycloak/keycloak-quickstarts/actions/runs/6622165110/job/17987258044
Error: Failures:
Error: SAMLServiceProviderTest.testAccessAccountManagement:146 Should display account management page
Error: SAMLServiceProviderTest.testLogin:126 Should display logged in user
Caused by: org.openqa.selenium.NoSuchElementException: {"errorMessage":"Unable to find element with id 'username'","request":{"headers":{"Accept-Encoding":"gzip","Connection":"Keep-Alive","Content-Length":"33","Content-Type":"application/json; charset=utf-8","Host":"localhost:7115","User-Agent":"okhttp/3.9.1"},"httpVersion":"1.1","method":"POST","post":"{\"using\":\"id\",\"value\":\"username\"}","url":"/element","urlParsed":{"anchor":"","query":"","file":"element","directory":"/","path":"/element","relative":"/element","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/element","queryKey":{},"chunks":["element"]},"urlOriginal":"/session/71a61b70-7222-11ee-9c5e-757ba93644c3/element"}}
Fixed in the quickstarts PR #507
Closing this since it's fixed in #507