Skip to content

Add fastlane screenshot automation - #31

Merged
austin-smith merged 3 commits into
mainfrom
fastlane-screenshots
Jul 5, 2026
Merged

austin-smith merged 3 commits into
mainfrom
fastlane-screenshots

Conversation

@austin-smith

Copy link
Copy Markdown
Owner

Add fastlane screenshot capture workflow:

  • Add Klondike and FreeCell screenshot fixtures
  • Add DEBUG-only launch arguments for fixture loading and macOS window sizing
  • Add screenshot UI tests and a dedicated screenshot scheme
  • Suppress autosave during fixture sessions
  • Configure fastlane snapshot and macOS screenshot export

@cursor

cursor Bot commented Jul 5, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@cursor

cursor Bot commented Jul 5, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8356ec8878

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +41 to +47
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4B75C1F62F1A233600761A12"
BuildableName = "ComputerSolitaireUITests.xctest"
BlueprintName = "ComputerSolitaireUITests"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove screenshot UI tests from the main scheme

The documented test workflow runs xcodebuild ... -scheme ComputerSolitaire ... test, and this new TestableReference makes every normal test run execute ScreenshotCaptureUITests, which launches the app for each staged board and captures screenshots. That should stay isolated to ComputerSolitaireScreenshots; otherwise ordinary unit-test/CI runs become UI-automation dependent, slower, and more likely to fail in non-interactive environments.

Useful? React with 👍 / 👎.

Comment on lines +2 to +6
#if canImport(UIKit)
import UIKit
#endif
#if canImport(AppKit)
import AppKit

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Remove UIKit/AppKit usage from the screenshot tests

The repository instructions in AGENTS.md mark the SwiftUI-only contract as non-negotiable and explicitly say not to add UIKit or AppKit usage. This new UI test target imports both frameworks and then uses types like UIDevice, NSScreen, and NSBitmapImageRep, so it violates the project platform contract unless maintainers explicitly grant an exception.

Useful? React with 👍 / 👎.

@cursor

cursor Bot commented Jul 5, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@austin-smith
austin-smith merged commit 250d800 into main Jul 5, 2026
2 checks passed
@austin-smith
austin-smith deleted the fastlane-screenshots branch July 5, 2026 22:37
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.

1 participant