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
Dictation browser test leaves word wrap off for later browser tests #40203
apps/web/src/speech/useEnvironmentSpeechInput.browser.test.tsx has a cross-window grant test that calls writeBrowserClientSettings({ ...DEFAULT_CLIENT_SETTINGS, wordWrap: false }) and never restores the previous settings. Browser test files share one Chromium storage, so a test file that runs later in the same session inherits wordWrap: false.
FilePreviewPanel.browser.test.tsx is one such file. Its source-scroll cases expect wrapped lines, so they fail depending on test order. Running the two files serially in one Chromium context reproduces it every time: both FilePreviewPanel assertions fail. With the settings entry restored at the end of the dictation test, all 57 tests in that order pass.
Fixed by #46820, now on main: Browser setup now clears localStorage before every browser test file loads, so running the dictation file before FilePreviewPanel no longer carries wordWrap: false into its source-scroll tests.
Activity
juliusmarminge commentedon Dec 1, 2026
Fixed by #46820, now on main: Browser setup now clears localStorage before every browser test file loads, so running the dictation file before FilePreviewPanel no longer carries wordWrap: false into its source-scroll tests.