File tree Expand file tree Collapse file tree 5 files changed +50
-50
lines changed
CS342ExampleApplication/Resources
CS342ExampleApplication.xcodeproj
project.xcworkspace/xcshareddata/swiftpm
CS342ExampleApplicationUITests Expand file tree Collapse file tree 5 files changed +50
-50
lines changed Original file line number Diff line number Diff line change 1145
1145
repositoryURL = "https://github.com/StanfordSpezi/SpeziFirebase.git";
1146
1146
requirement = {
1147
1147
kind = upToNextMajorVersion;
1148
- minimumVersion = 2.0.0 ;
1148
+ minimumVersion = 2.0.1 ;
1149
1149
};
1150
1150
};
1151
1151
2FE5DC8229EDD934004B9AB4 /* XCRemoteSwiftPackageReference "SpeziQuestionnaire" */ = {
1161
1161
repositoryURL = "https://github.com/StanfordSpezi/SpeziStorage.git";
1162
1162
requirement = {
1163
1163
kind = upToNextMajorVersion;
1164
- minimumVersion = 1.2.1 ;
1164
+ minimumVersion = 1.2.3 ;
1165
1165
};
1166
1166
};
1167
1167
2FE5DC8D29EDD980004B9AB4 /* XCRemoteSwiftPackageReference "SpeziViews" */ = {
1168
1168
isa = XCRemoteSwiftPackageReference;
1169
1169
repositoryURL = "https://github.com/StanfordSpezi/SpeziViews.git";
1170
1170
requirement = {
1171
1171
kind = upToNextMajorVersion;
1172
- minimumVersion = 1.8 .0;
1172
+ minimumVersion = 1.9 .0;
1173
1173
};
1174
1174
};
1175
1175
2FE5DC9029EDD9C3004B9AB4 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = {
1176
1176
isa = XCRemoteSwiftPackageReference;
1177
1177
repositoryURL = "https://github.com/firebase/firebase-ios-sdk.git";
1178
1178
requirement = {
1179
1179
kind = upToNextMajorVersion;
1180
- minimumVersion = 11.0 .0;
1180
+ minimumVersion = 11.8 .0;
1181
1181
};
1182
1182
};
1183
1183
2FE5DC9729EDD9D9004B9AB4 /* XCRemoteSwiftPackageReference "XCTestExtensions" */ = {
Original file line number Diff line number Diff line change 40
40
}
41
41
}
42
42
}
43
+ },
44
+ "Cats are great!" : {
45
+
43
46
},
44
47
"Close" : {
45
48
"localizations" : {
351
354
}
352
355
}
353
356
},
354
- "The Spezi Framework" : {
355
- "localizations" : {
356
- "en" : {
357
- "stringUnit" : {
358
- "state" : "translated",
359
- "value" : "The Spezi Framework"
360
- }
361
- }
362
- }
363
- },
364
357
"This type of event is currently unsupported. Please contact the developer of this app." : {
365
358
"localizations" : {
366
359
"en" : {
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ extension XCUIApplication {
100
100
buttons [ " Logout " ] . tap ( )
101
101
}
102
102
103
- XCTAssertTrue ( buttons [ " Signup " ] . exists )
103
+ XCTAssertTrue ( buttons [ " Signup " ] . waitForExistence ( timeout : 2 ) )
104
104
buttons [ " Signup " ] . tap ( )
105
105
106
106
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class SchedulerTests: XCTestCase {
20
20
app. deleteAndLaunch ( withSpringboardAppName: " CS342ExampleApplication " )
21
21
}
22
22
23
-
23
+
24
24
@MainActor
25
25
func testScheduler( ) throws {
26
26
let app = XCUIApplication ( )
@@ -61,6 +61,13 @@ class SchedulerTests: XCTestCase {
61
61
XCTAssert ( app. staticTexts [ " E-mail " ] . exists)
62
62
app. staticTexts [ " E-mail " ] . tap ( )
63
63
64
+ XCTAssert ( nextButton. isEnabled)
65
+ nextButton. tap ( )
66
+
67
+ // staticTexts["What is your e-mail?"] is not exposed in the accessibility hierarchy; it seems like a bug in ResearchKit.
68
+ XCTAssert ( app. textFields [ " Tap to answer " ] . exists)
69
+ try app
. textFields [ " Tap to answer " ] . enter ( value
: " [email protected] " )
70
+
64
71
XCTAssert ( nextButton. isEnabled)
65
72
nextButton. tap ( )
66
73
You can’t perform that action at this time.
0 commit comments