Skip to content

Conversation

@ScharfViktor
Copy link
Contributor

@ScharfViktor ScharfViktor commented Sep 2, 2025

npx playwright show-trace https://s3.ci.opencloud.eu/public/web/tracing/web/15/create-and-view-resources-on-mobile-devices-alice-2025-9-2-11-16-41.zip

Sometimes the web goes into infinite loading mode after creating and closing a text file in the CI.

image

we have encountered this before. This does not reproduce locally. how fix in CI -> I reload page after closing file and wait for that file to appear in the list

Copilot AI review requested due to automatic review settings September 2, 2025 14:43
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 by adding a page reload and wait after closing a text file. The issue occurs when the website enters an infinite loading state after creating and closing a text file in CI environments, though it doesn't reproduce locally.

  • Added page reload after closing document editor
  • Added explicit wait for the resource to appear after reload

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ScharfViktor
Copy link
Contributor Author

@kulmann I ran it a couple of times in CI. Everything's fine, it certainly won't get any worse if we merge it 😀

@ScharfViktor ScharfViktor merged commit 3d87bf7 into main Sep 3, 2025
28 of 29 checks passed
@ScharfViktor ScharfViktor deleted the fixFlakyAfterClosingTextFile branch September 3, 2025 07:47
@openclouders openclouders mentioned this pull request Sep 3, 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