Fix E2E tests #114
No reviewers
Labels
No labels
bug
dependencies
docker
documentation
duplicate
enhancement
good first issue
help wanted
invalid
javascript
question
rust
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: andras/vault-link#114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "asch/fix-e2e"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fix regression around running offline sync too often
Pull Request Overview
This PR fixes a regression in E2E tests by preventing the offline sync operation from being executed multiple times when it should only run once.
start()Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
The
hasFinishedOfflineSyncflag is set to true immediately after starting the offline sync, but this should only be set after the sync actually completes. This creates a race condition where the flag indicates completion before the async operation finishes.