|
|
@ -5,7 +5,9 @@ import XCTest |
|
|
|
class OnboardingSearchTests: XCTestCase { |
|
|
|
class OnboardingSearchTests: XCTestCase { |
|
|
|
var app: XCUIApplication! |
|
|
|
var app: XCUIApplication! |
|
|
|
|
|
|
|
|
|
|
|
override func setUpWithError() throws { |
|
|
|
override func setUp() { |
|
|
|
|
|
|
|
super.setUp() |
|
|
|
|
|
|
|
|
|
|
|
continueAfterFailure = false |
|
|
|
continueAfterFailure = false |
|
|
|
app = XCUIApplication() |
|
|
|
app = XCUIApplication() |
|
|
|
app.launchArguments.append(CLOnboaringTestsLaunchArgument) |
|
|
|
app.launchArguments.append(CLOnboaringTestsLaunchArgument) |
|
|
@ -17,10 +19,6 @@ class OnboardingSearchTests: XCTestCase { |
|
|
|
moveForward() |
|
|
|
moveForward() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override func tearDownWithError() throws { |
|
|
|
|
|
|
|
// Put teardown code here. This method is called after the invocation of each test method in the class. |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func testRegularSearch() throws { |
|
|
|
func testRegularSearch() throws { |
|
|
|
let searchField = app.searchFields["MainSearchField"] |
|
|
|
let searchField = app.searchFields["MainSearchField"] |
|
|
|
searchField.reset(text: "Paris") |
|
|
|
searchField.reset(text: "Paris") |
|
|
|