Skip to content

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.

iOS UI tests: a set's done mark is a switch

Duarte Santosfe168af2c047
diff --git a/frontend/ios/App/AppUITests/OpenGymUITests.swift b/frontend/ios/App/AppUITests/OpenGymUITests.swift
index 5f5c40ba4..0d5cfd0d2 100644
--- a/frontend/ios/App/AppUITests/OpenGymUITests.swift
+++ b/frontend/ios/App/AppUITests/OpenGymUITests.swift
@@ -46,7 +46,7 @@ final class OpenGymUITests: XCTestCase {
tap(app.buttons["Choose a different workout"], "Choose a different workout")
tap(app.staticTexts["Full Body A"], "Full Body A")
shot("2-workout")
- tap(app.buttons["Set 1 done"], "Set 1 done")
+ tap(app.switches["Set 1 done"], "Set 1 done")
allowNotificationsIfAsked()
XCTAssertTrue(button(startingWith: "1:").waitForExistence(timeout: 10), "no rest countdown after a set")
shot("3-rest")