mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
25 lines
589 B
Objective-C
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
|