Skip to content

Commit 3f95b06

Browse files
muukiikzaher
authored andcommitted
Fix UITests
1 parent d27ed5e commit 3f95b06

File tree

3 files changed

+54
-32
lines changed

3 files changed

+54
-32
lines changed

ExampleUITests/ExampleUITests.swift

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
//
2+
// ExampleUITests.swift
3+
// ExampleUITests
4+
//
5+
// Created by Krunoslav Zaher on 1/1/16.
6+
// Copyright © 2016 kzaher. All rights reserved.
7+
//
8+
import XCTest
9+
import CoreLocation
10+
11+
class ExampleUITests: XCTestCase {
12+
13+
override func setUp() {
14+
super.setUp()
15+
16+
continueAfterFailure = false
17+
XCUIApplication().launch()
18+
}
19+
20+
override func tearDown() {
21+
super.tearDown()
22+
}
23+
24+
func testExample() {
25+
XCUIApplication().tables.element(boundBy: 0).cells.staticTexts["Randomize Example"].tap()
26+
27+
let time: TimeInterval = 120.0
28+
29+
RunLoop.current.run(until: Date().addingTimeInterval(time))
30+
}
31+
32+
}

ExampleUITests/Info.plist

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>BNDL</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleVersion</key>
20+
<string>1</string>
21+
</dict>
22+
</plist>

Podfile.lock

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)