Definition at line 458 of file PlatformViewUITests.m.
◆ setUp
Definition at line 7 of file PlatformViewUITests.m.
464 {
465 [super setUp];
466 self.continueAfterFailure = NO;
467}
◆ testPlatformViewScrollingUnderWidget
- (void) testPlatformViewScrollingUnderWidget |
|
|
|
|
implementation |
Definition at line 7 of file PlatformViewUITests.m.
469 {
470 XCUIApplication*
app = [[XCUIApplication alloc] init];
471 app.launchArguments =
472 @[ @"--platform-view-scrolling-under-widget", @"--with-continuous-texture" ];
473 [app launch];
474
475 XCUIElement* platformView =
app.textViews.firstMatch;
476 BOOL exists = [platformView waitForExistenceWithTimeout:kSecondsToWaitForPlatformView];
477 if (!exists) {
478 XCTFail(@"It took longer than %@ second to find the platform view."
479 @"There might be issues with the platform view's construction,"
480 @"or with how the scenario is built.",
482 }
483
484
485 XCTWaiterResult waitResult = [XCTWaiter
486 waitForExpectations:@[ [[XCTestExpectation alloc] initWithDescription:@"Wait for 5 seconds"] ]
487 timeout:5];
488
489
490 XCTAssert(waitResult != XCTWaiterResultInterrupted);
491}
The documentation for this class was generated from the following file: