Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.
JavaScript apple-watchbodyweightdockerfitnessfitness-trackergymhealthiosmcpnodejspasskeysprogressive-web-applicationspwareactself-hostedself-hostingvitewebauthnweightliftingworkout-tracker
iOS UI tests: the keyboard check first, before a workout is running
Duarte Santosfc2102d0c08a
diff --git a/frontend/ios/App/AppUITests/OpenGymUITests.swift b/frontend/ios/App/AppUITests/OpenGymUITests.swiftindex 0355d5734..95b942fab 100644--- a/frontend/ios/App/AppUITests/OpenGymUITests.swift+++ b/frontend/ios/App/AppUITests/OpenGymUITests.swift@@ -36,6 +36,7 @@ final class OpenGymUITests: XCTestCase {* page is still starting and go nowhere.*/private func chooseLocal() {+ if app.buttons["Log"].waitForExistence(timeout: 20) { return } // chosen in an earlier testlet local = app.buttons["Use on this device"]XCTAssertTrue(local.waitForExistence(timeout: 60), "the onboarding choice did not show up")for _ in 0..<5 {@@ -51,7 +52,9 @@ final class OpenGymUITests: XCTestCase {if allow.waitForExistence(timeout: 6) { allow.tap() }}- func testRestEndsWithANotificationInTheBackground() {+ // XCTest runs a class's tests in name order: the keyboard check wants a plain home screen, and+ // this one leaves a workout running.+ func test2RestEndsWithANotificationInTheBackground() {app.launch()chooseLocal()shot("1-home")@@ -74,7 +77,7 @@ final class OpenGymUITests: XCTestCase {XCTAssertTrue(arrived, "the end of the rest never arrived as a notification")}- func testWeighInSheetStaysAboveTheKeyboard() {+ func test1WeighInSheetStaysAboveTheKeyboard() {app.launch()chooseLocal()tap(app.buttons["Log"], "Log (body weight)")