mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 08:32:53 +02:00
Configured and applied SwiftFormat
This commit is contained in:
committed by
Stefan Ceriu
parent
ff2e6ddfa7
commit
43c28d23b7
+2
-4
@@ -14,16 +14,15 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
import XCTest
|
||||
import RiotSwiftUI
|
||||
import XCTest
|
||||
|
||||
class SpaceSelectorUITests: MockScreenTestCase {
|
||||
|
||||
func testInitialDisplay() {
|
||||
app.goToScreenWithIdentifier(MockSpaceSelectorScreenState.initialList.title)
|
||||
|
||||
let disclosureButtons = app.buttons.matching(identifier: "disclosureButton").allElementsBoundByIndex
|
||||
XCTAssertEqual(disclosureButtons.count, MockSpaceSelectorService.defaultSpaceList.filter { $0.hasSubItems }.count)
|
||||
XCTAssertEqual(disclosureButtons.count, MockSpaceSelectorService.defaultSpaceList.filter(\.hasSubItems).count)
|
||||
|
||||
let notificationBadges = app.staticTexts.matching(identifier: "notificationBadge").allElementsBoundByIndex
|
||||
let itemsWithNotifications = MockSpaceSelectorService.defaultSpaceList.filter { $0.notificationCount > 0 || !$0.isJoined }
|
||||
@@ -65,5 +64,4 @@ class SpaceSelectorUITests: MockScreenTestCase {
|
||||
XCTAssertEqual(app.staticTexts["emptyListPlaceholderMessage"].exists, exists)
|
||||
XCTAssertEqual(app.buttons["createSpaceButton"].exists, exists)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user