Skip to content

Commit

Permalink
Fixes UI Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrocaselani committed May 19, 2019
1 parent 263d9b6 commit 0ac1125
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private func createViewState(entities: [WatchedShowEntity],
newEntities = newEntities.reversed()
}

guard !newEntities.isEmpty else { return .filterEmpty }
guard !newEntities.isEmpty else { return .filterEmpty }

let menu = ShowsProgressMenuOptions(sort: ShowProgressSort.allValues(),
filter: ShowProgressFilter.allValues(),
Expand Down
3 changes: 0 additions & 3 deletions CouchTrackerUITests/AppStartupEnglishUSTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import KIF

final class AppStartupEnglishUSTests: KIFTestCase {
func testChangeTabs_enUS() {
tester().waitForView(withAccessibilityLabel: "Ok")
tester().tapView(withAccessibilityLabel: "Ok")

tester().tapView(withAccessibilityLabel: "Shows")
tester().tapView(withAccessibilityLabel: "Settings")
tester().tapView(withAccessibilityLabel: "Movies")
Expand Down
1 change: 1 addition & 0 deletions Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ enum CouchTrackerAppTestable {
headers: Headers(public: "CouchTrackerAppTestable/Headers/Public/CouchTrackerAppTestable.h"),
dependencies: [
.target(name: CouchTrackerCoreiOS.name),
.target(name: CouchTrackerApp.name),
],
settings: settings())
}
Expand Down

0 comments on commit 0ac1125

Please sign in to comment.