-
Notifications
You must be signed in to change notification settings - Fork 25
setup opencloud-keycloak-ldap setup. fix test after changing space template image #851
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes the test failures resulting from changes to the space template image by updating the expected footer text in the pagination feature and aligning the environment commit ID.
- Updated expected footer text in the pagination feature to reflect new file size values.
- Updated the commit ID in the pipeline environment configuration to use the new image version.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tests/e2e/cucumber/features/user-settings/pagination.feature | Modified the expected footer text to match the updated image size details. |
| .woodpecker.env | Updated the OPENCLOUD_COMMITID to reference the new commit corresponding to the updated image. |
Comments suppressed due to low confidence (2)
tests/e2e/cucumber/features/user-settings/pagination.feature:54
- Verify that the updated footer text reflects the intended new file size and consider if a dynamic approach could reduce potential future maintenance of hard-coded values.
And "Alice" should see the text "112 items with 12 kB in total (56 files, 56 folders)" at the footer of the page
.woodpecker.env:2
- Ensure the updated commit ID aligns with the intended release and that corresponding tests and pipeline configurations are updated accordingly.
OPENCLOUD_COMMITID=e62ff11a0ea114c3bd1aea42a704e683031a67a8
a796b3e to
418234a
Compare
035e19a to
f5540ff
Compare
setup keykloak with ldap
cd2d905 to
f6a9ac9
Compare
f6a9ac9 to
0fdffbb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few minor cosmetic issues. Looks fine to me otherwise.
I use Keycloak as IdP, and users are created there — they are stored in LDAP.
There are a couple of tests that currently create users or groups via the Graph API. I plan to rewrite those in the next PR. In my opinion, tests should not create users or groups through the Graph API — instead, we should rely on Keycloak api for that