Definition at line 495 of file PlatformViewUITests.m.
◆ setUp
Definition at line 7 of file PlatformViewUITests.m.
501 {
502 [super setUp];
503 self.continueAfterFailure = NO;
504}
◆ testPlatformViewsWithClipsScrolling
- (void) testPlatformViewsWithClipsScrolling |
|
|
|
|
implementation |
Definition at line 7 of file PlatformViewUITests.m.
506 {
507 XCUIApplication*
app = [[XCUIApplication alloc] init];
508 app.launchArguments =
509 @[ @"--platform-views-with-clips-scrolling", @"platform_views_with_clips_scrolling" ];
510 [app launch];
511
512 XCUIElement* platformView =
app.textViews.firstMatch;
513 BOOL exists = [platformView waitForExistenceWithTimeout:kSecondsToWaitForPlatformView];
514 if (!exists) {
515 XCTFail(@"It took longer than %@ second to find the platform view."
516 @"There might be issues with the platform view's construction,"
517 @"or with how the scenario is built.",
519 }
520
521
522 XCTWaiterResult waitResult = [XCTWaiter
523 waitForExpectations:@[ [[XCTestExpectation alloc] initWithDescription:@"Wait for 5 seconds"] ]
524 timeout:5];
525
526
527 XCTAssert(waitResult != XCTWaiterResultInterrupted);
528}
The documentation for this class was generated from the following file: