Repository navigation
Cover the Mac app's untested UI paths in the XCUITest suite - #408
Merged
Merged
Conversation
An audit of UITestIdentifiers against the suite found controls the app identifies that no test ever touched. New coverage: - API-key sheet: an unreachable server shows the inline error and stores nothing; editing the key clears the error; "Get a Free Key" is offered only before a key is stored; a key connected in Settings reaches the setup window's row. - Styles pane: enhanced transcripts default on with the dictation mode on Smart, and switching them off disables the mode and adding a style. - Advanced pane: developer mode's "Show in Finder" logs row follows the switch. - Vocabulary pane: typed key terms survive a pane switch. SettingsUITests was at SwiftLint's 400-line file limit, so its Keys-tab tests move to KeysAndReadAloudUITests, the voice default to ReadAloudSettingsUITests, and the API-key sheet helpers to BlurtUITestCase+Windows. No new files, so the generated project needs no regeneration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DS5B1WW3GSNywbejvqjo3m
alexkroman
enabled auto-merge
November 25, 2026 16:25
alexkroman
pushed a commit
that referenced
this pull request
Nov 25, 2026
With the project committed, a new file in the Mac app or its UI-test bundle meant regenerating the pbxproj on a Mac, so #408 and #410 put new code into files the project already listed. Now that every build generates the project, each piece gets its own file: - The Record button's doubles, nested in TranscriptsModel+UITest.swift, become UITestRecordingCapture.swift and UITestLiveSession.swift, top-level like the other UITest* doubles. - The API-key sheet tests leave SettingsUITests for APIKeySheetUITests, and their helpers leave BlurtUITestCase+Windows for BlurtUITestCase+APIKeySheet. CI's shard a lists the new class, so the tests stay on the shard they ran on. - The live-recording tests leave TranscriptionUITests for LiveRecordingUITests; the text helpers both classes use move to the shared harness-driving extension. No test or double changes behaviour. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DS5B1VPQPwfs6KaTp1BQKW
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An audit of UITestIdentifiers against the suite found controls the app
identifies that no test ever touched. New coverage:
nothing; editing the key clears the error; "Get a Free Key" is offered
only before a key is stored; a key connected in Settings reaches the
setup window's row.
Smart, and switching them off disables the mode and adding a style.
switch.
SettingsUITests was at SwiftLint's 400-line file limit, so its Keys-tab
tests move to KeysAndReadAloudUITests, the voice default to
ReadAloudSettingsUITests, and the API-key sheet helpers to
BlurtUITestCase+Windows. No new files, so the generated project needs no
regeneration.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01DS5B1WW3GSNywbejvqjo3m