// // OnboardingTests.swift // TuskerUITests // // Created by Shadowfacts on 12/21/19. // Copyright © 2019 Shadowfacts. All rights reserved. // import XCTest import Ambassador class OnboardingTests: TuskerUITests { override func setUp() { super.setUp() router.instanceRoutes() app.launch() } // can't test logging in because there's no way of interacting with the safari VC that's used in the OAuth flow func testCustomInstanceAppears() { let searchField = app.searchFields.element searchField.tap() searchField.typeText("http://localhost:8080") XCTAssertTrue(app.staticTexts["localhost"].exists) XCTAssertTrue(app.staticTexts["An instance description"].exists) } }