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

Fix typo in overlay platform view iOS test #37262

Merged
merged 1 commit into from
Nov 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ - (void)testOneOverlayAndTwoIntersectingOverlays {
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]"];
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was previously the same as line 173:

  XCUIElement* overlayView0 = app.otherElements[@"platform_view[0].overlay_view[0]"];

XCTAssertTrue(overlayView1.exists);
// Overlay should always be the same frame as the app.
XCTAssertEqualWithAccuracy(overlayView1.frame.origin.x, app.frame.origin.x, kCompareAccuracy);
Expand Down