Skip to content

Stabilise XCUITest app lifecycle and first exercise sheet readiness on CI #83

Open

Description

@johnnyhuy

Two CI UI coverage attempts on #82 at unchanged commit c23c03b each passed 26 of 27 tests, with different failures. This core suggestion slice changes no app or UI test files, and the app does not call its new API.

The initial attempt failed ProfileJourneyUITests.testAchievementsSectionVisible in setUpWithError at app.launch(), because XCUITest could not terminate the previous BetterFit process. The test did not reach its assertions.

The isolated rerun passed the profile test but failed AdjustSetsUITests.testExerciseDetailShowsSetControls at line 86. After tapping the Focus exercise static text, Sets did not appear within three seconds. The retained app hierarchy still shows Plan and the Lat pulldown button, rather than the exercise detail sheet. The same set-controls test passed in the initial attempt.

Investigate app lifecycle cleanup and first-test exercise sheet readiness on a fresh CI simulator. Preserve failures and verify the complete 27-test suite without suppressing assertions or adding blind retries. These observations do not establish a shared root cause with the mobilewright failures tracked in #62.

Activity

  1. johnnyhuy commented on Nov 15, 2026

    @johnnyhuy
    ContributorAuthor

    The final isolated UI coverage run at unchanged commit c23c03b passed all 27 tests. No app or UI test files were changed between attempts. The two earlier failures remain valid reliability evidence, so this issue stays open. Passing job and result bundle: https://github.com/echohello-dev/betterfit/actions/runs/43672452053/job/132693777399 and https://github.com/echohello-dev/betterfit/actions/runs/43672452053/artifacts/14146492607

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions