Skip to content

Cover the Mac app's untested UI paths in the XCUITest suite - #408

Merged
alexkroman merged 1 commit into
mainfrom
claude/epic-bohr-dhxmyq
Nov 25, 2026
Merged

alexkroman merged 1 commit into
mainfrom
claude/epic-bohr-dhxmyq

Conversation

@alexkroman

Copy link
Copy Markdown
Collaborator

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

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
alexkroman enabled auto-merge November 25, 2026 16:25
@alexkroman
alexkroman added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit 920ba84 Nov 25, 2026
16 checks passed
@alexkroman
alexkroman deleted the claude/epic-bohr-dhxmyq branch November 25, 2026 18:01
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants