Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 5117e85

Browse files
authored
Fix typo in overlay platform view iOS test (#37262)
1 parent e947833 commit 5117e85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/scenario_app/ios/Scenarios/ScenariosUITests/UnobstructedPlatformViewTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ - (void)testOneOverlayAndTwoIntersectingOverlays {
179179
XCTAssertEqualWithAccuracy(overlayView0.frame.size.height, app.frame.size.height,
180180
kCompareAccuracy);
181181

182-
XCUIElement* overlayView1 = app.otherElements[@"platform_view[0].overlay_view[0]"];
182+
XCUIElement* overlayView1 = app.otherElements[@"platform_view[0].overlay_view[1]"];
183183
XCTAssertTrue(overlayView1.exists);
184184
// Overlay should always be the same frame as the app.
185185
XCTAssertEqualWithAccuracy(overlayView1.frame.origin.x, app.frame.origin.x, kCompareAccuracy);

0 commit comments

Comments
 (0)