Skip to content

Conversation

@ScharfViktor
Copy link
Contributor

Fix flaky tests caused by right sidebar flickering when sharing with multiple users (issue not reproducible manually)

before:

Screen.Recording.2025-07-25.at.12.57.38.mp4

after:

Screen.Recording.2025-07-25.at.12.58.40.mp4

which tests were affected:
KEYCLOAK=true HEADLESS=false OC_BASE_URL=cloud.opencloud.test KEYCLOAK_HOST=keycloak.opencloud.test pnpm test:e2e:cucumber tests/e2e/cucumber/features/keycloak

Copilot AI review requested due to automatic review settings July 25, 2025 11:09
@ScharfViktor ScharfViktor requested a review from JammingBen July 25, 2025 11:09
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 a flaky end-to-end test related to sharing files with multiple users by addressing a right sidebar flickering issue. The fix involves adding a timeout to stabilize the dropdown interaction during collaborator selection.

  • Adds a 200ms timeout before clicking dropdown items to prevent flickering-related test failures
  • Refactors the dropdown item selection to use a more stable locator pattern

@ScharfViktor ScharfViktor merged commit 3ecd1f8 into main Jul 25, 2025
29 checks passed
@ScharfViktor ScharfViktor deleted the fixFlakyShareToMultipleUsers branch July 25, 2025 11:38
@openclouders openclouders mentioned this pull request Jul 25, 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.

3 participants