Skip to content

Conversation

@ScharfViktor
Copy link
Contributor

@ScharfViktor ScharfViktor commented Jun 24, 2025

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

Copilot AI review requested due to automatic review settings June 24, 2025 07:32
@ScharfViktor ScharfViktor requested a review from AlexAndBear June 24, 2025 07:32
Copy link
Contributor

Copilot AI left a 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

@ScharfViktor ScharfViktor changed the title fix test after changing space template image [with-tracing] fix test after changing space template image Jun 24, 2025
@ScharfViktor ScharfViktor force-pushed the fixTestAfterChangingSpaceTemplateImage branch from a796b3e to 418234a Compare June 25, 2025 14:27
@ScharfViktor ScharfViktor changed the title [with-tracing] fix test after changing space template image fix test after changing space template image Jun 26, 2025
@ScharfViktor ScharfViktor marked this pull request as draft June 26, 2025 07:42
@ScharfViktor ScharfViktor force-pushed the fixTestAfterChangingSpaceTemplateImage branch 3 times, most recently from 035e19a to f5540ff Compare June 26, 2025 12:19
@ScharfViktor ScharfViktor changed the title fix test after changing space template image setup opencloud-keycloak-ldap setup. fix test after changing space template image Jun 26, 2025
@ScharfViktor ScharfViktor marked this pull request as ready for review June 26, 2025 12:29
@ScharfViktor ScharfViktor requested a review from rhafer June 26, 2025 12:29
@ScharfViktor ScharfViktor force-pushed the fixTestAfterChangingSpaceTemplateImage branch from cd2d905 to f6a9ac9 Compare June 26, 2025 12:57
@ScharfViktor ScharfViktor force-pushed the fixTestAfterChangingSpaceTemplateImage branch from f6a9ac9 to 0fdffbb Compare June 26, 2025 13:10
Copy link

@rhafer rhafer left a 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.

@ScharfViktor ScharfViktor requested a review from rhafer June 27, 2025 09:44
@ScharfViktor ScharfViktor merged commit 963b03f into main Jun 27, 2025
19 checks passed
@ScharfViktor ScharfViktor deleted the fixTestAfterChangingSpaceTemplateImage branch June 27, 2025 09:57
@openclouders openclouders mentioned this pull request Jun 27, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants