You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
E2E: settings blur test sometimes sees a synced value replace the focused field #496
tests/e2e/settings-tab.test.ts "blur keeps an external setting received after the focused edit was saved" failed once in a fresh full npm run test:e2e run on Obsidian 1.14.4 (Linux), at line 279:
The test types into Episode note path, waits for the save, writes a changed data.json as if from sync, and calls onExternalSettingsChange. While the field keeps focus, it expects the field to keep showing the user's text and the settings to hold the synced value. In the failing run, the synced value replaced the text in the focused field. It passed in the other full run and in a filtered rerun, and no earlier run on record failed it.
It is not yet known whether this is a test timing problem or a product race, for example between the raw file event path from #480 and onExternalSettingsChange. If it is the product, an incoming sync change can replace the text in a field the user is editing.
Activity