Skip to content

[AI] Add a CI test that launches the iOS app in a simulator - #9533

Merged
MatissJanis merged 2 commits into
masterfrom
ios-ci-launch-test
Nov 17, 2026
Merged

MatissJanis merged 2 commits into
masterfrom
ios-ci-launch-test

Conversation

@MatissJanis

@MatissJanis MatissJanis commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Description

Adding a simple CI test for the ios capacitor app

Related issue(s)

Fixes #9447

Testing

CI should be green.

Checklist

  • Release notes added (see link above)
  • No obvious regressions in affected areas
  • Self-review has been performed - I have read every line of this diff and can explain what each change does and why it is needed

Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 40 14.86 MB → 14.94 MB (+83.14 kB) +0.55%
loot-core 1 5.43 MB 0%
api 2 4.33 MB 0%
cli 1 420.19 kB 0%
crdt 1 11.15 kB 0%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
40 14.86 MB → 14.94 MB (+83.14 kB) +0.55%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger

Asset File Size % Changed
static/js/TransactionList.js 87.15 kB → 170.28 kB (+83.14 kB) +95.40%

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
static/js/index.js 2.68 MB 0%
static/js/AutomaticSyncSettings.js 21.95 kB 0%
static/js/BackgroundImage.js 121.09 kB 0%
static/js/DateSelect.js 2.65 MB 0%
static/js/FormulaEditor.js 771.38 kB 0%
static/js/NotesTagFormatter.js 30.87 kB 0%
static/js/ReportRouter.js 2 MB 0%
static/js/TourHost.js 169.78 kB 0%
static/js/TransactionEdit.js 276.07 kB 0%
static/js/Value.js 1.75 MB 0%
static/js/bootstrapHyperFormula.js 302 B 0%
static/js/build-shims.js 140 B 0%
static/js/ca.js 161.65 kB 0%
static/js/columns.js 686.43 kB 0%
static/js/de.js 178.99 kB 0%
static/js/definitions.js 490 B 0%
static/js/dist.js 15.13 kB 0%
static/js/en-GB.js 13.59 kB 0%
static/js/en.js 291.22 kB 0%
static/js/es.js 181.79 kB 0%
static/js/fr.js 174.54 kB 0%
static/js/indexeddb-main-thread-worker-e59fee74.js 13.46 kB 0%
static/js/it.js 147.14 kB 0%
static/js/months.js 612.42 kB 0%
static/js/narrow.js 297.43 kB 0%
static/js/nb-NO.js 130.04 kB 0%
static/js/nl.js 142.79 kB 0%
static/js/pl.js 140.69 kB 0%
static/js/pt-BR.js 169.12 kB 0%
static/js/rolldown-runtime.js 2.03 kB 0%
static/js/ru.js 197.48 kB 0%
static/js/sv.js 128.01 kB 0%
static/js/theme.js 38.71 kB 0%
static/js/uk.js 206.55 kB 0%
static/js/useLocalPref.js 101.16 kB 0%
static/js/web.js 1 kB 0%
static/js/wide.js 268.06 kB 0%
static/js/workbox-window.prod.es5.js 7.21 kB 0%
static/js/zh-Hant.js 127.83 kB 0%

loot-core

Total

Files count Total bundle size % Changed
1 5.43 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
kcab.worker.CfQE9ZU3.js 5.43 MB 0%

api

Total

Files count Total bundle size % Changed
2 4.33 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
index.js 4.33 MB 0%
models.js 0 B 0%

cli

Total

Files count Total bundle size % Changed
1 420.19 kB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
cli.js 420.19 kB 0%

crdt

Total

Files count Total bundle size % Changed
1 11.15 kB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
index.js 11.15 kB 0%

MatissJanis and others added 2 commits November 11, 2026 21:59
Adds an XCUITest target that launches the app and waits for the welcome
screen, and runs it in the E2E workflow on a macOS runner using the
shared web build artifact.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Inherit the deployment target on the UI test target, skip the index
store during the test build, shorten the job timeout and drop a
redundant workflow comment.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@netlify

netlify Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for actualbudget ready!

Name Link
🔨 Latest commit 14fb034
🔍 Latest deploy log https://app.netlify.com/projects/actualbudget/deploys/6af618fb45684f7b43fb0c4b
😎 Deploy Preview https://deploy-preview-9533.demo.actualbudget.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Nov 12, 2026

Copy link
Copy Markdown

✅ Deploy Preview for actualbudget-storybook ready!

Name Link
🔨 Latest commit 14fb034
🔍 Latest deploy log https://app.netlify.com/projects/actualbudget-storybook/deploys/6af618fbec2aa1b4a4320883
😎 Deploy Preview https://deploy-preview-9533--actualbudget-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Nov 12, 2026

Copy link
Copy Markdown

✅ Deploy Preview for actualbudget-website ready!

Name Link
🔨 Latest commit 14fb034
🔍 Latest deploy log https://app.netlify.com/projects/actualbudget-website/deploys/6af618fb6e668e88afabc093
😎 Deploy Preview https://deploy-preview-9533.www.actualbudget.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@MatissJanis

Copy link
Copy Markdown
Member Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor
Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Adds an iOS UI test that checks for the welcome screen’s “Start budgeting” button. A new macOS E2E workflow job runs the test and uploads its results if it fails.

Changes: iOS launch test

Layer / File(s) Summary
Define and run the launch test
packages/mobile-client/ios/App/App.xcodeproj/project.pbxproj, packages/mobile-client/ios/App/AppUITests/AppUITests.swift, packages/mobile-client/package.json
Adds and configures the AppUITests target. The test launches the app and waits up to 120 seconds for the “Start budgeting” button. The test:ios script runs the test on an iPhone simulator.
Run the launch test in CI
.github/workflows/e2e-test.yml, upcoming-release-notes/add-ios-app-launch-test.md
Adds a macOS E2E job that downloads the web build and runs test:ios. If the test fails, the job uploads its result bundle with 30-day retention. Adds a release note about the startup check.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Possibly related issues

  • actualbudget/actual#9447 — Reports the absence of an iOS simulator launch test in CI; this PR adds that test and runs it in the E2E workflow.

Possibly related PRs

  • actualbudget/actual#9311 — Changes the app bundle identifier and splash-screen behavior that the new UI test’s bundle identifier and welcome-screen check rely on.

Suggested reviewers: jfdoming, matt-fidd

Merge Risk: Minimal · up to 14fb0

This PR adds a CI check that launches the iOS app in a simulator and has no effect on the shipped app. The new job runs this test on its first CI run, so any problem with test discovery will show up there.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: a new CI test that launches the iOS app in a simulator. The raw summary shows an XCUITest target, a UI test that launches the app, and a workflow job that runs it. The…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description states the PR adds a simple CI test for the iOS Capacitor app and links to a related issue. This matches the changeset, which adds a macOS CI job, an iOS UI test target, and a test:ios…
Full details: Title check

Explanation

The title names the main change: a new CI test that launches the iOS app in a simulator. The raw summary shows an XCUITest target, a UI test that launches the app, and a workflow job that runs it. The title uses the "[AI]" prefix, which the check does not penalize. It is specific enough for a reviewer scanning history.

Full details: Description check

Explanation

The description states the PR adds a simple CI test for the iOS Capacitor app and links to a related issue. This matches the changeset, which adds a macOS CI job, an iOS UI test target, and a test:ios script. The description is brief but relevant.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 414bfd3 and 14fb034.

Files selected for processing: 5

  • .github/workflows/e2e-test.yml
  • packages/mobile-client/ios/App/App.xcodeproj/project.pbxproj
  • packages/mobile-client/ios/App/AppUITests/AppUITests.swift
  • packages/mobile-client/package.json
  • upcoming-release-notes/add-ios-app-launch-test.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@MatissJanis
MatissJanis marked this pull request as ready for review November 12, 2026 20:38

@MikesGlitch MikesGlitch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice

@MatissJanis
MatissJanis added this pull request to the merge queue Nov 17, 2026
Merged via the queue into master with commit 3d38cc6 Nov 17, 2026
54 checks passed
@MatissJanis
MatissJanis deleted the ios-ci-launch-test branch November 17, 2026 20:13
@MikesGlitch

Copy link
Copy Markdown
Member

@MatissJanis Looks like this is failing in the pipeline

node:internal/fs/cp/cp-sync:56
  fsBinding.cpSyncCheckPaths(src, dest, opts.dereference, opts.recursive);
            ^

Error: ENOENT: no such file or directory, lstat '/Users/runner/work/actual/actual/packages/desktop-client/build-mobile'
    at cpSyncFn (node:internal/fs/cp/cp-sync:56:13)
    at cpSync (node:fs:3252:3)
    at file:///Users/runner/work/actual/actual/packages/mobile-client/bin/stage-www.mjs:22:1
    at ModuleJob.run (node:internal/modules/esm/module_job:561:25)
    at async node:internal/modules/esm/loader:647:26
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/Users/runner/work/actual/actual/packages/desktop-client/build-mobile'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TechDebt] ios - ci pipeline for testing

2 participants