mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
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:
parent
6d17a9a450
commit
4ec1324539
1 changed files with 2 additions and 1 deletions
|
|
@ -129,7 +129,8 @@ Feature: Filesystem Plugin
|
||||||
# Modify the file externally
|
# Modify the file externally
|
||||||
When I modify file "{tmpDir}/wiki/tiddlers/TestTiddler.tid" to contain "Modified content from external editor"
|
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
|
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
|
Then I should see "Modified content from external editor" in the browser view content
|
||||||
# Now delete the file externally
|
# Now delete the file externally
|
||||||
When I delete file "{tmpDir}/wiki/tiddlers/TestTiddler.tid"
|
When I delete file "{tmpDir}/wiki/tiddlers/TestTiddler.tid"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue