Aligns the logic in the welcome resources#23259
Conversation
There was a problem hiding this comment.
I think we can change the message on WelcomeResource and remove more code from this class. The message from WelcomeResource does not make sense anymore.
...me/src/main/java/org/keycloak/quarkus/runtime/services/resources/QuarkusWelcomeResource.java
Outdated
Show resolved
Hide resolved
ghost
left a comment
There was a problem hiding this comment.
Unreported flaky test detected, please review
Unreported flaky test detectedIf the below flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.ui.account2.UpdateEmailTest#updateUserInfoWithRegistrationEnabledKeycloak CI - Account Console IT (firefox) org.keycloak.testsuite.ui.account2.UpdateEmailTest#updateEmailSucceedsKeycloak CI - Account Console IT (firefox) |
There was a problem hiding this comment.
Thanks @shawkins.
LGTM but +1 to @pedroigor's comment around leveraging our Hostname SPI.
The changes were just pushed ;)
Unreported flaky test detectedIf the below flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.forms.VerifyProfileTest#testAttributeRequiredForDefaultScopeKeycloak CI - Forms IT (chrome) |
ghost
left a comment
There was a problem hiding this comment.
Unreported flaky test detected, please review
|
@pedroigor Do you want to give it another look? :) |
|
@shawkins Could you please rebase? LGTM. |
|
@pedroigor squashed and rebased |
pedroigor
left a comment
There was a problem hiding this comment.
@shawkins Just found an issue when running your changes. Please, see the comment.
Basically, when accessing the local admin URL with an IP other than localhost the link in the page is built using the host as the scheme. I'm not 100% sure how to test this in our test suite as we need to resolve to a IP other than localhost.
...kus/runtime/src/main/java/org/keycloak/quarkus/runtime/hostname/DefaultHostnameProvider.java
Outdated
Show resolved
Hide resolved
as a result the quarkus one can be removed closes keycloak#23243
…tname/DefaultHostnameProvider.java Co-authored-by: Pedro Igor <[email protected]>
ghost
left a comment
There was a problem hiding this comment.
Unreported flaky test detected, please review
Unreported flaky test detectedIf the below flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.webauthn.account.WebAuthnTransportLocaleTest#localizationTransportUSBKeycloak CI - WebAuthn IT (chrome) |
ghost
left a comment
There was a problem hiding this comment.
Unreported flaky test detected, please review
Unreported flaky test detectedIf the below flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.webauthn.account.WebAuthnTransportLocaleTest#localizationTransportUSBKeycloak CI - WebAuthn IT (chrome) |
1 flaky test on run #9144 ↗︎Details:
|
|||||||||||||||||||||
| Test | Artifacts | |
|---|---|---|
| Realm settings general tab tests > Test all general tab switches |
Test Replay
Output
Screenshots
|
|
Review all test suite changes for PR #23259 ↗︎
|
Thanks for all involved in landing this, it's much appreciated! |
Assumes the following:
closes #23243