1// 2// ScenariosUITests.m 3// ScenariosUITests 4// 5// Created by Dan Field on 7/20/19. 6// Copyright © 2019 flutter. All rights reserved. 7// 8 9#import <XCTest/XCTest.h> 10 11@interface ScenariosUITests : XCTestCase 12 13@end 14 15@implementation ScenariosUITests 16 17- (void)setUp { 18 // Put setup code here. This method is called before the invocation of each test method in the 19 // class. 20 21 // In UI tests it is usually best to stop immediately when a failure occurs. 22 self.continueAfterFailure = NO; 23 24 // UI tests must launch the application that they test. Doing this in setup will make sure it 25 // happens for each test method. 26 [[[XCUIApplication alloc] init] launch]; 27 28 // In UI tests it’s important to set the initial state - such as interface orientation - required 29 // for your tests before they run. The setUp method is a good place to do this. 30} 31 32- (void)tearDown { 33 // Put teardown code here. This method is called after the invocation of each test method in the 34 // class. 35} 36 37- (void)testExample { 38 // Use recording to get started writing UI tests. 39 // Use XCTAssert and related functions to verify your tests produce the correct results. 40} 41 42@end 43