Fix ios module test typo (#94878)

This commit is contained in:
Chris Yang
2021-12-14 10:49:05 -08:00
committed by GitHub
parent 87f8873474
commit 02574b7e14

View File

@@ -42,7 +42,7 @@ static const CGFloat kStandardTimeOut = 60.0;
if (!newPageAppeared) {
// Sometimes, the element doesn't respond to the tap, it seems an XCUITest race condition where the tap happened
// too soon. Trying to tap the element again.
[self waitForAndTapElement:app.buttons[@"Full Screen (Warm))"]];
[self waitForAndTapElement:app.buttons[@"Full Screen (Warm)"]];
newPageAppeared = [app.staticTexts[@"Button tapped 0 times."] waitForExistenceWithTimeout:kStandardTimeOut];
}
XCTAssertTrue(newPageAppeared);