mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Fix UI tests for features currently disabled
This commit is contained in:
committed by
Stefan Ceriu
parent
3433e26e8c
commit
efd258ce67
@@ -64,14 +64,14 @@ class UserSessionsOverviewUITests: MockScreenTestCase {
|
||||
}
|
||||
|
||||
func verifyLinkDeviceButtonStatus(_ enabled: Bool) {
|
||||
if enabled {
|
||||
let linkDeviceButton = app.buttons["linkDeviceButton"]
|
||||
XCTAssertTrue(linkDeviceButton.exists)
|
||||
XCTAssertTrue(linkDeviceButton.isEnabled)
|
||||
} else {
|
||||
let linkDeviceButton = app.buttons["linkDeviceButton"]
|
||||
XCTAssertFalse(linkDeviceButton.exists)
|
||||
}
|
||||
// if enabled {
|
||||
// let linkDeviceButton = app.buttons["linkDeviceButton"]
|
||||
// XCTAssertTrue(linkDeviceButton.exists)
|
||||
// XCTAssertTrue(linkDeviceButton.isEnabled)
|
||||
// } else {
|
||||
// let linkDeviceButton = app.buttons["linkDeviceButton"]
|
||||
// XCTAssertFalse(linkDeviceButton.exists)
|
||||
// }
|
||||
}
|
||||
|
||||
func testWhenMoreThan5OtherSessionsThenViewAllButtonVisible() {
|
||||
|
||||
Reference in New Issue
Block a user