@@ -25,7 +25,7 @@ class QueryTestsUITests: XCTestCase {
25
25
app. buttons [ XCUIIdentifierFullScreenWindow] . tap ( )
26
26
}
27
27
28
- app. tabs [ " Tab 1 " ] . tap ( )
28
+ app. radioButtons [ " Tab 1 " ] . tap ( )
29
29
30
30
let text = app. staticTexts [ " default.value " ]
31
31
let changeRequestButton = app. buttons [ " default.changeRequestButton " ]
@@ -74,7 +74,7 @@ class QueryTestsUITests: XCTestCase {
74
74
app. buttons [ XCUIIdentifierFullScreenWindow] . tap ( )
75
75
}
76
76
77
- app. tabs [ " Tab 1 " ] . tap ( )
77
+ app. radioButtons [ " Tab 1 " ] . tap ( )
78
78
79
79
let text = app. staticTexts [ " initial.value " ]
80
80
let changeRequestButton = app. buttons [ " initial.changeRequestButton " ]
@@ -123,7 +123,7 @@ class QueryTestsUITests: XCTestCase {
123
123
app. buttons [ XCUIIdentifierFullScreenWindow] . tap ( )
124
124
}
125
125
126
- app. tabs [ " Tab 1 " ] . tap ( )
126
+ app. radioButtons [ " Tab 1 " ] . tap ( )
127
127
128
128
let text = app. staticTexts [ " constant.value " ]
129
129
let changeRequestButton = app. buttons [ " constant.changeRequestButton " ]
@@ -172,7 +172,7 @@ class QueryTestsUITests: XCTestCase {
172
172
app. buttons [ XCUIIdentifierFullScreenWindow] . tap ( )
173
173
}
174
174
175
- app. tabs [ " Tab 1 " ] . tap ( )
175
+ app. radioButtons [ " Tab 1 " ] . tap ( )
176
176
177
177
let text = app. staticTexts [ " binding.value " ]
178
178
let changeRequestButton = app. buttons [ " binding.changeRequestButton " ]
@@ -222,20 +222,20 @@ class QueryTestsUITests: XCTestCase {
222
222
let notificationButton = app. buttons [ " queryObservation.always.notificationButton " ]
223
223
let sharedNotificationButton = app. buttons [ " shared.notificationButton " ]
224
224
225
- app. tabs [ " queryObservation.always " ] . tap ( )
226
- app. tabs [ " Tab 1 " ] . tap ( )
225
+ app. radioButtons [ " queryObservation.always " ] . tap ( )
226
+ app. radioButtons [ " Tab 1 " ] . tap ( )
227
227
sharedNotificationButton. tap ( )
228
228
229
- app. tabs [ " queryObservation.always " ] . tap ( )
229
+ app. radioButtons [ " queryObservation.always " ] . tap ( )
230
230
XCTAssertEqual ( text. value as? String , " 7 " )
231
231
232
232
notificationButton. tap ( )
233
233
XCTAssertEqual ( text. value as? String , " 8 " )
234
234
235
- app. tabs [ " Tab 1 " ] . tap ( )
235
+ app. radioButtons [ " Tab 1 " ] . tap ( )
236
236
sharedNotificationButton. tap ( )
237
237
238
- app. tabs [ " queryObservation.always " ] . tap ( )
238
+ app. radioButtons [ " queryObservation.always " ] . tap ( )
239
239
XCTAssertEqual ( text. value as? String , " 9 " )
240
240
}
241
241
@@ -253,20 +253,20 @@ class QueryTestsUITests: XCTestCase {
253
253
let notificationButton = app. buttons [ " queryObservation.onRender.notificationButton " ]
254
254
let sharedNotificationButton = app. buttons [ " shared.notificationButton " ]
255
255
256
- app. tabs [ " queryObservation.onRender " ] . tap ( )
257
- app. tabs [ " Tab 1 " ] . tap ( )
256
+ app. radioButtons [ " queryObservation.onRender " ] . tap ( )
257
+ app. radioButtons [ " Tab 1 " ] . tap ( )
258
258
sharedNotificationButton. tap ( )
259
259
260
- app. tabs [ " queryObservation.onRender " ] . tap ( )
260
+ app. radioButtons [ " queryObservation.onRender " ] . tap ( )
261
261
XCTAssertEqual ( text. value as? String , " 6 " )
262
262
263
263
notificationButton. tap ( )
264
264
XCTAssertEqual ( text. value as? String , " 7 " )
265
265
266
- app. tabs [ " Tab 1 " ] . tap ( )
266
+ app. radioButtons [ " Tab 1 " ] . tap ( )
267
267
sharedNotificationButton. tap ( )
268
268
269
- app. tabs [ " queryObservation.onRender " ] . tap ( )
269
+ app. radioButtons [ " queryObservation.onRender " ] . tap ( )
270
270
XCTAssertEqual ( text. value as? String , " 6 " )
271
271
}
272
272
@@ -283,20 +283,20 @@ class QueryTestsUITests: XCTestCase {
283
283
let notificationButton = app. buttons [ " queryObservation.onAppear.notificationButton " ]
284
284
let sharedNotificationButton = app. buttons [ " shared.notificationButton " ]
285
285
286
- app. tabs [ " queryObservation.onAppear " ] . tap ( )
287
- app. tabs [ " Tab 1 " ] . tap ( )
286
+ app. radioButtons [ " queryObservation.onAppear " ] . tap ( )
287
+ app. radioButtons [ " Tab 1 " ] . tap ( )
288
288
sharedNotificationButton. tap ( )
289
289
290
- app. tabs [ " queryObservation.onAppear " ] . tap ( )
290
+ app. radioButtons [ " queryObservation.onAppear " ] . tap ( )
291
291
XCTAssertEqual ( text. value as? String , " 6 " )
292
292
293
293
notificationButton. tap ( )
294
294
XCTAssertEqual ( text. value as? String , " 7 " )
295
295
296
- app. tabs [ " Tab 1 " ] . tap ( )
296
+ app. radioButtons [ " Tab 1 " ] . tap ( )
297
297
sharedNotificationButton. tap ( )
298
298
299
- app. tabs [ " queryObservation.onAppear " ] . tap ( )
299
+ app. radioButtons [ " queryObservation.onAppear " ] . tap ( )
300
300
XCTAssertEqual ( text. value as? String , " 6 " )
301
301
}
302
302
}
0 commit comments