@@ -25,7 +25,7 @@ class QueryTestsUITests: XCTestCase {
2525 app. buttons [ XCUIIdentifierFullScreenWindow] . tap ( )
2626 }
2727
28- app. tabs [ " Tab 1 " ] . tap ( )
28+ app. radioButtons [ " Tab 1 " ] . tap ( )
2929
3030 let text = app. staticTexts [ " default.value " ]
3131 let changeRequestButton = app. buttons [ " default.changeRequestButton " ]
@@ -74,7 +74,7 @@ class QueryTestsUITests: XCTestCase {
7474 app. buttons [ XCUIIdentifierFullScreenWindow] . tap ( )
7575 }
7676
77- app. tabs [ " Tab 1 " ] . tap ( )
77+ app. radioButtons [ " Tab 1 " ] . tap ( )
7878
7979 let text = app. staticTexts [ " initial.value " ]
8080 let changeRequestButton = app. buttons [ " initial.changeRequestButton " ]
@@ -123,7 +123,7 @@ class QueryTestsUITests: XCTestCase {
123123 app. buttons [ XCUIIdentifierFullScreenWindow] . tap ( )
124124 }
125125
126- app. tabs [ " Tab 1 " ] . tap ( )
126+ app. radioButtons [ " Tab 1 " ] . tap ( )
127127
128128 let text = app. staticTexts [ " constant.value " ]
129129 let changeRequestButton = app. buttons [ " constant.changeRequestButton " ]
@@ -172,7 +172,7 @@ class QueryTestsUITests: XCTestCase {
172172 app. buttons [ XCUIIdentifierFullScreenWindow] . tap ( )
173173 }
174174
175- app. tabs [ " Tab 1 " ] . tap ( )
175+ app. radioButtons [ " Tab 1 " ] . tap ( )
176176
177177 let text = app. staticTexts [ " binding.value " ]
178178 let changeRequestButton = app. buttons [ " binding.changeRequestButton " ]
@@ -222,20 +222,20 @@ class QueryTestsUITests: XCTestCase {
222222 let notificationButton = app. buttons [ " queryObservation.always.notificationButton " ]
223223 let sharedNotificationButton = app. buttons [ " shared.notificationButton " ]
224224
225- app. tabs [ " queryObservation.always " ] . tap ( )
226- app. tabs [ " Tab 1 " ] . tap ( )
225+ app. radioButtons [ " queryObservation.always " ] . tap ( )
226+ app. radioButtons [ " Tab 1 " ] . tap ( )
227227 sharedNotificationButton. tap ( )
228228
229- app. tabs [ " queryObservation.always " ] . tap ( )
229+ app. radioButtons [ " queryObservation.always " ] . tap ( )
230230 XCTAssertEqual ( text. value as? String , " 7 " )
231231
232232 notificationButton. tap ( )
233233 XCTAssertEqual ( text. value as? String , " 8 " )
234234
235- app. tabs [ " Tab 1 " ] . tap ( )
235+ app. radioButtons [ " Tab 1 " ] . tap ( )
236236 sharedNotificationButton. tap ( )
237237
238- app. tabs [ " queryObservation.always " ] . tap ( )
238+ app. radioButtons [ " queryObservation.always " ] . tap ( )
239239 XCTAssertEqual ( text. value as? String , " 9 " )
240240 }
241241
@@ -253,20 +253,20 @@ class QueryTestsUITests: XCTestCase {
253253 let notificationButton = app. buttons [ " queryObservation.onRender.notificationButton " ]
254254 let sharedNotificationButton = app. buttons [ " shared.notificationButton " ]
255255
256- app. tabs [ " queryObservation.onRender " ] . tap ( )
257- app. tabs [ " Tab 1 " ] . tap ( )
256+ app. radioButtons [ " queryObservation.onRender " ] . tap ( )
257+ app. radioButtons [ " Tab 1 " ] . tap ( )
258258 sharedNotificationButton. tap ( )
259259
260- app. tabs [ " queryObservation.onRender " ] . tap ( )
260+ app. radioButtons [ " queryObservation.onRender " ] . tap ( )
261261 XCTAssertEqual ( text. value as? String , " 6 " )
262262
263263 notificationButton. tap ( )
264264 XCTAssertEqual ( text. value as? String , " 7 " )
265265
266- app. tabs [ " Tab 1 " ] . tap ( )
266+ app. radioButtons [ " Tab 1 " ] . tap ( )
267267 sharedNotificationButton. tap ( )
268268
269- app. tabs [ " queryObservation.onRender " ] . tap ( )
269+ app. radioButtons [ " queryObservation.onRender " ] . tap ( )
270270 XCTAssertEqual ( text. value as? String , " 6 " )
271271 }
272272
@@ -283,20 +283,20 @@ class QueryTestsUITests: XCTestCase {
283283 let notificationButton = app. buttons [ " queryObservation.onAppear.notificationButton " ]
284284 let sharedNotificationButton = app. buttons [ " shared.notificationButton " ]
285285
286- app. tabs [ " queryObservation.onAppear " ] . tap ( )
287- app. tabs [ " Tab 1 " ] . tap ( )
286+ app. radioButtons [ " queryObservation.onAppear " ] . tap ( )
287+ app. radioButtons [ " Tab 1 " ] . tap ( )
288288 sharedNotificationButton. tap ( )
289289
290- app. tabs [ " queryObservation.onAppear " ] . tap ( )
290+ app. radioButtons [ " queryObservation.onAppear " ] . tap ( )
291291 XCTAssertEqual ( text. value as? String , " 6 " )
292292
293293 notificationButton. tap ( )
294294 XCTAssertEqual ( text. value as? String , " 7 " )
295295
296- app. tabs [ " Tab 1 " ] . tap ( )
296+ app. radioButtons [ " Tab 1 " ] . tap ( )
297297 sharedNotificationButton. tap ( )
298298
299- app. tabs [ " queryObservation.onAppear " ] . tap ( )
299+ app. radioButtons [ " queryObservation.onAppear " ] . tap ( )
300300 XCTAssertEqual ( text. value as? String , " 6 " )
301301 }
302302}
0 commit comments