flutter/dev/integration_tests/flutter_gallery/ios/GalleryUITests/GalleryUITests.m

25 lines
589 B
Objective-C

// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <XCTest/XCTest.h>
@interface GalleryUITests : XCTestCase
@end
@implementation GalleryUITests
- (void)setUp {
self.continueAfterFailure = NO;
}
- (void)testLaunch {
XCUIApplication *app = [[XCUIApplication alloc] init];
[app launch];
// Basic smoke test that the app launched and any element was loaded.
XCTAssertTrue([app.otherElements.firstMatch waitForExistenceWithTimeout:60.0]);
}
@end