Skip to content

Commit

Permalink
Attempt fixing CI test failures again
Browse files Browse the repository at this point in the history
  • Loading branch information
Arclite committed Jul 6, 2024
1 parent 80fe31f commit 6ffac03
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ import XCTest

class SettingsContentTests: XCTestCase {
func testSettingsContentContainsAppropriateSections() throws {
let content = try SettingsContent(state: .loading).inspect().find(SettingsContent.self).find(ViewType.TupleView.self)
dump(content)
XCTAssertEqual(content.count, 4)
let content = try SettingsContent(state: .loading).inspect().find(SettingsContent.self)

try XCTAssertNoThrow(content[0].find(SettingsContentPurchasedFeaturesSection.self), "Did not find purchased features section")
try XCTAssertNoThrow(content[1].find(SettingsContentInformationSection.self), "Did not find information section")
try XCTAssertNoThrow(content[2].find(SettingsContentContactSection.self), "Did not find contact section")
try XCTAssertNoThrow(content[3].find(SettingsContentOtherAppsSection.self), "Did not find other apps section")
try XCTAssertNoThrow(content.view(SettingsContentPurchasedFeaturesSection.self, 0), "Did not find purchased features section")
try XCTAssertNoThrow(content.view(SettingsContentInformationSection.self, 1), "Did not find information section")
try XCTAssertNoThrow(content.view(SettingsContentContactSection.self, 2), "Did not find contact section")
try XCTAssertNoThrow(content.view(SettingsContentOtherAppsSection.self, 3), "Did not find other apps section")
}
}

0 comments on commit 6ffac03

Please sign in to comment.