Fix typo in overlay platform view iOS test (flutter/engine#37262)

This commit is contained in:
Jenn Magder
2022-11-04 10:33:46 -07:00
committed by GitHub
parent 08ed7e3f21
commit 64bef739e9

View File

@@ -179,7 +179,7 @@ static const CGFloat kCompareAccuracy = 0.001;
XCTAssertEqualWithAccuracy(overlayView0.frame.size.height, app.frame.size.height,
kCompareAccuracy);
XCUIElement* overlayView1 = app.otherElements[@"platform_view[0].overlay_view[0]"];
XCUIElement* overlayView1 = app.otherElements[@"platform_view[0].overlay_view[1]"];
XCTAssertTrue(overlayView1.exists);
// Overlay should always be the same frame as the app.
XCTAssertEqualWithAccuracy(overlayView1.frame.origin.x, app.frame.origin.x, kCompareAccuracy);