Enhance wait for IPC in filesystemPlugin feature

Added a wait time to improve reliability of content update verification in CI.
This commit is contained in:
lin onetwo 2025-10-31 01:41:32 +08:00 committed by GitHub
parent 6d17a9a450
commit 4ec1324539
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -129,7 +129,8 @@ Feature: Filesystem Plugin
# Modify the file externally
When I modify file "{tmpDir}/wiki/tiddlers/TestTiddler.tid" to contain "Modified content from external editor"
Then I wait for tiddler "TestTiddler" to be updated by watch-fs
# Verify the wiki shows updated content (should auto-refresh)
# Verify the wiki shows updated content (should auto-refresh), need to wait for IPC, it is slow on CI and will randomly failed
And I wait for 2 seconds
Then I should see "Modified content from external editor" in the browser view content
# Now delete the file externally
When I delete file "{tmpDir}/wiki/tiddlers/TestTiddler.tid"